René Kijewski
1b89f334e3
msp430: provide oneway-malloc implicitly
...
For MSP430 boards oneway-malloc is already used *if* `malloc.h` was
included. The problem is that `malloc.h` is not a standard header, even
though it is common. `stdlib.h` in the right place to look for
`malloc()` and friends.
This change removes this discrepancy. `malloc()` is just named like
that, without the leading underscore. The symbols now are weak, which
means that they won't override library functions if MSP's standard
library will provide these functions at some point. (Unlikely, since
using `malloc()` on tiny systems is less then optimal ...)
Closes #1061 and #863 .
2014-05-22 15:40:25 +02:00
Oleg Hahm
f54b363b6c
Merge pull request #1015 from OlegHahm/sixlowpan_doxygen_fix
...
Some doxygen fixes
2014-05-22 13:21:50 +02:00
Oleg Hahm
6dbeacd2ce
documentation: fixed sixlowpan doxygen filename
2014-05-22 13:01:44 +02:00
Oleg Hahm
f8168c86d3
documentation: fixed organization of 6LoWPAN doxygen
2014-05-22 13:01:37 +02:00
Oleg Hahm
9efc0d2255
documentation: added missing doxygen header to transceiver interface
2014-05-22 13:01:36 +02:00
Oleg Hahm
ce73fa56e2
documentation: moved network documentation to top level
2014-05-22 13:01:36 +02:00
Oleg Hahm
bf00b019e4
documentation: CMSIS cleanup
...
Put all CMSIS documentation into a dedicated subgroup of cpu.
2014-05-22 13:01:36 +02:00
Kévin Roussel
e9ff3e6cf8
Merge pull request #1211 from rousselk/complete-radio_driver_h
...
Completing low-level radio driver definition.
2014-05-22 10:22:08 +02:00
Kévin Roussel
2a02203067
Complete the definition of low-level radio driver API
2014-05-21 11:41:10 +02:00
Thomas Eichinger
5808662d05
Merge pull request #1193 from LudwigOrtmann/issue-924
...
core/hwtimer: disable interrupts in hwtimer_remove
2014-05-20 14:51:08 +02:00
Thomas Eichinger
1e12d5896b
Merge pull request #977 from mehlis/doxygen-irq
...
core: kernel: improved doxygen documentation
2014-05-20 14:49:58 +02:00
Christian Mehlis
67428b5814
core: kernel: improved doxygen documentation
...
also added param[in] to irq.h and fix order of doxygen endguards
2014-05-20 14:47:41 +02:00
Christian Mehlis
0aa87a8ee7
Merge pull request #1208 from Kijewski/issue-1199
...
documentation: fix doxygen for `pthread_*.h`
2014-05-20 14:19:52 +02:00
René Kijewski
06eb95d687
Merge pull request #1216 from LudwigOrtmann/issue-1215
...
native: set _native_pid correctly in daemon mode
2014-05-20 14:09:44 +02:00
Oleg Hahm
8aa78edb0a
Merge pull request #1213 from OlegHahm/ubuntu_msp430_errno_fix
...
msp430: workaround: define errno values if not provided by MSP430 lib
2014-05-20 12:03:11 +02:00
Ludwig Ortmann
c9f68e79b9
native: set _native_pid correctly in daemon mode
...
This fixes a bug that leads to all unix sockets being created as
`/tmp/riot.tty.0`.
2014-05-20 08:53:26 +02:00
Oleg Hahm
05a3570ffe
Merge pull request #1189 from Kijewski/compile_test-empty-folders
...
buildtest: ignore empty folders
2014-05-19 19:03:51 +02:00
Oleg Hahm
31351a0dc0
msp430: workaround: define errno values if not provided by MSP430 lib
2014-05-19 18:54:20 +02:00
René Kijewski
57429954c1
Merge pull request #1212 from authmillenon/fix-application-names
...
Fix application name for test_bloom_byte application
2014-05-19 16:35:31 +02:00
Martin Lenders
3daa80124e
Fix application name for test_bloom_byte application
2014-05-19 16:16:19 +02:00
Oleg Hahm
e980f82f99
Merge pull request #1202 from OlegHahm/cortex_doxygen_cleanup
...
documentation: cleanup doxygen for SAM3x8e and Z1
2014-05-19 11:34:32 +02:00
Oleg Hahm
4f645ecf36
documentation: fix doxygen group for Z1
2014-05-19 10:45:17 +02:00
Oleg Hahm
9bef59cc55
documentation: fix CMSIS doxygen for SAM3x8e
2014-05-19 10:45:05 +02:00
René Kijewski
e135bdc266
documentation: fix doxygen for pthread_*.h
...
The pthread header files aren't in the doxygen page anymore after #1137 ,
because I `@file`'d the `.c` files, not the `.h` files.
This change moves doxygen boilerplate.
Closes #1199 .
2014-05-18 17:33:49 +02:00
René Kijewski
79b6c41f5a
Merge pull request #1000 from OlegHahm/prefix_core_api_functions
...
core: prefix API functions correctly
2014-05-18 16:26:01 +02:00
Oleg Hahm
ef5ec344fd
core: prefix API functions correctly
...
Also changed names for bitarithm functions and rename thread_pid to sched_active_pid.
2014-05-18 08:53:20 +02:00
Oleg Hahm
94e4ee1611
Merge pull request #1083 from OlegHahm/test_hwtimer_w_thread_sleep
...
tests: added a thread_sleep() at the end
2014-05-17 00:49:44 +02:00
Oleg Hahm
127801d18d
tests: added a thread_sleep() at the end
...
Letting the main thread exit could cause failing test if thread_exit()
is broken for the tested platform, preventing the actual testing of the
hwtimer.
2014-05-17 00:30:38 +02:00
Martine Lenders
f8e329bb80
Merge pull request #1198 from Kijewski/issue-1197
...
make: fix rebuilding on changes without `clean` or `-B`
2014-05-16 22:00:42 +02:00
René Kijewski
329cc53d2a
Merge pull request #1194 from LudwigOrtmann/cortexygen
...
documentation: fix generation Doxygen documentation after Cortex import
2014-05-16 21:07:25 +02:00
René Kijewski
bd1630adca
buildtest: ignore empty folders
...
`compile_test.py` fails if there are empty folders in `/examples` or
`tests`. This is not a problem for Travis, because it always has a clean
repo.
For the average users there is a problem if they work on multiple
branches and one branch has new examples or tests. If they don't delete
the residual `bin` folders, then `compile_test.py` will print out these
applications as having failed.
This change checks for the existence of a `Makefile` in the application
folder. Also I added a progress indicator, because I like it. :)
2014-05-16 20:18:52 +02:00
Ludwig Ortmann
aa4e61fab2
documentation: clean up doxygen mess after cortex
...
fixes #1190
2014-05-16 19:47:54 +02:00
René Kijewski
66a3d7da77
make: fix #1197
...
Partial revert of 85b7eca19e
Fixes #1197 .
2014-05-16 18:18:35 +02:00
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