diff --git a/soc/espressif/esp32/Kconfig.defconfig b/soc/espressif/esp32/Kconfig.defconfig index c2217013826..44a4aa96b4f 100644 --- a/soc/espressif/esp32/Kconfig.defconfig +++ b/soc/espressif/esp32/Kconfig.defconfig @@ -12,6 +12,9 @@ config FLASH_BASE_ADDRESS config BOOTLOADER_MCUBOOT default y if SOC_ESP32_APPCPU +config MAIN_STACK_SIZE + default 2048 + if SMP config SCHED_IPI_SUPPORTED diff --git a/soc/espressif/esp32c2/Kconfig.defconfig b/soc/espressif/esp32c2/Kconfig.defconfig index 36604de6fe4..21877a186a9 100644 --- a/soc/espressif/esp32c2/Kconfig.defconfig +++ b/soc/espressif/esp32c2/Kconfig.defconfig @@ -14,4 +14,7 @@ config FLASH_SIZE config FLASH_BASE_ADDRESS default $(dt_node_reg_addr_hex,/soc/flash-controller@60002000/flash@0) +config MAIN_STACK_SIZE + default 2048 + endif # SOC_SERIES_ESP32C2 diff --git a/soc/espressif/esp32c3/Kconfig.defconfig b/soc/espressif/esp32c3/Kconfig.defconfig index 43d1d471ab6..1e9f47ad6a3 100644 --- a/soc/espressif/esp32c3/Kconfig.defconfig +++ b/soc/espressif/esp32c3/Kconfig.defconfig @@ -12,4 +12,7 @@ config FLASH_SIZE config FLASH_BASE_ADDRESS default $(dt_node_reg_addr_hex,/soc/flash-controller@60002000/flash@0) +config MAIN_STACK_SIZE + default 2048 + endif # SOC_SERIES_ESP32C3 diff --git a/soc/espressif/esp32c6/Kconfig.defconfig b/soc/espressif/esp32c6/Kconfig.defconfig index feb27615d9f..69a04a39a37 100644 --- a/soc/espressif/esp32c6/Kconfig.defconfig +++ b/soc/espressif/esp32c6/Kconfig.defconfig @@ -14,4 +14,7 @@ config FLASH_SIZE config FLASH_BASE_ADDRESS default $(dt_node_reg_addr_hex,/soc/flash-controller@60002000/flash@0) +config MAIN_STACK_SIZE + default 2048 + endif # SOC_SERIES_ESP32C6 diff --git a/soc/espressif/esp32s2/Kconfig.defconfig b/soc/espressif/esp32s2/Kconfig.defconfig index ec58addff67..d79c78ba972 100644 --- a/soc/espressif/esp32s2/Kconfig.defconfig +++ b/soc/espressif/esp32s2/Kconfig.defconfig @@ -9,4 +9,7 @@ config FLASH_SIZE config FLASH_BASE_ADDRESS default $(dt_node_reg_addr_hex,/soc/flash-controller@3f402000/flash@0) +config MAIN_STACK_SIZE + default 2048 + endif # SOC_SERIES_ESP32S2 diff --git a/soc/espressif/esp32s3/Kconfig.defconfig b/soc/espressif/esp32s3/Kconfig.defconfig index 110471dba62..171e1f8adce 100644 --- a/soc/espressif/esp32s3/Kconfig.defconfig +++ b/soc/espressif/esp32s3/Kconfig.defconfig @@ -12,4 +12,7 @@ config FLASH_BASE_ADDRESS config BOOTLOADER_MCUBOOT default y if SOC_ESP32S3_APPCPU +config MAIN_STACK_SIZE + default 4096 + endif # SOC_SERIES_ESP32S3