From a5b1468ba02c4896b1202375e1f2fc5402896ebc Mon Sep 17 00:00:00 2001 From: Li Shuai Date: Mon, 14 Apr 2025 16:18:59 +0800 Subject: [PATCH] change(esp_hw_support): modify to resolve some review threads --- components/esp_hw_support/sdkconfig.rename | 2 ++ .../configs/sdkconfig.flash_auto_suspend_iram_reduction | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/components/esp_hw_support/sdkconfig.rename b/components/esp_hw_support/sdkconfig.rename index 7addeba065..e2083287ef 100644 --- a/components/esp_hw_support/sdkconfig.rename +++ b/components/esp_hw_support/sdkconfig.rename @@ -7,3 +7,5 @@ CONFIG_FOUR_UNIVERSAL_MAC_ADDRESS CONFIG_ESP32_UNIVERSAL_M CONFIG_ESP_SYSTEM_PD_FLASH CONFIG_ESP_SLEEP_POWER_DOWN_FLASH CONFIG_ESP_SYSTEM_BROWNOUT_INTR CONFIG_ESP_BROWNOUT_USE_INTR + +CONFIG_PERIPH_CTRL_FUNC_IN_IRAM CONFIG_ESP_PERIPH_CTRL_FUNC_IN_IRAM diff --git a/tools/test_apps/configs/sdkconfig.flash_auto_suspend_iram_reduction b/tools/test_apps/configs/sdkconfig.flash_auto_suspend_iram_reduction index 440bf6a236..32298fa74b 100644 --- a/tools/test_apps/configs/sdkconfig.flash_auto_suspend_iram_reduction +++ b/tools/test_apps/configs/sdkconfig.flash_auto_suspend_iram_reduction @@ -19,3 +19,9 @@ CONFIG_SPI_FLASH_PLACE_FUNCTIONS_IN_IRAM=n CONFIG_ESP_INTR_IN_IRAM=n CONFIG_LOG_IN_IRAM=n CONFIG_ESP_ROM_PRINT_IN_IRAM=n +# Low power related options +CONFIG_PM_SLEEP_FUNC_IN_IRAM=n +CONFIG_PM_SLP_IRAM_OPT=n +CONFIG_PM_RTOS_IDLE_OPT=n +CONFIG_ESP_PERIPH_CTRL_FUNC_IN_IRAM=n +CONFIG_ESP_REGI2C_CTRL_FUNC_IN_IRAM=n