Skip to content

Commit 43f94f5

Browse files
committed
boards: riscv: stamp_c3: Convert to v2
Converts the board to hwmv2 Signed-off-by: Jamie McCrae <[email protected]>
1 parent 4d2f35d commit 43f94f5

File tree

13 files changed

+30
-17
lines changed

13 files changed

+30
-17
lines changed

boards/espressif/index.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.. _boards-espressif:
2+
3+
Espressif
4+
#########
5+
6+
.. toctree::
7+
:maxdepth: 1
8+
:glob:
9+
10+
**/*

boards/m5stack/index.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.. _boards-m5stack:
2+
3+
M5Stack
4+
#######
5+
6+
.. toctree::
7+
:maxdepth: 1
8+
:glob:
9+
10+
**/*

boards/boards_legacy/riscv/stamp_c3/Kconfig.defconfig renamed to boards/m5stack/stamp_c3/Kconfig.defconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
# Copyright 2022 TOKITA Hiroshi <[email protected]>
44
# SPDX-License-Identifier: Apache-2.0
55

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

boards/boards_legacy/riscv/stamp_c3/Kconfig.board renamed to boards/m5stack/stamp_c3/Kconfig.stamp_c3

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_STAMP_C3
7-
bool "M5Stack STAMP-C3 Board"
8-
depends on SOC_SERIES_ESP32C3
9-
10-
choice SOC_PART_NUMBER
11-
default SOC_ESP32C3_FX4
12-
endchoice
7+
select SOC_ESP32C3_FX4

boards/m5stack/stamp_c3/board.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
board:
2+
name: stamp_c3
3+
vendor: m5stack
4+
socs:
5+
- name: esp32c3

boards/boards_legacy/riscv/stamp_c3/doc/index.rst renamed to boards/m5stack/stamp_c3/doc/index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ M5Stack STAMP-C3
66
Overview
77
********
88

9-
STAMP-C3 featuring ESPRESSIF ESP32-C3 RISC-V MCU with Wi-Fi connectivity
9+
STAMP-C3 featuring ESPRESSIF ESP32-C3 RISC-V MCU with Wi-Fi connectivity
1010
for IoT edge devices such as home appliances and Industrial Automation.
1111

1212
For more details see the `M5Stack STAMP-C3`_ page.
@@ -108,9 +108,9 @@ Zephyr build. Output is structured by the domain subdirectories:
108108
109109
build/
110110
├── hello_world
111-
   └── zephyr
112-
   ├── zephyr.elf
113-
   └── zephyr.bin
111+
└── zephyr
112+
├── zephyr.elf
113+
└── zephyr.bin
114114
├── mcuboot
115115
│ └── zephyr
116116
│ ├── zephyr.elf

0 commit comments

Comments
 (0)