boards: riscv: stamp_c3: 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:21 +00:00
committed by Carles Cufi
parent 22c2edb89c
commit fc7c6a060b
13 changed files with 30 additions and 17 deletions

View File

@@ -0,0 +1,10 @@
.. _boards-espressif:
Espressif
#########
.. toctree::
:maxdepth: 1
:glob:
**/*

10
boards/m5stack/index.rst Normal file
View File

@@ -0,0 +1,10 @@
.. _boards-m5stack:
M5Stack
#######
.. toctree::
:maxdepth: 1
:glob:
**/*

View File

@@ -3,10 +3,6 @@
# Copyright 2022 TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD
default "stamp_c3"
depends on BOARD_STAMP_C3
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_STAMP_C3
bool "M5Stack STAMP-C3 Board"
depends on SOC_SERIES_ESP32C3
choice SOC_PART_NUMBER
default SOC_ESP32C3_FX4
endchoice
select SOC_ESP32C3_FX4

View File

@@ -0,0 +1,5 @@
board:
name: stamp_c3
vendor: m5stack
socs:
- name: esp32c3

View File

@@ -6,7 +6,7 @@ M5Stack STAMP-C3
Overview
********
STAMP-C3 featuring ESPRESSIF ESP32-C3 RISC-V MCU with Wi-Fi connectivity
STAMP-C3 featuring ESPRESSIF ESP32-C3 RISC-V MCU with Wi-Fi connectivity
for IoT edge devices such as home appliances and Industrial Automation.
For more details see the `M5Stack STAMP-C3`_ page.
@@ -108,9 +108,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_STAMP_C3=y
CONFIG_SOC_SERIES_ESP32C3=y
CONFIG_MAIN_STACK_SIZE=2048
CONFIG_CONSOLE=y