Skip to content

Commit 7601db8

Browse files
walidbadarcfriedt
authored andcommitted
soc: esp32: Enable ESP32_REGION_1_NOINIT by default
Use DRAM region 1 as the default spill area for the `.noinit` section if appcpu is not present Signed-off-by: Muhammad Waleed Badar <[email protected]>
1 parent 493ce8e commit 7601db8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

soc/espressif/esp32/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ config ESP32_BT_RESERVE_DRAM
2222

2323
config ESP32_REGION_1_NOINIT
2424
bool "Use DRAM region 1 to spill noinit section"
25+
default y if !(SOC_ENABLE_APPCPU || SOC_ESP32_APPCPU)
2526
help
2627
ESP32 has two banks of size 192K and 128K which can be used
2728
as DRAM. Enabling this option would allocate .noinit sections

0 commit comments

Comments
 (0)