From c7c43df0dab29670bfb2eef27b3cd1757ee61e7a Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Wed, 6 Jan 2021 16:36:52 +1100 Subject: [PATCH] esp_common: Correctly disable ".bss segment placed in external memory" for ESP32-S2 & ESP32-S3 Support for this feature is still pending. As reported by https://github.com/espressif/esp-idf/issues/6162 --- components/esp_common/Kconfig.spiram.common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_common/Kconfig.spiram.common b/components/esp_common/Kconfig.spiram.common index b7229bd49d..e10d5cf588 100644 --- a/components/esp_common/Kconfig.spiram.common +++ b/components/esp_common/Kconfig.spiram.common @@ -92,7 +92,7 @@ config SPIRAM_MALLOC_RESERVE_INTERNAL config SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY bool "Allow .bss segment placed in external memory" default n - depends on SPIRAM + depends on SPIRAM && IDF_TARGET_ESP32 # TODO ESP32-S2 IDFGH-4320, ESP32-S3 IDF-1974 select ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY help If enabled, variables with EXT_RAM_ATTR attribute will be placed in SPIRAM instead of internal DRAM.