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

2547 Commits

Author SHA1 Message Date
Oleg Hahm
95e7df7f49 Merge pull request #783 from authmillenon/fix-at86rf231-followup
drivers : Make at86rf231_switch_to_rx() public to use with transceiver
2014-02-25 16:45:19 +01:00
Martin Lenders
03975ba003 Make at86rf231_switch_to_rx() public to use with transceiver 2014-02-25 16:03:43 +01:00
Christian Mehlis
6414b55512 Merge pull request #714 from OlegHahm/hwtimer_integration
core: always build and initialize hwtimer
2014-02-25 11:21:46 +01:00
Christian Mehlis
b1fc8d7846 Merge pull request #776 from OlegHahm/uart0_stack_documentation
added documentation of configuring the right debug stack size for uart0 module
2014-02-25 11:12:08 +01:00
Christian Mehlis
6ff0d86e16 Merge pull request #781 from LudwigOrtmann/sc_id
build id shell command only for config module
2014-02-25 11:07:30 +01:00
Kévin Roussel
f4f2519a58 LPC1768 implementation of 'core_panic()'
copied from 'arm_common', for make-related reasons...
2014-02-25 10:50:51 +01:00
Kévin Roussel
4f8a29d892 Implemented the crash-handling/reboot mechanism for ARM-based MCUs 2014-02-25 10:50:51 +01:00
Kévin Roussel
03fe9de135 Implemented crash-handling mechanism for 'native' platform 2014-02-25 10:50:51 +01:00
Kévin Roussel
1183555cc3 Implement the crash-handling/reboot mechanism for MSP430 MCUs 2014-02-25 10:50:51 +01:00
Kévin Roussel
d007207f3e Add a mechanism for handling fatal errors (and reboots) 2014-02-25 10:49:57 +01:00
Ludwig Ortmann
61df6e05a3 ifdef shell _heap_handler for corresponding module 2014-02-25 10:11:04 +01:00
Ludwig Ortmann
3fd73c60c6 build id shell command only for config module
closes #777
2014-02-25 10:11:04 +01:00
Oleg Hahm
32f918abe8 simplified sched_switch
sched_switch can check ISR itself.
2014-02-25 09:47:58 +01:00
Ludwig Ortmann
5e82c06cad Merge pull request #779 from mehlis/native-unreachable-code
native: removed unreachable code
2014-02-25 09:20:06 +01:00
Christian Mehlis
e2c3f668bf test: fix bloom filter test 2014-02-25 09:06:19 +01:00
Christian Mehlis
261d414649 native: removed unreachable code 2014-02-25 09:02:39 +01:00
Oleg Hahm
b26ad476ff added documentation of configuring the right debug stack size for uart0 module 2014-02-24 22:40:02 +01:00
Oleg Hahm
24f5ec929c removed duplicate inISR prototype 2014-02-24 18:42:13 +01:00
Oleg Hahm
93e32953b3 always build and initialize hwtimer
Eliminates special treatment of the hwtimer module and makes it a
mandatory part of the kernel.
2014-02-24 18:36:28 +01:00
Christian Mehlis
f481e4a5c5 Merge pull request #768 from authmillenon/fix-802-15-4-drivers
drivers: Fix IEEE 802.15.4 drivers
2014-02-24 18:26:42 +01:00
Ludwig Ortmann
9c0fc3b1e2 Merge pull request #759 from LudwigOrtmann/tests_makefile
add Makefile.tests_common
2014-02-24 16:47:31 +01:00
Oleg Hahm
8c305a0335 fixed includes for at86rf231 2014-02-24 16:15:23 +01:00
Martin Lenders
e125f97a41 Fix coding conventions in cc2420 driver 2014-02-24 16:15:19 +01:00
Martin Lenders
d51816d2e0 Fix cc2420 driver 2014-02-24 16:14:28 +01:00
Martin Lenders
f28054d844 Fix at86rf231 driver 2014-02-24 16:13:03 +01:00
bf8f5d16a3 Merge pull request #766 from mehlis/lifo-author
core: lifo: added heiko as author
2014-02-24 15:27:56 +01:00
Christian Mehlis
8556403f8f Merge pull request #680 from benpicco/fix_crash
set up message queues for the IP and UDP thread
2014-02-24 15:10:19 +01:00
Christian Mehlis
f4376930f2 Merge pull request #740 from authmillenon/update-libcoap
pkg : libcoap : Update libcoap version
2014-02-24 15:07:25 +01:00
Ludwig Ortmann
bc66ba8439 Merge pull request #762 from LudwigOrtmann/issue_741
make calloc "usable" early on
2014-02-24 09:12:43 +01:00
Martin Lenders
24b63bd9f0 Update libcoap 2014-02-23 20:57:17 +01:00
Christian Mehlis
6501707bcb core: lifo: added the right author 2014-02-23 15:09:43 +01:00
Christian Mehlis
2de9619f21 Merge pull request #758 from Kijewski/issue-755
Fix `pthread_self()` confusion
2014-02-22 18:30:11 +01:00
Christian Mehlis
668c29ca52 Merge pull request #763 from LudwigOrtmann/issue_717
move global char array out of thread
2014-02-22 18:18:53 +01:00
Ludwig Ortmann
af7a15b3f0 move global char array out of thread
The char msg[] is accessed from outside the main thread after it has
exited, so it needs to outlive it.

Fixes #717
2014-02-22 13:28:21 +01:00
Ludwig Ortmann
86812c2abb make calloc "usable" early on
closes #741

Old versions of the gnu libc uses calloc to allocate dymanic memory
when some error occurs in dlsym.
This results in a segfault as natives calloc wrapper has not been
initialized yet.
As this is a circular dependency and the libc can cope with this, we
just return NULL from the calloc wrapper and hope for the best.

Recent libc versions use a static buffer instead.
2014-02-22 13:08:45 +01:00
René Kijewski
2317ab07a1 Merge pull request #761 from mehlis/test-pthread-license
test: added missing license
2014-02-22 11:50:11 +01:00
Ludwig Ortmann
d676cd328b remove debug target from test_nativenet
It conflicts with an existing debug target
2014-02-22 10:05:23 +01:00
Ludwig Ortmann
983dabe73f remove USEMODULE comments and some whitespace 2014-02-22 10:04:41 +01:00
Benjamin Valentin
edea31a21c add oonf_api pkg 2014-02-22 01:41:17 +01:00
Christian Mehlis
1e11aca209 test: added missing license 2014-02-21 21:51:29 +01:00
Christian Mehlis
b2dbf3dcae Merge pull request #754 from Kijewski/pthread_reaper_stack-linkage
`pthread_reaper_stack` has global linkage for no proper reason.
2014-02-21 20:32:22 +01:00
Ludwig Ortmann
982eecd3a6 add Makefile.tests_common
Contains common variables for all test Makefiles.
Include from test Makefiles.
2014-02-21 19:08:48 +01:00
René Kijewski
ca4337ab4d Fix pthread_self() confusion
This fixes #755.

The pthread ID cannot be reused as soon as the thread ends, because
another thread needs to join it first. `pthread_self()` uses the native
(i.e. RIOT's) thread ID to distinguish itself. A native thread ID can be
reused as soon as the thread ends, since the core knows no join
operation.

In order to not confuse itself with an earlier zombie thread (i.e a dead
non-detached thread, that was not joined, yet), we need to invalidate
the associated native thread ID.

This approach is sane since a dead thread won't call `pthread_self()`
anymore.
2014-02-21 17:44:08 +01:00
René Kijewski
cb423c0ac4 Fix linkage of pthread_reaper_stack 2014-02-21 14:03:55 +01:00
Christian Mehlis
3e980184a8 Merge pull request #748 from authmillenon/fix-possible-null-pointer-errors
bughunt: Fix possible null pointer dereference
2014-02-20 21:41:50 +01:00
Christian Mehlis
c2190a277f Merge pull request #750 from Kijewski/fix-sys-random
Fix the makefile of sys/random
2014-02-20 21:37:15 +01:00
René Kijewski
e55fd19d5c Fix the makefile of sys/random
The Makefile must not overwrite the include paths.
2014-02-20 17:16:57 +01:00
Christian Mehlis
48f23aa43d Merge pull request #734 from mehlis/native-c++-fixes
C++ compiler warnings (native, core)
2014-02-20 10:27:37 +01:00
Martin Lenders
4119e15e6b Fix possible null pointer dereference 2014-02-20 02:29:33 +01:00
Christian Mehlis
c5230a4a0a Merge pull request #694 from mehlis/pthread-module
Pthread module
2014-02-19 23:42:07 +01:00