feat(freertos): Link FreeRTOS idle task and its hook function to IRAM

This commit is contained in:
dongheng
2019-03-06 10:42:08 +08:00
parent 6042355fad
commit ab3179efd7
5 changed files with 9 additions and 8 deletions

View File

@ -75,12 +75,12 @@ static uint32_t task_ms_to_tick_wrapper(uint32_t ms)
return (uint32_t)(ms / portTICK_RATE_MS);
}
static void task_suspend_all_wrapper(void)
static void IRAM_ATTR task_suspend_all_wrapper(void)
{
vTaskSuspendAll();
}
static void task_resume_all_wrapper(void)
static void IRAM_ATTR task_resume_all_wrapper(void)
{
xTaskResumeAll();
}