Functions | |
void | NutInit (void) |
Nut/OS Initialization. | |
u_long | NutVersion (void) |
Return Nut/OS version. | |
CONST char * | NutVersionString (void) |
Return Nut/OS version string. |
|
Nut/OS Initialization. Initializes the memory management and the thread system and starts an idle thread, which in turn initializes the timer management. Finally the application's main() function is called. Depending on the compiler, different methods are used to execute this function before main() is called. For ICCAVR the default crtatmega.o startup file is replaced by crtnut.o, which calls NutInit instead of main(). This is done by adding the following compiler options in the project: -ucrtnut.o nutinit.o For AVRGCC this function is located in section .init8, which is called immediately before jumping to main(). NutInit is defined as: void NutInit(void) __attribute__ ((naked)) __attribute__ ((section (".init8"))); |
|
Return Nut/OS version.
|
|
Return Nut/OS version string.
|