Nut/OS initialization. More...
Variables | |
volatile uint8_t | ms62_5 = 0 |
System tick counter. |
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().
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.