boards: riscv: esp32c3_devkitm: Convert to v2

Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae
2024-02-19 13:46:49 +00:00
committed by Carles Cufi
parent be1ee1c446
commit 0a96dcb778
11 changed files with 10 additions and 17 deletions

View File

@@ -3,10 +3,6 @@
# Copyright (c) 2021 Espressif Systems (Shanghai) Co., Ltd.
# SPDX-License-Identifier: Apache-2.0
config BOARD
default "esp32c3_devkitm"
depends on BOARD_ESP32C3_DEVKITM
config HEAP_MEM_POOL_ADD_SIZE_BOARD
int
default 65535 if WIFI && BT

View File

@@ -4,9 +4,4 @@
# SPDX-License-Identifier: Apache-2.0
config BOARD_ESP32C3_DEVKITM
bool "ESP32C3 Devkit-M Board"
depends on SOC_SERIES_ESP32C3
choice SOC_PART_NUMBER
default SOC_ESP32C3_MINI_N4
endchoice
select SOC_ESP32C3_MINI_N4

View File

@@ -0,0 +1,5 @@
board:
name: esp32c3_devkitm
vendor: espressif
socs:
- name: esp32c3

View File

@@ -144,9 +144,9 @@ Zephyr build. Output is structured by the domain subdirectories:
build/
├── hello_world
   └── zephyr
   ├── zephyr.elf
   └── zephyr.bin
└── zephyr
├── zephyr.elf
└── zephyr.bin
├── mcuboot
│ └── zephyr
│ ├── zephyr.elf

View File

@@ -11,7 +11,7 @@
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "esp32c3_devkitm";
model = "Espressif ESP32-DevkitM";
compatible = "espressif,esp32c3";
chosen {

View File

@@ -1,8 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_BOARD_ESP32C3_DEVKITM=y
CONFIG_SOC_SERIES_ESP32C3=y
CONFIG_MAIN_STACK_SIZE=2048
CONFIG_CONSOLE=y