From 96f19aa71964957b00310d042cbc6e67022949d2 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Sat, 31 Aug 2024 12:49:25 +0900 Subject: [PATCH] esp32: enable smp for esp32-devkitc:psram config --- boards/xtensa/esp32/esp32-devkitc/configs/psram/defconfig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/psram/defconfig b/boards/xtensa/esp32/esp32-devkitc/configs/psram/defconfig index 9450b5475e..27a3d4fbf6 100644 --- a/boards/xtensa/esp32/esp32-devkitc/configs/psram/defconfig +++ b/boards/xtensa/esp32/esp32-devkitc/configs/psram/defconfig @@ -15,6 +15,7 @@ CONFIG_ARCH_BOARD_ESP32_DEVKITC=y CONFIG_ARCH_CHIP="esp32" CONFIG_ARCH_CHIP_ESP32=y CONFIG_ARCH_CHIP_ESP32WROVER=y +CONFIG_ARCH_INTERRUPTSTACK=2048 CONFIG_ARCH_STACKDUMP=y CONFIG_ARCH_XTENSA=y CONFIG_BOARD_LOOPSPERMSEC=16717 @@ -36,7 +37,7 @@ CONFIG_IOB_NBUFFERS=36 CONFIG_IOB_NCHAINS=36 CONFIG_IOB_THROTTLE=8 CONFIG_MM_IOB=y -CONFIG_MM_REGIONS=4 +CONFIG_MM_REGIONS=5 CONFIG_NSH_ARCHINIT=y CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 @@ -48,10 +49,13 @@ CONFIG_RAM_START=0x20000000 CONFIG_RR_INTERVAL=200 CONFIG_SCHED_HPWORK=y CONFIG_SCHED_WAITPID=y +CONFIG_SMP=y +CONFIG_SMP_NCPUS=2 CONFIG_START_DAY=6 CONFIG_START_MONTH=12 CONFIG_START_YEAR=2011 CONFIG_SYSLOG_BUFFER=y CONFIG_SYSTEM_NSH=y CONFIG_TESTING_MM=y +CONFIG_TESTING_SMP=y CONFIG_UART0_SERIAL_CONSOLE=y