mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
heap: Add new multi_heap heap implementation to replace FreeRTOS-based tagged heaps
This commit is contained in:

committed by
Angus Gratton

parent
9b30f66fac
commit
5ee49fd311
@@ -329,6 +329,12 @@ static void main_task(void* args)
|
||||
// Now that the application is about to start, disable boot watchdogs
|
||||
REG_CLR_BIT(TIMG_WDTCONFIG0_REG(0), TIMG_WDT_FLASHBOOT_MOD_EN_S);
|
||||
REG_CLR_BIT(RTC_CNTL_WDTCONFIG0_REG, RTC_CNTL_WDT_FLASHBOOT_MOD_EN);
|
||||
#if !CONFIG_FREERTOS_UNICORE
|
||||
// Wait for FreeRTOS initialization to finish on APP CPU, before replacing its startup stack
|
||||
while (port_xSchedulerRunning[1] == 0) {
|
||||
;
|
||||
}
|
||||
#endif
|
||||
//Enable allocation in region where the startup stacks were located.
|
||||
heap_alloc_enable_nonos_stack_tag();
|
||||
app_main();
|
||||
|
Reference in New Issue
Block a user