Skip to content

Commit 847ffd0

Browse files
committed
boards: xtensa: esp32_devkitc_wroom: Convert to v2
Converts the board to hwmv2 Signed-off-by: Jamie McCrae <[email protected]>
1 parent f97da1a commit 847ffd0

19 files changed

+109
-80
lines changed

boards/boards_legacy/xtensa/esp32_devkitc_wroom/Kconfig.board

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

boards/boards_legacy/xtensa/esp32_devkitc_wroom/esp32_devkitc_wroom_appcpu.dts

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

boards/boards_legacy/xtensa/esp32_devkitc_wroom/esp32_devkitc_wroom_appcpu_defconfig

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config BOARD_ESP32_DEVKITC_WROOM
5+
select SOC_ESP32_PROCPU if BOARD_ESP32_DEVKITC_WROOM_ESP32_PROCPU
6+
select SOC_ESP32_APPCPU if BOARD_ESP32_DEVKITC_WROOM_ESP32_APPCPU

boards/boards_legacy/xtensa/esp32_devkitc_wroom/Kconfig.defconfig renamed to boards/espressif/esp32_devkitc_wroom/Kconfig.defconfig

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
# Copyright (c) 2017 Intel Corporation
44
# SPDX-License-Identifier: Apache-2.0
55

6-
if BOARD_ESP32_DEVKITC_WROOM
7-
8-
config BOARD
9-
default "esp32_devkitc_wroom"
6+
if BOARD_ESP32_DEVKITC_WROOM_ESP32_PROCPU
107

118
config HEAP_MEM_POOL_ADD_SIZE_BOARD
129
int
@@ -19,20 +16,11 @@ choice BT_HCI_BUS_TYPE
1916
default BT_ESP32 if BT
2017
endchoice
2118

22-
endif # BOARD_ESP32_DEVKITC_WROOM
23-
24-
if BOARD_ESP32_DEVKITC_WROOM_APPCPU
19+
endif # BOARD_ESP32_DEVKITC_WROOM_ESP32_PROCPU
2520

26-
config BOARD
27-
default "esp32_devkitc_wroom_appcpu"
21+
if BOARD_ESP32_DEVKITC_WROOM_ESP32_APPCPU
2822

2923
config HEAP_MEM_POOL_ADD_SIZE_BOARD
3024
default 4096
3125

32-
config KERNEL_BIN_NAME
33-
default "esp32_appcpu_firmware"
34-
35-
endif # BOARD_ESP32_DEVKITC_WROOM_APPCPU
36-
37-
config ENTROPY_GENERATOR
38-
default y
26+
endif # BOARD_ESP32_DEVKITC_WROOM_ESP32_APPCPU
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config BOARD_ESP32_DEVKITC_WROOM
5+
select SOC_ESP32_WROOM_32UE_N4
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
board:
2+
name: esp32_devkitc_wroom
3+
vendor: espressif
4+
socs:
5+
- name: esp32

0 commit comments

Comments
 (0)