Skip to content

Commit 9403b08

Browse files
sylvioalvesfabiobaltieri
authored andcommitted
boards: esp32: move board specific kconfig definitions
HEAP_MEM_POOL_ADD_SIZE_BOARD is not a zephyr-defined entry and should be placed into Kconfig instead of Kconfig.defconfig. This PR moves that entry for all ESP32-based boards accordingly. Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
1 parent 4ec2661 commit 9403b08

File tree

73 files changed

+225
-509
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+225
-509
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
# ESP8684 devkitm board configuration
2-
31
# Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd.
42
# SPDX-License-Identifier: Apache-2.0
53

64
config HEAP_MEM_POOL_ADD_SIZE_BOARD
75
int
8-
default 8192
6+
default 4096

boards/01space/esp32c3_042_oled/Kconfig.defconfig

Lines changed: 0 additions & 9 deletions
This file was deleted.

boards/dptechnics/walter/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config HEAP_MEM_POOL_ADD_SIZE_BOARD
5+
int
6+
default 4096 if BOARD_WALTER_ESP32S3_PROCPU
7+
default 256 if BOARD_WALTER_ESP32S3_APPCPU

boards/dptechnics/walter/Kconfig.defconfig

Lines changed: 0 additions & 20 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config HEAP_MEM_POOL_ADD_SIZE_BOARD
5+
int
6+
default 4096 if BOARD_ESP32_DEVKITC_WROOM_ESP32_PROCPU
7+
default 256 if BOARD_ESP32_DEVKITC_WROOM_ESP32_APPCPU

boards/espressif/esp32_devkitc_wroom/Kconfig.defconfig

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config HEAP_MEM_POOL_ADD_SIZE_BOARD
5+
int
6+
default 4096 if BOARD_ESP32_DEVKITC_WROVER_ESP32_PROCPU
7+
default 256 if BOARD_ESP32_DEVKITC_WROVER_ESP32_APPCPU

boards/espressif/esp32_devkitc_wrover/Kconfig.defconfig

Lines changed: 0 additions & 17 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config HEAP_MEM_POOL_ADD_SIZE_BOARD
5+
int
6+
default 4096 if BOARD_ESP32_ETHERNET_KIT_ESP32_PROCPU
7+
default 256 if BOARD_ESP32_ETHERNET_KIT_ESP32_APPCPU

boards/espressif/esp32_ethernet_kit/Kconfig.defconfig

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,4 @@ choice SPIRAM_TYPE
1212
default SPIRAM_TYPE_ESPPSRAM64
1313
endchoice
1414

15-
config HEAP_MEM_POOL_ADD_SIZE_BOARD
16-
int
17-
default 8192
18-
1915
endif # BOARD_ESP32_ETHERNET_KIT_ESP32_PROCPU
20-
21-
if BOARD_ESP32_ETHERNET_KIT_ESP32_APPCPU
22-
23-
config HEAP_MEM_POOL_ADD_SIZE_BOARD
24-
default 4096
25-
26-
endif # BOARD_ESP32_ETHERNET_KIT_ESP32_APPCPU

0 commit comments

Comments
 (0)