From 9423390c2e88bb33be0b9064b3d8f0583f6aee7e Mon Sep 17 00:00:00 2001 From: Liu Zhi Fu Date: Fri, 2 Dec 2016 17:35:49 +0800 Subject: [PATCH 1/2] esp32: fix tw6901 1. tw6904 - esp32 mode switch cause exception 2. tw8881 - set mac cause exception 3. Make pm_open/pm_shutdown thread-safe --- components/esp32/lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp32/lib b/components/esp32/lib index 3a412c08af..5902a2229e 160000 --- a/components/esp32/lib +++ b/components/esp32/lib @@ -1 +1 @@ -Subproject commit 3a412c08af1ace47a58d1f8722a8fed5b8d3b944 +Subproject commit 5902a2229e5371aeea45c09e63ea5e233b58750f From 5f47b85b875f8779e186a8ef869cc4d35ce59926 Mon Sep 17 00:00:00 2001 From: Liu Zhi Fu Date: Fri, 2 Dec 2016 18:17:57 +0800 Subject: [PATCH 2/2] freertos: default run program on 1st cpu Modify the default cpu-mode to single cpu mode and always run the program on the 1st core --- components/freertos/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/freertos/Kconfig b/components/freertos/Kconfig index b9db00e50b..f03da6bc01 100644 --- a/components/freertos/Kconfig +++ b/components/freertos/Kconfig @@ -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.