forked from contiki-os/contiki
-
Notifications
You must be signed in to change notification settings - Fork 11
Native, minimal net
dak664 edited this page Dec 16, 2012
·
4 revisions
Contiki native and minimal-net targets are built with x86 gcc and run in the host windows or linux environment. They are useful for development and debugging due to fast turnaround, no memory constraints on debug prints, and reliable network communication.
Both platforms use the same /cpu/native/makefile to build the host .exe or .bin image. The native target has several emulated sensors but no network interface; input/output is through a serial connection. Minimal-net connects to the host ethernet; the uip_output is trapped and the uip buffer containing ip4 or ip6 packets is transferred through a tun/tap interface (linux) or wpcap driver (Windows).