RT-Thread RTOS
1.2.0
An open source embedded real-time operating system
|
Functions | |
void | rt_system_timer_init (void) |
void | rt_system_timer_thread_init (void) |
void | rt_application_init () |
void | rt_system_heap_init (void *begin_addr, void *end_addr) |
System initialization procedure.
When RT-Thread operating system starts up, the basic operating system facility initialization routines must be invoked.
The suggested initialization sequence is:
User can put the low level hardware initialization in this function, such as DDR memory setting, pinmux setting, console device setting etc.
void rt_system_timer_init | ( | void | ) |
This function will initialize system timer.
void rt_system_timer_thread_init | ( | void | ) |
This function will initialize system timer thread.
void rt_application_init | ( | ) |
This function will initialize user application.
This function will be invoked when system initialization and system scheduler has not started. User can allocate memory, create thread, semaphore etc. However, user shall not suspend 'current' thread.
void rt_system_heap_init | ( | void * | begin_addr, |
void * | end_addr | ||
) |
This function will init system heap. User can override this API to complete other works, like heap sanitizer initialization.
begin_addr | the beginning address of system page. |
end_addr | the end address of system page. |