From dc9170966b4e8c2a4b6e864fb78099c286ea9f8f Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Thu, 8 Aug 2019 15:27:47 +1000 Subject: [PATCH] freertos: Force UNICORE mode on ESP32S2 --- components/freertos/Kconfig | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/components/freertos/Kconfig b/components/freertos/Kconfig index 2fdd3cc558..06461b9198 100644 --- a/components/freertos/Kconfig +++ b/components/freertos/Kconfig @@ -1,9 +1,15 @@ menu "FreeRTOS" - # This is actually also handled in the ESP32 startup code, not only in 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" - default y if IDF_TARGET_ESP32S2BETA default n help This version of FreeRTOS normally takes control of all cores of