Ludwig Ortmann
d3a1c1bda7
add comment
...
addresses https://github.com/RIOT-OS/RIOT/pull/501#discussion_r8881054
2014-01-15 11:24:59 +01:00
Ludwig Ortmann
921b70d5e8
fix pre-init
...
set the internal relative time - don't rely on hwtimer_now() being
called externally
2014-01-14 17:23:15 +01:00
Ludwig Ortmann
396f6c2819
fix debug msg
2014-01-14 17:23:03 +01:00
Ludwig Ortmann
6fe1ecd1b4
Merge pull request #479 from LudwigOrtmann/nativenet_lenchck
...
Nativenet length check and cleanup
2014-01-10 01:47:35 -08:00
Oleg Hahm
fe575d52df
Merge pull request #364 from OlegHahm/float_stack_sizes
...
added a dedicated stacksize for float printfs
2014-01-09 10:48:38 -08:00
Thomas Eichinger
dadd64e2f9
Merge pull request #473 from LudwigOrtmann/nativenet_osx_xmas
...
add io signal generating child for nativenet in osx
2014-01-09 07:14:34 -08:00
Ludwig Ortmann
83db6f6364
remove superflous include
2014-01-09 12:33:02 +01:00
Ludwig Ortmann
76b017aefd
check payload length validity
...
make sure the payload does not exceed the amount of data received
2014-01-08 14:58:57 +01:00
Ludwig Ortmann
ac0ec1f6b3
nativenet clean up
...
Make nativenet tap payload type consistent with radio_packet_t
Also remove a trailing space
2014-01-08 14:57:11 +01:00
Ludwig Ortmann
98d1136761
update native README
2014-01-07 10:20:58 +01:00
Oleg Hahm
775c0dee5c
added missing mute prefixes in nativenet and shell
2014-01-05 16:11:08 +01:00
Oleg Hahm
9df07f9238
muting compiler and binutils optionally
...
Instead of muting all compiler and other binutils output by default,
introduce a variable to make this behaviour configurable.
2014-01-05 16:11:08 +01:00
Oleg Hahm
c7d985d371
removed redundant include pathes from Makefiles
2014-01-05 16:11:08 +01:00
Oleg Hahm
26c50522d5
simplified and unified cpu build structure
2014-01-05 16:11:07 +01:00
Ludwig Ortmann
ea8b735232
fix nativenet_send documentation
2013-12-24 11:57:54 +01:00
Ludwig Ortmann
648bdaeed6
add io signal generating child for nativenet in osx
2013-12-24 11:54:00 +01:00
Ludwig Ortmann
1ac1646837
further clean up / filtering for cpu
2013-12-23 00:18:21 +01:00
Ludwig Ortmann
cf87e647c0
make native includes RIOT posix compatible
2013-12-22 23:26:54 +01:00
Ludwig Ortmann
ef315ed662
improve nativenet send functions return type
2013-12-21 16:56:42 +01:00
Ludwig Ortmann
751cfe6475
fix native hwtimer
...
The hardware timer used relative offsets that were never updated
before. This leads to two problems:
a) later timers will get pushed into the future by the amount of
previous timers
b) if a short timer is set continuously, a longer timer will never be
called
Example:
a)
Timer a with 500 ms is set, timer b with 600 ms is set.
timer a expires after 500 ms, timer b will be set to expire in 600 ms
which totals to 1100 ms.
b)
Timer a is set to 500 ms, timer b is set to 600 ms.
Timer a expires and is set again. Now timer a will expire in 500 ms
and timer b will be pushed further into the future. Repeating this
will lead to b never expiring.
2013-12-20 18:55:47 +01:00
Martin Lenders
69809928d3
Make UART0_BUFSIZE configurable by CPU
2013-12-20 11:10:42 +01:00
Oleg Hahm
903ec54a43
making include directives consistent
2013-12-19 15:31:37 +01:00
Oleg Hahm
ead2e117a1
Merge pull request #439 from OlegHahm/thread_yield_prototype
...
put prototype for thread_yield() in core/include
2013-12-18 13:36:55 -08:00
Christian Mehlis
2a9aac7f0b
Merge pull request #423 from OlegHahm/fix_warnings
...
Fix warnings
2013-12-18 12:02:37 -08:00
Oleg Hahm
2cdfc5b585
Merge pull request #382 from OlegHahm/transceiver_return
...
transceiver return signed values for sending
2013-12-18 09:33:32 -08:00
Oleg Hahm
d87d827d88
transceiver return signed values for sending
...
negative values indicate an error value
2013-12-18 18:22:59 +01:00
Oleg Hahm
227c847135
put prototype for thread_yield() in core/include
2013-12-18 17:47:49 +01:00
Hauke Petersen
edcabf7cb6
Fixed a lot of comments by removing tabs and correcting format.
2013-12-16 14:00:33 +01:00
Hauke Petersen
3785fe956b
Fixed doxygen comments, focused on file headers and group definitions
2013-12-16 14:00:24 +01:00
Ludwig Ortmann
0817675f5e
fix native hwtimer unsetting
...
reverts bug introduced by 2bfb062
2013-12-14 00:12:47 +01:00
Ludwig Ortmann
d03d7b1773
clean up native hwtimer
2013-12-14 00:07:49 +01:00
Oleg Hahm
72586f7a6d
limit maximum payload size to 255 for nativenet if 6lowpan is used
2013-12-13 18:53:48 +01:00
Christian Mehlis
2bfb06230a
fix: native hwtimer backend emulation
...
searching for the next pending timer was broken
this commit rewrites this functionality
2013-12-11 16:22:14 +01:00
Christian Mehlis
b17ffabce5
reduce minimal timer from 100ms to 10ms
2013-12-10 22:08:49 +01:00
Ludwig Ortmann
916757cf4c
implement err.h
...
valgrind reported invalid reads/writes with glibc err[x]|warn[x] (in
glibc printf) when stdio had been redirected in between.
define _progname (pointing to argv[0])
2013-12-10 17:00:01 +01:00
Ludwig Ortmann
864267f238
daemonization, io socket and file redirection
2013-12-10 17:00:01 +01:00
Christian Mehlis
faa7b0c702
Merge pull request #394 from LudwigOrtmann/native_fix_include
...
fix native stdlib.h include
2013-12-03 02:26:30 -08:00
Ludwig Ortmann
2d7c328870
fix native stdlib.h include
...
Fixes segfault in OSX introduced by 45ffdea
2013-12-02 11:39:22 +01:00
Ludwig Ortmann
1c128f5ed6
improve valgrind section
2013-12-02 11:17:25 +01:00
Ludwig Ortmann
d6c213fb47
fix grammar in license header
2013-11-23 13:11:56 +01:00
Ludwig Ortmann
2f53c0d32f
rework sigmasks
...
only mask signals actively being used
always enable shutdown
2013-11-23 11:21:40 +01:00
Ludwig Ortmann
0c6050a814
mask all signals in signal handler
2013-11-23 11:21:40 +01:00
Ludwig Ortmann
0a6dba11e5
mitigate against signals when signals are off
2013-11-23 11:21:40 +01:00
Ludwig Ortmann
5e1eadc353
add in_isr sighndl safeguard
2013-11-23 11:21:40 +01:00
Ludwig Ortmann
3a04671912
replace 1 with EXIT_FAILURE in all err calls
2013-11-23 11:21:40 +01:00
Ludwig Ortmann
3ca8181c73
reset context before makecontext call, check
...
check return value of swapcontext
2013-11-23 11:21:40 +01:00
Ludwig Ortmann
709cc9c158
add toa to packets in nativenet
...
also change order of fields to reflect radio types header
2013-11-22 10:55:49 +01:00
Oleg Hahm
6a1fcaf288
added a dedicated stacksize for float printfs
2013-11-21 20:41:28 +01:00
Christian Mehlis
45ffdeaf52
add missing stdlib.h include
2013-11-21 00:26:13 +01:00
Oleg Hahm
19f4f45445
added some debug output for the network stack
2013-11-14 10:46:21 +01:00