diff --git a/boards/espressif/index.rst b/boards/espressif/index.rst new file mode 100644 index 00000000000..b1b7dfbeede --- /dev/null +++ b/boards/espressif/index.rst @@ -0,0 +1,10 @@ +.. _boards-espressif: + +Espressif +######### + +.. toctree:: + :maxdepth: 1 + :glob: + + **/* diff --git a/boards/m5stack/index.rst b/boards/m5stack/index.rst new file mode 100644 index 00000000000..e4d1a57d992 --- /dev/null +++ b/boards/m5stack/index.rst @@ -0,0 +1,10 @@ +.. _boards-m5stack: + +M5Stack +####### + +.. toctree:: + :maxdepth: 1 + :glob: + + **/* diff --git a/boards/boards_legacy/riscv/stamp_c3/Kconfig.defconfig b/boards/m5stack/stamp_c3/Kconfig.defconfig similarity index 84% rename from boards/boards_legacy/riscv/stamp_c3/Kconfig.defconfig rename to boards/m5stack/stamp_c3/Kconfig.defconfig index 911a8845d70..4ce7fe02e12 100644 --- a/boards/boards_legacy/riscv/stamp_c3/Kconfig.defconfig +++ b/boards/m5stack/stamp_c3/Kconfig.defconfig @@ -3,10 +3,6 @@ # Copyright 2022 TOKITA Hiroshi # 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 diff --git a/boards/boards_legacy/riscv/stamp_c3/Kconfig.board b/boards/m5stack/stamp_c3/Kconfig.stamp_c3 similarity index 57% rename from boards/boards_legacy/riscv/stamp_c3/Kconfig.board rename to boards/m5stack/stamp_c3/Kconfig.stamp_c3 index 09ec15d6348..dd126de3dfd 100644 --- a/boards/boards_legacy/riscv/stamp_c3/Kconfig.board +++ b/boards/m5stack/stamp_c3/Kconfig.stamp_c3 @@ -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 diff --git a/boards/boards_legacy/riscv/stamp_c3/Kconfig.sysbuild b/boards/m5stack/stamp_c3/Kconfig.sysbuild similarity index 100% rename from boards/boards_legacy/riscv/stamp_c3/Kconfig.sysbuild rename to boards/m5stack/stamp_c3/Kconfig.sysbuild diff --git a/boards/boards_legacy/riscv/stamp_c3/board.cmake b/boards/m5stack/stamp_c3/board.cmake similarity index 100% rename from boards/boards_legacy/riscv/stamp_c3/board.cmake rename to boards/m5stack/stamp_c3/board.cmake diff --git a/boards/m5stack/stamp_c3/board.yml b/boards/m5stack/stamp_c3/board.yml new file mode 100644 index 00000000000..aa24963edd6 --- /dev/null +++ b/boards/m5stack/stamp_c3/board.yml @@ -0,0 +1,5 @@ +board: + name: stamp_c3 + vendor: m5stack + socs: + - name: esp32c3 diff --git a/boards/boards_legacy/riscv/stamp_c3/doc/index.rst b/boards/m5stack/stamp_c3/doc/index.rst similarity index 97% rename from boards/boards_legacy/riscv/stamp_c3/doc/index.rst rename to boards/m5stack/stamp_c3/doc/index.rst index 8da74e9e1d8..9ac2a05b7ec 100644 --- a/boards/boards_legacy/riscv/stamp_c3/doc/index.rst +++ b/boards/m5stack/stamp_c3/doc/index.rst @@ -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 diff --git a/boards/boards_legacy/riscv/stamp_c3/stamp_c3-pinctrl.dtsi b/boards/m5stack/stamp_c3/stamp_c3-pinctrl.dtsi similarity index 100% rename from boards/boards_legacy/riscv/stamp_c3/stamp_c3-pinctrl.dtsi rename to boards/m5stack/stamp_c3/stamp_c3-pinctrl.dtsi diff --git a/boards/boards_legacy/riscv/stamp_c3/stamp_c3.dts b/boards/m5stack/stamp_c3/stamp_c3.dts similarity index 100% rename from boards/boards_legacy/riscv/stamp_c3/stamp_c3.dts rename to boards/m5stack/stamp_c3/stamp_c3.dts diff --git a/boards/boards_legacy/riscv/stamp_c3/stamp_c3.yaml b/boards/m5stack/stamp_c3/stamp_c3.yaml similarity index 100% rename from boards/boards_legacy/riscv/stamp_c3/stamp_c3.yaml rename to boards/m5stack/stamp_c3/stamp_c3.yaml diff --git a/boards/boards_legacy/riscv/stamp_c3/stamp_c3_defconfig b/boards/m5stack/stamp_c3/stamp_c3_defconfig similarity index 72% rename from boards/boards_legacy/riscv/stamp_c3/stamp_c3_defconfig rename to boards/m5stack/stamp_c3/stamp_c3_defconfig index 021a4e84162..ef633ce56a1 100644 --- a/boards/boards_legacy/riscv/stamp_c3/stamp_c3_defconfig +++ b/boards/m5stack/stamp_c3/stamp_c3_defconfig @@ -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 diff --git a/boards/boards_legacy/riscv/stamp_c3/support/openocd.cfg b/boards/m5stack/stamp_c3/support/openocd.cfg similarity index 100% rename from boards/boards_legacy/riscv/stamp_c3/support/openocd.cfg rename to boards/m5stack/stamp_c3/support/openocd.cfg