diff --git a/components/esp_system/linker.lf b/components/esp_system/linker.lf index d1c32659ac..e55780553c 100644 --- a/components/esp_system/linker.lf +++ b/components/esp_system/linker.lf @@ -4,7 +4,8 @@ entries: panic (noflash) panic_handler (noflash) reset_reason (noflash) - + system_api:esp_system_abort (noflash) + if ESP_CONSOLE_USB_CDC_SUPPORT_ETS_PRINTF: usb_console:esp_usb_console_write_char (noflash) usb_console:esp_usb_console_write_buf (noflash) diff --git a/components/esp_system/startup.c b/components/esp_system/startup.c index 8678f6d7be..d65ce54d75 100644 --- a/components/esp_system/startup.c +++ b/components/esp_system/startup.c @@ -166,7 +166,7 @@ static void esp_startup_start_app_other_cores_default(void) } } -static void start_cpu_other_cores_default(void) +static void IRAM_ATTR start_cpu_other_cores_default(void) { do_system_init_fn();