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

395 Commits

Author SHA1 Message Date
Hauke Petersen
1664bcbf59 native/timer: fix return value for invalid channel 2015-09-23 14:48:23 +02:00
4e8bf2cb69 cpu: native: remove hwtimer traces 2015-09-16 10:58:53 +02:00
2cd4a80054 cpu: native: minor timer-related doxygen updates 2015-09-16 10:58:53 +02:00
fb773bf90a cpu: native: remove hwtimer_compat dependency 2015-09-16 10:58:51 +02:00
dd87073a60 Merge pull request #3826 from OlegHahm/netdev2_tap_buffer_size
netdev2_tap: set maximum buffer size correctly
2015-09-15 13:23:28 +02:00
Martine Lenders
93f555ef69 Merge pull request #3782 from OlegHahm/RIOT_assert
core: RIOT's own assert macro
2015-09-12 13:12:34 +02:00
Oleg Hahm
49917a5797 core: cpu: fix check for DEVELHELP 2015-09-12 12:43:15 +02:00
Oleg Hahm
fd121a94e6 netdev2_tap: set maximum buffer size correctly 2015-09-12 12:02:48 +02:00
Oleg Hahm
f3245cecac core: panic: last instruction's address for assert 2015-09-11 23:23:31 +02:00
Oleg Hahm
d7161b6d4b cpu: inline function to print instruction register 2015-09-11 23:23:31 +02:00
Martine Lenders
1c0cf3bf9c native: netdev2_tap: fix NETOPT_IS_WIRED flag 2015-09-11 13:11:33 +02:00
344b56bca8 Merge pull request #3167 from haukepetersen/fix_native_stacksizes
cpu/native: adjusted stacksizes
2015-09-05 23:17:45 +02:00
Hauke Petersen
7701aed546 Merge pull request #3164 from kaspar030/remove_uart0
sys: remove uart0
2015-09-04 18:54:30 +02:00
0e4386a46f native: remove uart0 2015-09-04 17:46:23 +02:00
ef972735dc sys: net: replace dev_eth with netdev2, adapt native tap driver 2015-09-04 15:39:04 +02:00
Thomas Eichinger
3fba38e47b cpu/native: fix wrong type for _sigio_child() 2015-09-03 11:49:57 +02:00
Thomas Eichinger
f841811a49 cpu/native: fix OS X includes and declarations 2015-09-02 17:34:47 +02:00
Thomas Eichinger
f10939c01e cpu/native: add conditional include on OS X for IFNAMSIZ 2015-09-02 17:34:47 +02:00
Martine Lenders
58ff31bfe9 gnrc: make all gnrc modules sub-modules of gnrc 2015-08-18 23:00:07 +02:00
Martine Lenders
664f51e149 doc: adapt documentation on tapsetup script 2015-08-14 12:05:34 +02:00
Martine Lenders
5760f9042d native: unify and simplify usage of tapsetup script 2015-08-14 12:05:34 +02:00
Martine Lenders
f0cb1429f0 native: rename ng_nativenet to dev_eth_tap 2015-08-09 22:04:26 +02:00
Martine Lenders
ca71ae4f59 dev_eth: fix documentation 2015-08-09 22:02:10 +02:00
Martine Lenders
472ee315f0 ethernet/ethertype: remove ng_ prefix 2015-08-07 17:09:19 +02:00
Hauke Petersen
75472eddf4 cpu: remove transceiver defines from cpu_conf files 2015-08-06 12:13:54 +02:00
5d8349298f remove bulk of legacy network stack and drivers 2015-08-06 12:12:47 +02:00
Benoît Canet
22da1f834b native: ng: net: Close tap device and cleanup on reboot 2015-08-03 18:17:53 +02:00
Benoît Canet
008b105166 native: net: Take care of unregistering SIGIO on reboot 2015-08-03 18:17:53 +02:00
Benoît Canet
800b057fac native: net: Make _native_tap_fd static
One global variable less is always good.
2015-08-03 18:17:52 +02:00
Benoît Canet
4893d4daea native: irq: Get rid of dINT() and eINT()
Get rid of internal usage of the old IRQ
API and keep it's implementation while
waiting for other modules to kill it.
2015-07-29 16:51:22 +02:00
21238b2ccc Merge pull request #3347 from benoit-canet/timer
native: timer: synchronize HWTIMER_SPIN_BARRIER with native timer min resolution
2015-07-29 10:14:58 +02:00
Thomas Eichinger
e416937398 Merge pull request #3390 from thomaseichinger/pr/fix_warning_errors_freebsd
native: fix warning errors freebsd
2015-07-23 10:11:29 +02:00
Oleg Hahm
9922d2600c native: removed dead code
num was never read, because native will exit before.
2015-07-22 14:36:21 +02:00
Thomas Eichinger
cbc9ddc639 native: add missing include for FreeBSD 2015-07-21 18:31:13 +02:00
Thomas Eichinger
0c15084db5 native: fix wrong pointer type warning 2015-07-21 18:31:13 +02:00
Hauke Petersen
08c4732fba cpu/native: adjusted stacksizes
The stacksizes for native were defined in a way, so that
DEBUG did not work inside of interrupt routines. The new
values should still be large enough but allow now for this.
2015-07-14 15:06:50 +02:00
d15f0990b3 Merge pull request #3344 from kaspar030/fix_native_timer_possible_underflow
native: periph/timer: prevent underflow in timer_set_absolute
2015-07-09 22:17:44 +02:00
Benoît Canet
e01329796d native: timer: synchronize HWTIMER_SPIN_BARRIER with timer min resolution
This keeps the test/hwtimer_wait test duration correct.
2015-07-09 20:42:21 +02:00
Peter Kietzmann
f95aaa6bf6 Merge pull request #3327 from authmillenon/native/enh/address-sanitizer
native: add address sanitizer make target
2015-07-09 16:07:00 +02:00
ec441e9aa6 native: periph/timer: prevent underflow in timer_set_absolute 2015-07-09 15:23:21 +02:00
Benoît Canet
e8e89d8ca9 native: timer: Do not cancel timer when setting it to 0 2015-07-09 15:08:47 +02:00
Martine Lenders
8a33a62914 native: add address sanitizer make target 2015-07-09 15:00:19 +02:00
b2272fc016 Merge pull request #3282 from benoit-canet/timer
native: Resurect native/perif/timer and handle #715 (WIP)
2015-07-09 11:12:24 +02:00
Benoît Canet
dfbd4f946e cpu: native: switch to hwtimer_compat
The hwtimer_wait test was tortured with the
following script which ran several hours.

----

make clean all-debug

while :
do

date
./bin/native/hwtimer_wait.elf > log &
pid=$!
sleep 20

success=$(cat log|grep success)

if [ "$success" != "success"  ]
then
date
echo "BUG"
exit
fi

kill $pid

done
----

Closes #715.
2015-07-09 02:43:04 +02:00
fe96d379f6 native: add periph/timer.h timer implementation 2015-07-09 02:43:04 +02:00
Benoît Canet
ced541cc67 native: irq_cpu: Rewrite IRQs (de)registration 2015-07-09 02:43:04 +02:00
Benoît Canet
4832a1a6b0 native: irq_cpu: Whitelist signals 2015-07-09 02:43:03 +02:00
Benoît Canet
a035d27414 native: irq_cpu: Make IRQ enabling/disabling safe 2015-07-09 02:43:01 +02:00
52599fde66 cpu: native: work around shared errno in _native_lpm_sleep 2015-07-09 00:31:31 +02:00
Hauke Petersen
5abd2ffc0a cpu/native: added periph_cpu.h 2015-06-12 19:10:49 +02:00