]> granicus.if.org Git - esp-idf/commitdiff
freertos: default run program on 1st cpu
authorLiu Zhi Fu <liuzhifu@espressif.com>
Fri, 2 Dec 2016 10:17:57 +0000 (18:17 +0800)
committerLiu Zhi Fu <liuzhifu@espressif.com>
Fri, 2 Dec 2016 10:17:57 +0000 (18:17 +0800)
Modify the default cpu-mode to single cpu mode and always run the program on the 1st core

components/freertos/Kconfig

index b9db00e50babf23d29290a356a4610f17613359b..f03da6bc01ab0bc3ec23bef8fc3d3b01dc92082f 100644 (file)
@@ -3,7 +3,7 @@ menu "FreeRTOS"
 # This is actually also handled in the ESP32 startup code, not only in FreeRTOS.
 config FREERTOS_UNICORE
     bool "Run FreeRTOS only on first core"
-    default n
+    default y
     help
         This version of FreeRTOS normally takes control of all cores of 
         the CPU. Select this if you only want to start it on the first core.