mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-21 19:29:18 +00:00
092b6f3baa
The minimal-net target, as currently written, wakes up the CPU every millisecond to check for packets, and will only react in real-time to input from stdin. If you are running this on a laptop battery, your battery will quickly drain. This change allows the CPU to idle when there is literally nothing to do while still being responsive to input from stein and/or incoming packets. This fix should significantly improve performance while significantly improving power usage. Win-win. Also added `_xassert()` implementation so that the contiki- provided `assert()` macro will work properly when used on this platform. |
||
---|---|---|
.. | ||
dev | ||
net | ||
Makefile.native | ||
mtarch.c | ||
mtarch.h | ||
rtimer-arch.c | ||
rtimer-arch.h | ||
watchdog.c |