Martin Lenders
7f8e2c2991
Add getter and setter of long addresses to transceiver
2014-02-28 23:13:22 +01:00
Martin Lenders
fa11d82443
Allow IEEE 802.15.4 addressing types for transceiver
...
IEEE 802.15.4 has two addressing modes: 16-bit short and the device's
EUI-64. Currently RIOT supports only sending of packets with 16-bit
short addresses via the transceiver interface. This patch allows at
least for the radio chips that support IEEE 802.15.4 to let the
application/upper layer decide which addressing mode to use.
Upper layer implementation will be implemented in follow-up PR to #460
2014-02-28 23:13:04 +01:00
Martin Lenders
1e4badf85a
Fix coding conventions in sys/transceiver/transceiver.c
2014-02-28 13:39:24 +01:00
Martin Lenders
3225683d2f
Include kernel.h for inet_pton for MSP-430
2014-02-28 00:14:54 +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
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
a5c0518e0e
Fix _settime_handler
2014-02-26 14:08:54 +01:00
René Kijewski
28c4ef45f7
Do not skip over the null terminator
2014-02-26 13:21:25 +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
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
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
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
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
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
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
2de9619f21
Merge pull request #758 from Kijewski/issue-755
...
Fix `pthread_self()` confusion
2014-02-22 18:30:11 +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
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
e865022a31
pthread: initial add
2014-02-19 23:39:38 +01:00
Christian Mehlis
a21c8d41e1
ccnl: fix 'no break' warning in switch
2014-02-19 23:23:54 +01:00
Christian Mehlis
87d8e4f99c
enable nonces in interests
2014-02-19 23:23:53 +01:00
Christian Mehlis
9fa0844f3f
added nonce timeout
2014-02-19 23:23:53 +01:00
Martin Lenders
df83221983
Hotfix for error introduced in #678
2014-02-18 22:44:00 +01:00
Christian Mehlis
0309fecc19
fix warning: invalid suffix on literal
...
C++11 requires a space between
literal and identifier [-Wliteral-suffix]
2014-02-18 17:05:01 +01:00
Oleg Hahm
b42496475a
Merge pull request #724 from rousselk/reboot
...
Reboot
2014-02-18 13:33:49 +01:00
Christian Mehlis
6578669e46
Merge pull request #718 from Kijewski/issue-693
...
"Exterminate `} else {`"
2014-02-18 12:42:54 +01:00
Christian Mehlis
cb9c5d00de
repace project by application in documentation
2014-02-18 12:28:32 +01:00
Christian Mehlis
980bd2e7a4
ccnl: fix memory leak on CS error
2014-02-18 12:17:53 +01:00
Kévin Roussel
dc6f920f33
Merge remote-tracking branch 'origin/reboot' into reboot
2014-02-17 12:00:19 +01:00
René Kijewski
2349d0806e
"Exterminate } else {
"
2014-02-16 23:29:47 +01:00
René Kijewski
6dea183eac
Merge pull request #721 from mehlis/fix-avaiable
...
ccnl: fix two typos
2014-02-16 23:14:44 +01:00
Christian Mehlis
fcabb3be2a
ccnl: fix two typos
2014-02-16 23:12:51 +01:00
Christian Mehlis
8897c67677
ccnl: fix ageing timeout
2014-02-16 22:45:32 +01:00
Oleg Hahm
6c0482b976
Merge pull request #701 from Kijewski/issue-672
...
Use `filter` instead of `findstring`
2014-02-16 12:33:29 +01:00
Ludwig Ortmann
47aa7b4bb2
reflect the original intent of the unused ignore_add parameter
2014-02-15 12:58:55 +01:00
Ludwig Ortmann
5ede3a82df
fix ignore_add unused parameter warning
2014-02-15 12:11:47 +01:00
René Kijewski
24defa5289
Merge pull request #572 from Kijewski/quad-math
...
Add quadword math library
2014-02-15 03:55:50 +01:00
0e9c91f696
Merge pull request #704 from mehlis/for-while
...
replace all endless for loops by while
2014-02-14 18:50:00 +01:00
Christian Mehlis
4fd6d73125
Merge pull request #678 from mehlis/shell-no-copy
...
shell: remove useless copying of input string
2014-02-14 18:03:14 +01:00
Christian Mehlis
38529e3296
replace all endless for loops by while
2014-02-14 17:47:33 +01:00
Ludwig Ortmann
523129c1d6
add system calls to the shell
2014-02-14 17:17:25 +01:00