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);