soc: xtensa: Use HEAP_MEM_POOL_ADD_SIZE KConfig options

Kconfig options with a HEAP_MEM_POOL_ADD_SIZE_ prefix should be used to
set the minimum required system heap size. This helps prevent
applications from creating a non-working image by trying to set a too
small value.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
Johan Hedberg 2023-11-29 11:46:27 +02:00 committed by Carles Cufí
commit ec23622b07
2 changed files with 4 additions and 4 deletions

View file

@ -18,8 +18,8 @@ config MP_MAX_NUM_CPUS
config ISR_STACK_SIZE
default 2048
config HEAP_MEM_POOL_SIZE
default 32768
config HEAP_MEM_POOL_ADD_SIZE_SOC
def_int 32768
config ESPTOOLPY_FLASHFREQ_80M
default y

View file

@ -6,8 +6,8 @@ if SOC_SERIES_ESP32S3
config SOC_SERIES
default "esp32s3"
config HEAP_MEM_POOL_SIZE
default 32768
config HEAP_MEM_POOL_ADD_SIZE_SOC
def_int 32768
config MINIMAL_LIBC_OPTIMIZE_STRING_FOR_SIZE
default n