|
From: | Harald Kipp |
Subject: | Re: [avr-libc-dev] Stack pointer loaded on main entry? |
Date: | Fri, 07 Mar 2003 13:28:04 +0100 |
Finally I got it done with #define main task_main But an additional dummy has to be declared #undef main int main(void) { return 0; } Otherwise there will be a linker error In function `__vectors': gcrt1.S:44: undefined reference to `main' Looks very ugly now, but works. Harald
[Prev in Thread] | Current Thread | [Next in Thread] |