freertos: Have ESP32S2-Beta target select FREERTOS_UNICORE directly

This commit is contained in:
Angus Gratton 2019-08-19 15:02:34 +10:00 committed by Angus Gratton
parent 685c9cc867
commit 2085845c80
2 changed files with 1 additions and 7 deletions

View File

@ -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

View File

@ -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"