Skip to content

Commit 375a250

Browse files
committed
esp32/sdkconfig: Change to use single core only.
There seem to be random crashes when using both cores at the same time. It's hard to reproduce, but, for example, changing the order of object files on the command line to the linker can make the difference between crash and no crash. And the start up code will always get at least as far as starting the PRO CPU. Espressif also changed the default config setting to use only a single core. It may be related to SPI flash and cache because the SPI flash driver plays some tricks to get both CPUs to stop while accessing the flash.
1 parent 609644a commit 375a250

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

esp32/sdkconfig.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#define CONFIG_LWIP_MAX_SOCKETS 4
2424
#define CONFIG_ULP_COPROC_RESERVE_MEM 0
2525
#define CONFIG_ESPTOOLPY_BAUD 115200
26-
#define CONFIG_INT_WDT_CHECK_CPU1 1
26+
#define CONFIG_INT_WDT_CHECK_CPU1 0
2727
#define CONFIG_TOOLPREFIX "xtensa-esp32-elf-"
2828
#define CONFIG_CONSOLE_UART_NUM 0
2929
#define CONFIG_ESP32_RTC_CLOCK_SOURCE_INTERNAL_RC 1
@@ -66,6 +66,7 @@
6666
#define CONFIG_ESP32_DEBUG_OCDAWARE 1
6767
#define CONFIG_FREERTOS_BREAK_ON_SCHEDULER_START_JTAG 1
6868
#define CONFIG_MBEDTLS_HARDWARE_SHA 1
69+
#define CONFIG_FREERTOS_UNICORE 1
6970
#define CONFIG_FREERTOS_CORETIMER_0 1
7071
#define CONFIG_PARTITION_TABLE_CUSTOM_FILENAME "partitions.csv"
7172
#define CONFIG_FREERTOS_ISR_STACKSIZE 1536

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy