![]() |
Contiki-NG
|
Header file for the Contiki-NG main routine. More...
Go to the source code of this file.
Macros | |
| #define | PLATFORM_PROVIDES_MAIN_LOOP 0 |
| Controls whether the platform provides a custom main loop. | |
| #define | PLATFORM_MAIN_ACCEPTS_ARGS 0 |
| Controls whether the main function accepts arguments. | |
| #define | CONTIKI_OPTION(prio, ...) |
| Add a command line option when the compilation unit is present. | |
| #define | CONTIKI_USAGE(prio, msg) |
| Set the usage string shown for –help. | |
| #define | CONTIKI_EXTRA_HELP(prio, msg) |
| Set extra usage help shown at the end of –help. | |
Functions | |
| void | platform_init_stage_one (void) |
| Basic (Stage 1) platform driver initialisation. | |
| void | platform_init_stage_two (void) |
| Stage 2 of platform driver initialisation. | |
| void | platform_init_stage_three (void) |
| Final stage of platform driver initialisation. | |
| void | platform_idle (void) |
| The platform's idle/sleep function. | |
| void | platform_main_loop (void) |
| The platform's main loop, if provided. | |
Header file for the Contiki-NG main routine.
Definition in file platform.h.