It's getting late already... >In order to fix the stack problem, add > > #define main NutAppMain > >immediately before > > #endif /* GCC */ add this in include/compiler.h and the rest in os/nutinit.c. Harald