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:
committed by
Carles Cufi
parent
be1ee1c446
commit
0a96dcb778
@@ -3,10 +3,6 @@
|
|||||||
# Copyright (c) 2021 Espressif Systems (Shanghai) Co., Ltd.
|
# Copyright (c) 2021 Espressif Systems (Shanghai) Co., Ltd.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
config BOARD
|
|
||||||
default "esp32c3_devkitm"
|
|
||||||
depends on BOARD_ESP32C3_DEVKITM
|
|
||||||
|
|
||||||
config HEAP_MEM_POOL_ADD_SIZE_BOARD
|
config HEAP_MEM_POOL_ADD_SIZE_BOARD
|
||||||
int
|
int
|
||||||
default 65535 if WIFI && BT
|
default 65535 if WIFI && BT
|
||||||
@@ -4,9 +4,4 @@
|
|||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
config BOARD_ESP32C3_DEVKITM
|
config BOARD_ESP32C3_DEVKITM
|
||||||
bool "ESP32C3 Devkit-M Board"
|
select SOC_ESP32C3_MINI_N4
|
||||||
depends on SOC_SERIES_ESP32C3
|
|
||||||
|
|
||||||
choice SOC_PART_NUMBER
|
|
||||||
default SOC_ESP32C3_MINI_N4
|
|
||||||
endchoice
|
|
||||||
5
boards/espressif/esp32c3_devkitm/board.yml
Normal file
5
boards/espressif/esp32c3_devkitm/board.yml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
board:
|
||||||
|
name: esp32c3_devkitm
|
||||||
|
vendor: espressif
|
||||||
|
socs:
|
||||||
|
- name: esp32c3
|
||||||
@@ -144,9 +144,9 @@ Zephyr build. Output is structured by the domain subdirectories:
|
|||||||
|
|
||||||
build/
|
build/
|
||||||
├── hello_world
|
├── hello_world
|
||||||
│ └── zephyr
|
│ └── zephyr
|
||||||
│ ├── zephyr.elf
|
│ ├── zephyr.elf
|
||||||
│ └── zephyr.bin
|
│ └── zephyr.bin
|
||||||
├── mcuboot
|
├── mcuboot
|
||||||
│ └── zephyr
|
│ └── zephyr
|
||||||
│ ├── zephyr.elf
|
│ ├── zephyr.elf
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
#include <zephyr/dt-bindings/input/input-event-codes.h>
|
#include <zephyr/dt-bindings/input/input-event-codes.h>
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "esp32c3_devkitm";
|
model = "Espressif ESP32-DevkitM";
|
||||||
compatible = "espressif,esp32c3";
|
compatible = "espressif,esp32c3";
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
@@ -1,8 +1,5 @@
|
|||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
CONFIG_BOARD_ESP32C3_DEVKITM=y
|
|
||||||
CONFIG_SOC_SERIES_ESP32C3=y
|
|
||||||
|
|
||||||
CONFIG_MAIN_STACK_SIZE=2048
|
CONFIG_MAIN_STACK_SIZE=2048
|
||||||
|
|
||||||
CONFIG_CONSOLE=y
|
CONFIG_CONSOLE=y
|
||||||
Reference in New Issue
Block a user