Skip to content

Commit a0d62db

Browse files
nordicjmkartben
authored andcommitted
soc: espressif: Move MAIN_STACK_SIZE to defconfig files
Moves this Kconfig value to be the default in the Kconfig.defconfig files Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
1 parent 9d262d0 commit a0d62db

File tree

6 files changed

+18
-0
lines changed

6 files changed

+18
-0
lines changed

soc/espressif/esp32/Kconfig.defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ config FLASH_BASE_ADDRESS
1212
config BOOTLOADER_MCUBOOT
1313
default y if SOC_ESP32_APPCPU
1414

15+
config MAIN_STACK_SIZE
16+
default 2048
17+
1518
if SMP
1619

1720
config SCHED_IPI_SUPPORTED

soc/espressif/esp32c2/Kconfig.defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,7 @@ config FLASH_SIZE
1414
config FLASH_BASE_ADDRESS
1515
default $(dt_node_reg_addr_hex,/soc/flash-controller@60002000/flash@0)
1616

17+
config MAIN_STACK_SIZE
18+
default 2048
19+
1720
endif # SOC_SERIES_ESP32C2

soc/espressif/esp32c3/Kconfig.defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,7 @@ config FLASH_SIZE
1212
config FLASH_BASE_ADDRESS
1313
default $(dt_node_reg_addr_hex,/soc/flash-controller@60002000/flash@0)
1414

15+
config MAIN_STACK_SIZE
16+
default 2048
17+
1518
endif # SOC_SERIES_ESP32C3

soc/espressif/esp32c6/Kconfig.defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,7 @@ config FLASH_SIZE
1414
config FLASH_BASE_ADDRESS
1515
default $(dt_node_reg_addr_hex,/soc/flash-controller@60002000/flash@0)
1616

17+
config MAIN_STACK_SIZE
18+
default 2048
19+
1720
endif # SOC_SERIES_ESP32C6

soc/espressif/esp32s2/Kconfig.defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@ config FLASH_SIZE
99
config FLASH_BASE_ADDRESS
1010
default $(dt_node_reg_addr_hex,/soc/flash-controller@3f402000/flash@0)
1111

12+
config MAIN_STACK_SIZE
13+
default 2048
14+
1215
endif # SOC_SERIES_ESP32S2

soc/espressif/esp32s3/Kconfig.defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,7 @@ config FLASH_BASE_ADDRESS
1212
config BOOTLOADER_MCUBOOT
1313
default y if SOC_ESP32S3_APPCPU
1414

15+
config MAIN_STACK_SIZE
16+
default 4096
17+
1518
endif # SOC_SERIES_ESP32S3

0 commit comments

Comments
 (0)