]> granicus.if.org Git - esp-idf/commitdiff
bugfix/remove MEMMAP_SMP config
authorDarian Leung <darian@espressif.com>
Tue, 27 Feb 2018 04:37:09 +0000 (12:37 +0800)
committerDarian Leung <darian@espressif.com>
Tue, 27 Feb 2018 09:56:44 +0000 (17:56 +0800)
This commit removes the MEMMAP_SMP config option.
Dependencies on this config will now depend on !FREERTOS_UNICORE

components/esp32/Kconfig

index 4ac1685d0f35790a1a2392405de7eb15e9703404..b57856234e2dc28d5173228fd31446bd4e69ad3a 100644 (file)
@@ -20,13 +20,6 @@ config ESP32_DEFAULT_CPU_FREQ_MHZ
     default 160 if ESP32_DEFAULT_CPU_FREQ_160
     default 240 if ESP32_DEFAULT_CPU_FREQ_240
 
-config MEMMAP_SMP
-    bool "Reserve memory for two cores"
-    default "y"
-    help
-        The ESP32 contains two cores. If you plan to only use one, you can disable this item
-        to save some memory. (ToDo: Make this automatically depend on unicore support)
-
 config SPIRAM_SUPPORT
     bool "Support for external, SPI-connected RAM"
     default "n"
@@ -197,7 +190,7 @@ config ESP32_TRAX
 config ESP32_TRAX_TWOBANKS
     bool "Reserve memory for tracing both pro as well as app cpu execution"
     default "n"
-    depends on ESP32_TRAX && MEMMAP_SMP
+    depends on ESP32_TRAX && !FREERTOS_UNICORE
     select MEMMAP_TRACEMEM_TWOBANKS
     help
         The ESP32 contains a feature which allows you to trace the execution path the processor