Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages   Examples  

simple/simple.c

This sample is the most simple application that could be build with Nut/OS. It doesn't do anything but running in a loop.

Only a minimal Nut/OS kernel with thread, timer and memory management is loaded, occupying less than 5 kBytes of code space and about 1 kBytes of RAM.

#include <sys/thread.h>

THREAD(NutMain, arg)
{
    for(;;);
}

© 2000-2002 by egnite Software GmbH - visit http://www.ethernut.de/