[En-Nut-Discussion] Debugging Problem

Ing. Joachim Skale joachim.skale at tele2.at
Tue Nov 8 17:42:47 CET 2005


Hi, 

i'm a little bit confused.
i tried to debug my program with AVR Studio 4.xx and JTAG ICE.

but with the "normal" code, i mean i have a void main(void), i'll never get into this function.
did i need this ?

#ifdef __GNUC__
void NutInit(void) __attribute__ ((naked)) __attribute__ ((section(".init8")));
extern int NutAppMain(void) __attribute__ ((noreturn));
#endif

...


and 
#ifdef __IMAGECRAFT__
void main(void)
#endif

i my makefile i have the following libs:
LIBS =	$(LIBDIR)/nutinit.o -lnutnet -lnutpro -lnutfs -lnutos -lnutdev -lnutnet -lnutcrt
for the "normal" code.


Can anyone help me ?


Regards Joachim



More information about the En-Nut-Discussion mailing list