boards: riscv: xiao_esp32c3: 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:47:40 +00:00
committed by Carles Cufi
parent fc7c6a060b
commit 3c670e4e53
15 changed files with 13 additions and 20 deletions

View File

@@ -1,10 +0,0 @@
# Copyright 2022 Google LLC
# SPDX-License-Identifier: Apache-2.0
config BOARD_XIAO_ESP32C3
bool "XIAO ESP32C3 Board"
depends on SOC_SERIES_ESP32C3
choice SOC_PART_NUMBER
default SOC_ESP32C3_FX4
endchoice

View File

@@ -1,10 +1,6 @@
# Copyright 2022 Google LLC
# SPDX-License-Identifier: Apache-2.0
config BOARD
default "xiao_esp32c3"
depends on BOARD_XIAO_ESP32C3
config HEAP_MEM_POOL_ADD_SIZE_BOARD
int
default 65535 if WIFI && BT

View File

@@ -0,0 +1,5 @@
# Copyright 2022 Google LLC
# SPDX-License-Identifier: Apache-2.0
config BOARD_XIAO_ESP32C3
select SOC_ESP32C3_FX4

View File

@@ -0,0 +1,5 @@
board:
name: xiao_esp32c3
vendor: seeed
socs:
- name: esp32c3

View File

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View File

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB

View File

@@ -132,9 +132,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

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