Notes about FreeRTOS
Take a note of FreeRTOS analysis
BOOT
- .s file call main in main.c
- main do os initialize & device initialize, create tasks, and call vTaskStartScheduler in tasks.c
- vTaskStartScheduler call xPortStartScheduler in port.c(hardware specific)
- xPortStartScheduler set up timer interrupt(timer irq handler)
- timer irq handler call vTaskSwitchContext in tasks.c to select a new task
- timer irq handler call portRESTORE_CONTEXT to run the new task
Written on August 24, 2019