Skip to content

Native, minimal net

dak664 edited this page Dec 7, 2012 · 1 revision

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).

Tutorials