Skip to content

Commit fad5026

Browse files
committed
boards: xtensa: esp32_ethernet_kit: Convert to v2
Converts the board to hwmv2 Signed-off-by: Jamie McCrae <[email protected]>
1 parent 0f65e36 commit fad5026

24 files changed

+137
-24
lines changed
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_ETHERNET_KIT
5+
select SOC_ESP32_PROCPU if BOARD_ESP32_ETHERNET_KIT_ESP32_PROCPU
6+
select SOC_ESP32_APPCPU if BOARD_ESP32_ETHERNET_KIT_ESP32_APPCPU

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

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
# Copyright (c) 2022 Grant Ramsay <[email protected]>
44
# SPDX-License-Identifier: Apache-2.0
55

6-
config BOARD
7-
default "esp32_ethernet_kit"
8-
depends on BOARD_ESP32_ETHERNET_KIT
6+
if BOARD_ESP32_ETHERNET_KIT_ESP32_PROCPU
97

108
config ESP_SPIRAM
119
default y
@@ -14,9 +12,6 @@ choice SPIRAM_TYPE
1412
default SPIRAM_TYPE_ESPPSRAM64
1513
endchoice
1614

17-
config ENTROPY_GENERATOR
18-
default y
19-
2015
config HEAP_MEM_POOL_ADD_SIZE_BOARD
2116
int
2217
default 65535 if WIFI && BT
@@ -27,3 +22,12 @@ config HEAP_MEM_POOL_ADD_SIZE_BOARD
2722
choice BT_HCI_BUS_TYPE
2823
default BT_ESP32 if BT
2924
endchoice
25+
26+
endif # BOARD_ESP32_ETHERNET_KIT_ESP32_PROCPU
27+
28+
if BOARD_ESP32_ETHERNET_KIT_ESP32_APPCPU
29+
30+
config HEAP_MEM_POOL_ADD_SIZE_BOARD
31+
default 4096
32+
33+
endif # BOARD_ESP32_ETHERNET_KIT_ESP32_APPCPU

boards/boards_legacy/xtensa/esp32_ethernet_kit/Kconfig.board renamed to boards/espressif/esp32_ethernet_kit/Kconfig.esp32_ethernet_kit

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,4 @@
44
# SPDX-License-Identifier: Apache-2.0
55

66
config BOARD_ESP32_ETHERNET_KIT
7-
bool "ESP32-ETHERNET-KIT Development Board"
8-
depends on SOC_SERIES_ESP32
9-
10-
choice SOC_PART_NUMBER
11-
default SOC_ESP32_WROVER_E_N4R8
12-
endchoice
7+
select SOC_ESP32_WROVER_E_N4R8
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
board:
2+
name: esp32_ethernet_kit
3+
vendor: espressif
4+
socs:
5+
- name: esp32

0 commit comments

Comments
 (0)