Nut/OS  4.10.3
API Reference
System Initialization

Nut/OS initialization. More...

Collaboration diagram for System Initialization:


volatile uint8_t ms62_5 = 0
 System tick counter.

Detailed Description

Nut/OS initialization.

System initialization is implemented in the architecture dependant parts. Applications do not need to call any specific routine. The system is automatically initialized before the application main routine starts running.

Links to the architecture specific initialization

A bare minimum code sample

 #include <compiler.h>

 int main(void)
     for (;;);

Including compiler.h is currently required to fix a problem with GCC's special handling of main().

Variable Documentation

volatile uint8_t ms62_5 = 0

System tick counter.

For the time being we put this here to ensure that it will be placed in lower RAM. This is essential for the AVR platform, where we use this counter to determine the system clock and calculate the correct baudrate factors. If this counter would be placed in external RAM, additional wait states may apply.

To be removed.

Definition at line 132 of file nutinit.c.