1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

3053 Commits

Author SHA1 Message Date
Ludwig Ortmann
f3a587f43a Merge pull request #1196 from LudwigOrtmann/native_missing_include
native: add missing include
2014-05-16 17:56:17 +02:00
Ludwig Ortmann
cbf39bf012 native: add missing include
crash.c was missing native_internal.h
2014-05-16 17:24:45 +02:00
Ludwig Ortmann
9d4a92003c core/hwtimer: disable interrupts in hwtimer_remove
Before only the hardware timer's own interrupt was being disabled.
This led to a race condition in the following scenario:

```
Thread1:
    hwtimer_remove()
    hwtimer_arch_disable_interrupt();

// INTERRUPT -> Thread2 (which has a higher priority than Thread1) gets scheduled

Thread2:
    ...
    hwtimer_remove()
    hwtimer_arch_disable_interrupt(); // hwtimer interrupt is already disabled
    ...
    hwtimer_arch_enable_interrupt();
    ...
   // yield | terminate -> Thread1 gets scheduled again

Thread1:
    ... // these instructions are being run with the hwtimer interrupt enabled
    hwtimer_arch_enable_interrupt(); // hwtimer interrupt is already enabled
```

Fixes #924
2014-05-16 15:48:48 +02:00
Kévin Roussel
988de6b2cd Merge pull request #893 from rousselk/z1-port
Zolertia Z1 port for RIOT OS
2014-05-16 12:08:56 +02:00
Kévin Roussel
2a3033b3ca boards/z1: initial import 2014-05-16 11:02:06 +02:00
René Kijewski
28ff8cebae Merge pull request #1085 from Kijewski/compile_test-process-indicator
Add process indicator to compile_test.py
2014-05-16 00:49:21 +02:00
Oleg Hahm
5d7f7dd686 Merge pull request #1079 from BytesGalore/add_NORETURNs
core: and cpu: Added NORETURN to functions that should not return
2014-05-16 00:33:20 +02:00
René Kijewski
6587fe2b76 Merge pull request #1183 from Kijewski/issue-1104
make: print error if make was executed in the root
2014-05-15 20:08:07 +02:00
René Kijewski
e189064171 make: print error if make was executed in the root
Fixes #1104, alternative to #1178.
2014-05-15 20:07:32 +02:00
René Kijewski
7acc6500c1 Merge pull request #1094 from BytesGalore/fix_print_format_warnings_test_vtimer
test:test_vtimer fixed initializer and Wformat warnings
2014-05-15 19:57:59 +02:00
Martin
4c2aaa6321 fixed initializer and Wformat warnings 2014-05-15 19:30:02 +02:00
Ludwig Ortmann
9b47af0b54 Merge pull request #1184 from LudwigOrtmann/native_license_unification
Native license unification
2014-05-15 18:36:15 +02:00
René Kijewski
4b3083e386 Merge pull request #1143 from jan-schreib/static-code-analyser-cleanup
sys/ping/ping.c: malloc size of type, not size of pointer
2014-05-15 18:20:58 +02:00
Ludwig Ortmann
98bbb80571 documentation: append my email to my name everywhere 2014-05-15 18:07:17 +02:00
Ludwig Ortmann
3a3c04e66e native/tramp.S: add missing license header 2014-05-15 18:07:17 +02:00
Ludwig Ortmann
2c5c177f75 native: unify license headers 2014-05-15 18:07:17 +02:00
Jan S
836b8b9d2d sys/ping/ping.c: malloc size of type, not size of pointer 2014-05-15 17:43:25 +02:00
Jan S
ba907471f3 fixed printf specifiers 2014-05-15 17:42:57 +02:00
René Kijewski
6b4d2de74e Merge pull request #961 from authmillenon/core-unittests
unittests: Unittests for core module data strutures
2014-05-15 15:57:56 +02:00
René Kijewski
0b9c0fb475 Merge pull request #1154 from Kijewski/issue-1150
msp430: fix missing members in `struct tm`
2014-05-15 14:59:24 +02:00
René Kijewski
a68f4f2d75 Merge pull request #1177 from LudwigOrtmann/issue-1118
native: initialize maybe uninitialized variable
2014-05-15 14:56:37 +02:00
Ludwig Ortmann
3fb35835a1 Merge pull request #1041 from LudwigOrtmann/issue_951
Fix doxygen comments for hwtimer.h, queue.h and io.h
2014-05-15 13:51:34 +02:00
Ludwig Ortmann
a0e9f3680b core/doc: complete io.h 2014-05-15 13:48:56 +02:00
Ludwig Ortmann
c42a56181b core/doc: complete queue.h 2014-05-15 13:48:56 +02:00
Ludwig Ortmann
93647306d7 core/doc: complete hwtimer.h and hwtimer_arch.h 2014-05-15 13:48:55 +02:00
Kévin Roussel
30f8f606df Asks Git to ignore IDE-related (TI CCS) files 2014-05-15 12:41:39 +02:00
Thomas Eichinger
6bec1bf643 Merge pull request #1179 from LudwigOrtmann/native_minifix
Native minifix
2014-05-15 12:22:57 +02:00
Thomas Eichinger
293b5934f3 Merge pull request #1108 from haukepetersen/board_udoo
board: Initial import of the UDOO board
2014-05-15 11:59:56 +02:00
Hauke Petersen
cbd4f91656 examples/tests: blacklisted udoo board
blacklisted for:
- ccn-lite-client
- ccn-lite-relay
- rpl_udp
- test_net_if
- test_pnet
2014-05-15 11:53:14 +02:00
Hauke Petersen
ea18816d99 Merge pull request #958 from haukepetersen/doxygen_fix_core_1
core: improved doxygen documentation
2014-05-15 11:53:06 +02:00
Hauke Petersen
1c6b021d11 board: Initial import of the UDOO board
- fixed comment style and bracketing
- disabled newlib nano, added mac support
- fixed OSX compatibility in Makefile.include
2014-05-15 11:52:54 +02:00
Martine Lenders
363c2928ba Merge pull request #1064 from mehlis/CONTRIBUTING
github: added CONTRIBUTING.md
2014-05-15 11:47:45 +02:00
Christian Mehlis
c5912d8182 README.md: make link a markdown link 2014-05-15 11:38:35 +02:00
Christian Mehlis
8adf38137d github: added CONTRIBUTING.md 2014-05-15 11:38:35 +02:00
Ludwig Ortmann
b43fa2327e native/tramp.S: use ret instead of manual return 2014-05-15 11:38:24 +02:00
Ludwig Ortmann
e0a1217f20 native: refactor one debug/errx use in irq_cpu.c 2014-05-15 11:37:18 +02:00
René Kijewski
beb91163ab unittests: Move tests-core into subdirectoy 2014-05-15 11:07:11 +02:00
Martin Lenders
1b042e75c4 Implement core unittests 2014-05-15 11:07:11 +02:00
Hauke Petersen
7df411e7b7 core: improved doxygen documentation
improved files complient to issue #950
- thread.h
- flags.h
- debug.h
- crash.h
2014-05-15 10:52:34 +02:00
Thomas Eichinger
b06eaeeefd Merge pull request #1176 from thomaseichinger/fix_1160
boards: fix license headers to LGPL
2014-05-15 09:05:26 +02:00
Thomas Eichinger
c6bf3f1ab1 boards: fix license headers to LGPL
harmonises license headers in msb-430, msba2-common,
msba2 and wsn430-common

fixes #1160
2014-05-15 09:04:09 +02:00
Ludwig Ortmann
d7b3d21bfe native: initialize maybe uninitialized variable
fixes #1118
2014-05-15 08:54:01 +02:00
Ludwig Ortmann
ec9740142b Merge pull request #1174 from Kijewski/remove-Makefile.unsupported
make: Remove `Makefile.unsupported`
2014-05-15 08:11:44 +02:00
Thomas Eichinger
16638d1760 Merge pull request #1173 from thomaseichinger/fix_rpl_udp_osx
native: net: OSX: Fix rpl_udp example
2014-05-15 08:05:07 +02:00
Martine Lenders
47373a9e4a Merge pull request #1098 from authmillenon/make-addon
make: Make make more flexible
2014-05-15 01:19:11 +02:00
Thomas Eichinger
b3947785f0 Merge pull request #1137 from authmillenon/no_c_doc
doc: Exclude *.c files from make doc
2014-05-14 23:57:33 +02:00
René Kijewski
8950ab49a5 make: Remove Makefile.unsupported
This mechanism was replaced by #535. It was only used in one project.
2014-05-14 22:58:25 +02:00
René Kijewski
55b12034a9 msp430: fix missing members in struct tm
Closes #1150.
2014-05-14 19:57:41 +02:00
Thomas Eichinger
7a031e5669 net: handle macro redefinitions for OS X
undefine macros and reorder header includes to get rid of system
defined macros on OS X

fixes #1165
2014-05-14 19:43:58 +02:00
Thomas Eichinger
46acc2f5d5 shell: renaming isnumber to is_number in sc_net_if.c
fix name collision on OS X by renaming
2014-05-14 19:43:58 +02:00