theCore C++ embedded framework
kernel_main.c File Reference

FreeRTOS main module. More...

#include <FreeRTOS.h>
#include <task.h>
#include <ecl/assert.h>
Include dependency graph for kernel_main.c:

Functions

int early_main ()
 Early-main routine performs final initialization steps. More...
 
 __attribute__ ((used))
 
void vAssertCalled (const char *file, int line)
 
void freertos_main_runner (void *arg)
 
void kernel_main ()
 

Detailed Description

FreeRTOS main module.

Function Documentation

◆ early_main()

int early_main ( )

Early-main routine performs final initialization steps.

All global objects must be constructed before entering user's main routine. Kernel in responsible for calling early_main() after it (kernel) will be completely ready.

Todo:
Consider specifying it with noreturn attribute.

◆ __attribute__()

__attribute__ ( (used)  )

◆ vAssertCalled()

void vAssertCalled ( const char *  file,
int  line 
)
Here is the call graph for this function:

◆ freertos_main_runner()

void freertos_main_runner ( void *  arg)
Here is the call graph for this function:

◆ kernel_main()

void kernel_main ( )
Here is the call graph for this function: