Skip to content

Commit 0f8e935

Browse files
committed
boards: riscv: esp32c3_devkitm: Convert to v2
Converts the board to hwmv2 Signed-off-by: Jamie McCrae <[email protected]>
1 parent aa6e429 commit 0f8e935

File tree

11 files changed

+10
-17
lines changed

11 files changed

+10
-17
lines changed

boards/boards_legacy/riscv/esp32c3_devkitm/Kconfig.defconfig renamed to boards/espressif/esp32c3_devkitm/Kconfig.defconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
# Copyright (c) 2021 Espressif Systems (Shanghai) Co., Ltd.
44
# SPDX-License-Identifier: Apache-2.0
55

6-
config BOARD
7-
default "esp32c3_devkitm"
8-
depends on BOARD_ESP32C3_DEVKITM
9-
106
config HEAP_MEM_POOL_ADD_SIZE_BOARD
117
int
128
default 65535 if WIFI && BT

boards/boards_legacy/riscv/esp32c3_devkitm/Kconfig.board renamed to boards/espressif/esp32c3_devkitm/Kconfig.esp32c3_devkitm

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_ESP32C3_DEVKITM
7-
bool "ESP32C3 Devkit-M Board"
8-
depends on SOC_SERIES_ESP32C3
9-
10-
choice SOC_PART_NUMBER
11-
default SOC_ESP32C3_MINI_N4
12-
endchoice
7+
select SOC_ESP32C3_MINI_N4
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
board:
2+
name: esp32c3_devkitm
3+
vendor: espressif
4+
socs:
5+
- name: esp32c3

boards/boards_legacy/riscv/esp32c3_devkitm/doc/index.rst renamed to boards/espressif/esp32c3_devkitm/doc/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,9 @@ Zephyr build. Output is structured by the domain subdirectories:
144144
145145
build/
146146
├── hello_world
147-
   └── zephyr
148-
   ├── zephyr.elf
149-
   └── zephyr.bin
147+
└── zephyr
148+
├── zephyr.elf
149+
└── zephyr.bin
150150
├── mcuboot
151151
│ └── zephyr
152152
│ ├── zephyr.elf

boards/boards_legacy/riscv/esp32c3_devkitm/esp32c3_devkitm.dts renamed to boards/espressif/esp32c3_devkitm/esp32c3_devkitm.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include <zephyr/dt-bindings/input/input-event-codes.h>
1212

1313
/ {
14-
model = "esp32c3_devkitm";
14+
model = "Espressif ESP32-DevkitM";
1515
compatible = "espressif,esp32c3";
1616

1717
chosen {

boards/boards_legacy/riscv/esp32c3_devkitm/esp32c3_devkitm_defconfig renamed to boards/espressif/esp32c3_devkitm/esp32c3_devkitm_defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# SPDX-License-Identifier: Apache-2.0
22

3-
CONFIG_BOARD_ESP32C3_DEVKITM=y
4-
CONFIG_SOC_SERIES_ESP32C3=y
5-
63
CONFIG_MAIN_STACK_SIZE=2048
74

85
CONFIG_CONSOLE=y

0 commit comments

Comments
 (0)