From 548131476efab59b473377f2b9622806600cbf94 Mon Sep 17 00:00:00 2001 From: Marek Matej Date: Mon, 2 Sep 2024 14:39:09 +0200 Subject: [PATCH] boards: espressif: Update system heap increment Remove the system heap increment based on used parts. Signed-off-by: Marek Matej --- boards/espressif/esp32_devkitc_wroom/Kconfig.defconfig | 5 +---- boards/espressif/esp32_devkitc_wrover/Kconfig.defconfig | 5 +---- boards/espressif/esp32_ethernet_kit/Kconfig.defconfig | 5 +---- boards/espressif/esp32c3_devkitc/Kconfig.defconfig | 5 +---- boards/espressif/esp32s2_devkitc/Kconfig.defconfig | 3 +-- boards/espressif/esp32s2_devkitc/esp32s2_devkitc_defconfig | 1 - boards/espressif/esp32s2_saola/Kconfig.defconfig | 3 +-- boards/espressif/esp32s3_devkitc/Kconfig.defconfig | 3 --- boards/espressif/esp32s3_devkitm/Kconfig.defconfig | 3 --- boards/espressif/esp8684_devkitm/Kconfig.defconfig | 5 +---- boards/espressif/esp_wrover_kit/Kconfig.defconfig | 5 +---- 11 files changed, 8 insertions(+), 35 deletions(-) diff --git a/boards/espressif/esp32_devkitc_wroom/Kconfig.defconfig b/boards/espressif/esp32_devkitc_wroom/Kconfig.defconfig index 374b423b5483cc..94d147b529f5b5 100644 --- a/boards/espressif/esp32_devkitc_wroom/Kconfig.defconfig +++ b/boards/espressif/esp32_devkitc_wroom/Kconfig.defconfig @@ -7,10 +7,7 @@ if BOARD_ESP32_DEVKITC_WROOM_ESP32_PROCPU config HEAP_MEM_POOL_ADD_SIZE_BOARD int - default 65535 if WIFI && BT - default 51200 if WIFI - default 40960 if BT - default 4096 + default 8192 endif # BOARD_ESP32_DEVKITC_WROOM_ESP32_PROCPU diff --git a/boards/espressif/esp32_devkitc_wrover/Kconfig.defconfig b/boards/espressif/esp32_devkitc_wrover/Kconfig.defconfig index c56c404a40e7f7..a5f2c065833ba3 100644 --- a/boards/espressif/esp32_devkitc_wrover/Kconfig.defconfig +++ b/boards/espressif/esp32_devkitc_wrover/Kconfig.defconfig @@ -5,10 +5,7 @@ if BOARD_ESP32_DEVKITC_WROVER_ESP32_PROCPU config HEAP_MEM_POOL_ADD_SIZE_BOARD int - default 65535 if WIFI && BT - default 51200 if WIFI - default 40960 if BT - default 4096 + default 8192 endif # BOARD_ESP32_DEVKITC_WROVER_ESP32_PROCPU diff --git a/boards/espressif/esp32_ethernet_kit/Kconfig.defconfig b/boards/espressif/esp32_ethernet_kit/Kconfig.defconfig index 75b0cc9f631efd..b3e17cd8c4e994 100644 --- a/boards/espressif/esp32_ethernet_kit/Kconfig.defconfig +++ b/boards/espressif/esp32_ethernet_kit/Kconfig.defconfig @@ -14,10 +14,7 @@ endchoice config HEAP_MEM_POOL_ADD_SIZE_BOARD int - default 65535 if WIFI && BT - default 51200 if WIFI - default 40960 if BT - default 4096 + default 8192 endif # BOARD_ESP32_ETHERNET_KIT_ESP32_PROCPU diff --git a/boards/espressif/esp32c3_devkitc/Kconfig.defconfig b/boards/espressif/esp32c3_devkitc/Kconfig.defconfig index 2e71f23c2d7c50..aa8bed9c1e23ca 100644 --- a/boards/espressif/esp32c3_devkitc/Kconfig.defconfig +++ b/boards/espressif/esp32c3_devkitc/Kconfig.defconfig @@ -5,7 +5,4 @@ config HEAP_MEM_POOL_ADD_SIZE_BOARD int - default 65535 if WIFI && BT - default 51200 if WIFI - default 40960 if BT - default 4096 + default 8192 diff --git a/boards/espressif/esp32s2_devkitc/Kconfig.defconfig b/boards/espressif/esp32s2_devkitc/Kconfig.defconfig index 03bfd65b195e2c..e4ef6b1c24a722 100644 --- a/boards/espressif/esp32s2_devkitc/Kconfig.defconfig +++ b/boards/espressif/esp32s2_devkitc/Kconfig.defconfig @@ -8,5 +8,4 @@ config ENTROPY_GENERATOR config HEAP_MEM_POOL_ADD_SIZE_BOARD int - default 32768 if WIFI - default 4096 + default 8192 diff --git a/boards/espressif/esp32s2_devkitc/esp32s2_devkitc_defconfig b/boards/espressif/esp32s2_devkitc/esp32s2_devkitc_defconfig index 5476839e2ba638..f029cac9e9e77b 100644 --- a/boards/espressif/esp32s2_devkitc/esp32s2_devkitc_defconfig +++ b/boards/espressif/esp32s2_devkitc/esp32s2_devkitc_defconfig @@ -1,6 +1,5 @@ # SPDX-License-Identifier: Apache-2.0 - CONFIG_MAIN_STACK_SIZE=2048 CONFIG_CONSOLE=y diff --git a/boards/espressif/esp32s2_saola/Kconfig.defconfig b/boards/espressif/esp32s2_saola/Kconfig.defconfig index 5beaa3e15b1724..2126b0a5979eab 100644 --- a/boards/espressif/esp32s2_saola/Kconfig.defconfig +++ b/boards/espressif/esp32s2_saola/Kconfig.defconfig @@ -8,5 +8,4 @@ config ENTROPY_GENERATOR config HEAP_MEM_POOL_ADD_SIZE_BOARD int - default 32768 if WIFI - default 4096 + default 8192 diff --git a/boards/espressif/esp32s3_devkitc/Kconfig.defconfig b/boards/espressif/esp32s3_devkitc/Kconfig.defconfig index d539cd6652349f..80ccffe84ffc64 100644 --- a/boards/espressif/esp32s3_devkitc/Kconfig.defconfig +++ b/boards/espressif/esp32s3_devkitc/Kconfig.defconfig @@ -7,9 +7,6 @@ if BOARD_ESP32S3_DEVKITC_ESP32S3_PROCPU config HEAP_MEM_POOL_ADD_SIZE_BOARD int - default 65535 if WIFI && BT - default 51200 if WIFI - default 40960 if BT default 4096 endif # BOARD_ESP32S3_DEVKITC_ESP32S3_PROCPU diff --git a/boards/espressif/esp32s3_devkitm/Kconfig.defconfig b/boards/espressif/esp32s3_devkitm/Kconfig.defconfig index 26339590ee31e4..5438681fcdfde7 100644 --- a/boards/espressif/esp32s3_devkitm/Kconfig.defconfig +++ b/boards/espressif/esp32s3_devkitm/Kconfig.defconfig @@ -7,9 +7,6 @@ if BOARD_ESP32S3_DEVKITM_ESP32S3_PROCPU config HEAP_MEM_POOL_ADD_SIZE_BOARD int - default 65535 if WIFI && BT - default 51200 if WIFI - default 40960 if BT default 4096 endif # BOARD_ESP32S3_DEVKITM_ESP32S3_PROCPU diff --git a/boards/espressif/esp8684_devkitm/Kconfig.defconfig b/boards/espressif/esp8684_devkitm/Kconfig.defconfig index 60266dd5fd8fc9..1d2813b0bc19dc 100644 --- a/boards/espressif/esp8684_devkitm/Kconfig.defconfig +++ b/boards/espressif/esp8684_devkitm/Kconfig.defconfig @@ -5,7 +5,4 @@ config HEAP_MEM_POOL_ADD_SIZE_BOARD int - default 65535 if WIFI && BT - default 51200 if WIFI - default 40960 if BT - default 4096 + default 8192 diff --git a/boards/espressif/esp_wrover_kit/Kconfig.defconfig b/boards/espressif/esp_wrover_kit/Kconfig.defconfig index adf8cd7e3980e0..84228983f4eb4e 100644 --- a/boards/espressif/esp_wrover_kit/Kconfig.defconfig +++ b/boards/espressif/esp_wrover_kit/Kconfig.defconfig @@ -7,10 +7,7 @@ if BOARD_ESP_WROVER_KIT_ESP32_PROCPU config HEAP_MEM_POOL_ADD_SIZE_BOARD int - default 65535 if WIFI && BT - default 51200 if WIFI - default 40960 if BT - default 4096 + default 8192 config DISK_DRIVER_SDMMC default y