From bd19088125456511d631d4308e6e953544a22b98 Mon Sep 17 00:00:00 2001 From: Mahavir Jain Date: Tue, 29 Sep 2020 20:59:22 +0530 Subject: [PATCH] esp_system: initialize coredump for ESP32-S2 This was regression introduced in recent refactoring changes from startup code. --- components/esp_system/startup.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/esp_system/startup.c b/components/esp_system/startup.c index 0a5b5336eb..2545f7a613 100644 --- a/components/esp_system/startup.c +++ b/components/esp_system/startup.c @@ -373,11 +373,9 @@ IRAM_ATTR ESP_SYSTEM_INIT_FN(init_components0, BIT(0)) esp_pm_impl_init(); #endif -#if CONFIG_IDF_TARGET_ESP32 -#if CONFIG_ESP32_ENABLE_COREDUMP +#if CONFIG_ESP_ENABLE_COREDUMP esp_core_dump_init(); #endif -#endif #if CONFIG_SW_COEXIST_ENABLE esp_coex_adapter_register(&g_coex_adapter_funcs);