Prechádzať zdrojové kódy

freertos: Have ESP32S2-Beta target select FREERTOS_UNICORE directly

Angus Gratton 6 rokov pred
rodič
commit
2085845c80
2 zmenil súbory, kde vykonal 1 pridanie a 7 odobranie
  1. 1 0
      Kconfig
  2. 0 7
      components/freertos/Kconfig

+ 1 - 0
Kconfig

@@ -38,6 +38,7 @@ mainmenu "Espressif IoT Development Framework Configuration"
         bool
         default "y" if IDF_TARGET="esp32s2beta"
         default "n"
+        select FREERTOS_UNICORE
 
     menu "SDK tool configuration"
         config SDK_TOOLPREFIX

+ 0 - 7
components/freertos/Kconfig

@@ -1,12 +1,5 @@
 menu "FreeRTOS"
 
-    config FREERTOS_SINGLE_CORE_ONLY
-        # invisible config item to always select FREERTOS_UNICORE on single core IDF_TARGET
-        bool
-        default y
-        depends on IDF_TARGET_ESP32S2BETA
-        select FREERTOS_UNICORE
-
     config FREERTOS_UNICORE
         # This config variable is also checked in the ESP32 startup code, not only in FreeRTOS.
         bool "Run FreeRTOS only on first core"