Explorar el Código

Merge branch 'bugfix/core_dump_regression' into 'master'

bugfix/esp_system: fix core_dump on flash regression by placing esp_system_abort back to IRAM

See merge request espressif/esp-idf!10522
Ivan Grokhotkov hace 5 años
padre
commit
396dea51ba
Se han modificado 2 ficheros con 3 adiciones y 2 borrados
  1. 2 1
      components/esp_system/linker.lf
  2. 1 1
      components/esp_system/startup.c

+ 2 - 1
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)

+ 1 - 1
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();