Christian Mehlis
5247fa48e1
Merge pull request #756 from josephnoir/add_test_pthread_factorial
...
tests: Add test for pthread
2014-02-26 16:08:45 +01:00
Christian Mehlis
af87308e2a
Merge pull request #782 from OlegHahm/syscall_gettimeofday
...
sys: vtimer: added gettimeofday syscall
2014-02-26 15:56:53 +01:00
Christian Mehlis
3f44bf30c7
Merge pull request #785 from authmillenon/fix-libcoap-make
...
pkg:libcoap: Fix libcoap make
2014-02-26 15:42:56 +01:00
Martin Lenders
2cc4682716
Fix libcoap make
2014-02-26 15:40:41 +01:00
Christian Mehlis
92eaa51f5c
Merge pull request #760 from Kijewski/shell-args
...
shell: Use argc and argv in shell handlers
2014-02-26 15:37:14 +01:00
René Kijewski
791f1cb90f
Changes to thread_wakeup
...
`thread_wakeup` did not check if target pid is invalid.
`thread_wakeup` used `dINT` and `eINT` directly.
It should use `disableIRQ` and `restoreIRQ` instead, because there might
be other (good) reasons why one might want to call `thread_wakeup` with
interrupts disabled.
`thread_wakeup` yielded even if the other thread had a lower priority
than the current thread.
2014-02-26 14:55:50 +01:00
René Kijewski
5cab0ea68a
Merge pull request #3 from mehlis/shell-args-prefix
...
shell: adapt register prefix command to new shell api
2014-02-26 14:12:31 +01:00
René Kijewski
a5c0518e0e
Fix _settime_handler
2014-02-26 14:08:54 +01:00
Christian Mehlis
9d9f114f42
shell: adapt register prefix command to new shell api
2014-02-26 13:55:20 +01:00
Raphael Hiesgen
310ac02ad7
Adds test for pthread.
...
The test uses pthread to calculate the factorial of 12, with one
thread for each multiplication. pthread_mutex is used for synchronization.
2014-02-26 13:52:08 +01:00
René Kijewski
28c4ef45f7
Do not skip over the null terminator
2014-02-26 13:21:25 +01:00
Ludwig Ortmann
e536d706e2
Merge pull request #788 from LudwigOrtmann/714_fixup
...
remove hwtimer from test_irq
2014-02-26 13:17:46 +01:00
Ludwig Ortmann
23bccdf247
remove hwtimer from test_irq
2014-02-26 10:17:17 +01:00
Christian Mehlis
6f76a4c592
Merge pull request #757 from josephnoir/add_test_thread_factorial
...
tests: Add test for riot thread
2014-02-26 09:21:40 +01:00
Christian Mehlis
17b534619c
Merge pull request #780 from mehlis/fix-bloom-test
...
test: fix bloom filter test
2014-02-26 09:13:13 +01:00
Oleg Hahm
b4a8788210
fixed typo
2014-02-26 08:18:17 +01:00
localadmin
0b8d5cf973
Adds test for riot threads.
...
The test uses riot threads to calculate the factorial of 12,
with one thread for each multiplication. The core mutex is
used for synchronization.
2014-02-25 21:58:56 +01:00
cc0de63289
Merge pull request #713 from OlegHahm/sched_switch_simplification
...
core: move inISR check into sched_switch
2014-02-25 19:13:41 +01:00
René Kijewski
0eb7597ab1
Convert examples
2014-02-25 17:54:17 +01:00
René Kijewski
829966ee32
Print error message on any quoting error
2014-02-25 17:54:17 +01:00
René Kijewski
c507632e50
Use argc and argv in shell handlers
...
Compare #708 .
Now the tokenization of an input line is done by the shell itself. You
may quote arguments with `"..."`. Empty arguments, supplied by `""` are
preserved. Spaces in between arguments are squasheds; spaces inside
quotes are preserved.
You cannot partially quote an argument. You must not use
- `cmd "abc`,
- `cmd abc"def"`, or
- `cmd "abc"def`.
2014-02-25 17:54:17 +01:00
Oleg Hahm
07b0cd8863
added gettimeofday syscall
...
RIOT's gettimeofday needs to be called from syscalls.c to assure that gcc actually links it.
If an RTC if available and enabled it will be used instead.
2014-02-25 17:41:45 +01:00
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