From a509360467bc26e7349240f542b91bb021ff707a Mon Sep 17 00:00:00 2001 From: cjin Date: Wed, 29 Jul 2026 17:50:06 +0800 Subject: [PATCH] feat(ble): added CONFIG_PM_SLP_IRAM_OPT to make sure cache error check --- examples/bluetooth/nimble/power_save/sdkconfig.32m.esp32h2 | 1 + examples/bluetooth/nimble/power_save/sdkconfig.40m.esp32c6 | 1 + examples/bluetooth/nimble/power_save/sdkconfig.defaults.esp32c6 | 1 + examples/bluetooth/nimble/power_save/sdkconfig.defaults.esp32h2 | 1 + 4 files changed, 4 insertions(+) diff --git a/examples/bluetooth/nimble/power_save/sdkconfig.32m.esp32h2 b/examples/bluetooth/nimble/power_save/sdkconfig.32m.esp32h2 index 6c20e893077..7726e218602 100644 --- a/examples/bluetooth/nimble/power_save/sdkconfig.32m.esp32h2 +++ b/examples/bluetooth/nimble/power_save/sdkconfig.32m.esp32h2 @@ -16,5 +16,6 @@ CONFIG_PM_POWER_DOWN_CPU_IN_LIGHT_SLEEP=y # Sleep Config # CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y +CONFIG_PM_SLP_IRAM_OPT=y CONFIG_ESP_SLEEP_CACHE_SAFE_ASSERTION=y # end of Sleep Config diff --git a/examples/bluetooth/nimble/power_save/sdkconfig.40m.esp32c6 b/examples/bluetooth/nimble/power_save/sdkconfig.40m.esp32c6 index 138297069b6..230ff99fc0d 100644 --- a/examples/bluetooth/nimble/power_save/sdkconfig.40m.esp32c6 +++ b/examples/bluetooth/nimble/power_save/sdkconfig.40m.esp32c6 @@ -19,5 +19,6 @@ CONFIG_FREERTOS_USE_TICKLESS_IDLE=y # CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y CONFIG_ESP_PHY_MAC_BB_PD=y +CONFIG_PM_SLP_IRAM_OPT=y CONFIG_ESP_SLEEP_CACHE_SAFE_ASSERTION=y # end of Sleep Config diff --git a/examples/bluetooth/nimble/power_save/sdkconfig.defaults.esp32c6 b/examples/bluetooth/nimble/power_save/sdkconfig.defaults.esp32c6 index 830f6c208e7..8b957a571f8 100644 --- a/examples/bluetooth/nimble/power_save/sdkconfig.defaults.esp32c6 +++ b/examples/bluetooth/nimble/power_save/sdkconfig.defaults.esp32c6 @@ -20,6 +20,7 @@ CONFIG_FREERTOS_USE_TICKLESS_IDLE=y # CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y CONFIG_ESP_PHY_MAC_BB_PD=y +CONFIG_PM_SLP_IRAM_OPT=y CONFIG_ESP_SLEEP_CACHE_SAFE_ASSERTION=y # end of Sleep Config diff --git a/examples/bluetooth/nimble/power_save/sdkconfig.defaults.esp32h2 b/examples/bluetooth/nimble/power_save/sdkconfig.defaults.esp32h2 index cec286a8887..4c3b0243803 100644 --- a/examples/bluetooth/nimble/power_save/sdkconfig.defaults.esp32h2 +++ b/examples/bluetooth/nimble/power_save/sdkconfig.defaults.esp32h2 @@ -17,6 +17,7 @@ CONFIG_PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP=y # Sleep Config # CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y +CONFIG_PM_SLP_IRAM_OPT=y CONFIG_ESP_SLEEP_CACHE_SAFE_ASSERTION=y # end of Sleep Config