From 78392f0e841a435ca127461065c269472c4aa3c0 Mon Sep 17 00:00:00 2001 From: Marius Vikhammer Date: Tue, 1 Jun 2021 17:10:28 +0800 Subject: [PATCH] ULP: reduce max possible memory reserved for ULP coprocessor Some RTC slow memory is reserved by IDF, reduce CONFIG_TARGET_ULP_COPROC_RESERVE_MEM range to reflect this. Closes https://github.com/espressif/esp-idf/issues/7073 --- components/esp32/Kconfig | 2 +- components/esp32s2/Kconfig | 2 +- components/esp32s3/Kconfig | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/esp32/Kconfig b/components/esp32/Kconfig index 7cfcf86a22..e98b5321f5 100644 --- a/components/esp32/Kconfig +++ b/components/esp32/Kconfig @@ -423,7 +423,7 @@ menu "ESP32-specific" int prompt "RTC slow memory reserved for coprocessor" if ESP32_ULP_COPROC_ENABLED default 512 if ESP32_ULP_COPROC_ENABLED - range 32 8192 if ESP32_ULP_COPROC_ENABLED + range 32 8176 if ESP32_ULP_COPROC_ENABLED default 0 if !ESP32_ULP_COPROC_ENABLED range 0 0 if !ESP32_ULP_COPROC_ENABLED help diff --git a/components/esp32s2/Kconfig b/components/esp32s2/Kconfig index 9ff302f698..cfc2aaa7cc 100644 --- a/components/esp32s2/Kconfig +++ b/components/esp32s2/Kconfig @@ -264,7 +264,7 @@ menu "ESP32S2-specific" int prompt "RTC slow memory reserved for coprocessor" if ESP32S2_ULP_COPROC_ENABLED default 2048 if ESP32S2_ULP_COPROC_ENABLED - range 32 8192 if ESP32S2_ULP_COPROC_ENABLED + range 32 8176 if ESP32S2_ULP_COPROC_ENABLED default 0 if !ESP32S2_ULP_COPROC_ENABLED range 0 0 if !ESP32S2_ULP_COPROC_ENABLED help diff --git a/components/esp32s3/Kconfig b/components/esp32s3/Kconfig index c6db9be5ce..fa82f3f3c5 100644 --- a/components/esp32s3/Kconfig +++ b/components/esp32s3/Kconfig @@ -330,7 +330,7 @@ menu "ESP32S3-Specific" int prompt "RTC slow memory reserved for coprocessor" if ESP32S3_ULP_COPROC_ENABLED default 512 if ESP32S3_ULP_COPROC_ENABLED - range 32 8192 if ESP32S3_ULP_COPROC_ENABLED + range 32 8176 if ESP32S3_ULP_COPROC_ENABLED default 0 if !ESP32S3_ULP_COPROC_ENABLED range 0 0 if !ESP32S3_ULP_COPROC_ENABLED help