boards: riscv: esp32c3_luatos_core: 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
0a96dcb778
commit
22c2edb89c
@@ -1,14 +0,0 @@
|
||||
# Copyright (c) 2023 YuLong Yao<feilongphone@gmail.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_ESP32C3_LUATOS_CORE
|
||||
bool "luatos ESP32C3-CORE Board"
|
||||
depends on SOC_SERIES_ESP32C3
|
||||
|
||||
config BOARD_ESP32C3_LUATOS_CORE_USB
|
||||
bool "luatos ESP32C3-CORE Board without UART chip"
|
||||
depends on SOC_SERIES_ESP32C3
|
||||
|
||||
choice SOC_PART_NUMBER
|
||||
default SOC_ESP32C3_MINI_N4
|
||||
endchoice
|
||||
@@ -3,10 +3,6 @@
|
||||
# Copyright (c) 2023 YuLong Yao<feilongphone@gmail.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD
|
||||
default "esp32c3_luatos_core"
|
||||
depends on BOARD_ESP32C3_LUATOS_CORE || BOARD_ESP32C3_LUATOS_CORE_USB
|
||||
|
||||
config HEAP_MEM_POOL_ADD_SIZE_BOARD
|
||||
int
|
||||
default 65535 if WIFI && BT
|
||||
@@ -0,0 +1,5 @@
|
||||
# Copyright (c) 2023 YuLong Yao<feilongphone@gmail.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_ESP32C3_LUATOS_CORE
|
||||
select SOC_ESP32C3_MINI_N4
|
||||
@@ -0,0 +1,5 @@
|
||||
# Copyright (c) 2023 YuLong Yao<feilongphone@gmail.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_ESP32C3_LUATOS_CORE_USB
|
||||
select SOC_ESP32C3_MINI_N4
|
||||
9
boards/luatos/esp32c3_luatos_core/board.yml
Normal file
9
boards/luatos/esp32c3_luatos_core/board.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
boards:
|
||||
- name: esp32c3_luatos_core
|
||||
vendor: luatos
|
||||
socs:
|
||||
- name: esp32c3
|
||||
- name: esp32c3_luatos_core_usb
|
||||
vendor: luatos
|
||||
socs:
|
||||
- name: esp32c3
|
||||
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 91 KiB After Width: | Height: | Size: 91 KiB |
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 54 KiB |
@@ -40,11 +40,11 @@ There are two version hardware of this board. The difference between them is the
|
||||
:align: center
|
||||
:alt: esp32c3_luatos_core
|
||||
|
||||
2. USB-C connect to esp32 chip directly(esp32c3_luatos_core_usb)
|
||||
2. USB-C connect to esp32 chip directly(esp32c3_luatos_core/esp32c3/usb)
|
||||
|
||||
.. image:: img/esp32c3_luatos_core_usb.jpg
|
||||
:align: center
|
||||
:alt: esp32c3_luatos_core_usb
|
||||
:alt: esp32c3_luatos_core/esp32c3/usb
|
||||
|
||||
Supported Features
|
||||
==================
|
||||
@@ -162,9 +162,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
|
||||
@@ -9,7 +9,7 @@
|
||||
#include <zephyr/dt-bindings/input/input-event-codes.h>
|
||||
|
||||
/ {
|
||||
model = "esp32c3_luatos_core";
|
||||
model = "ESP32C3 Luatos Core";
|
||||
compatible = "espressif,esp32c3";
|
||||
|
||||
aliases {
|
||||
@@ -19,4 +19,4 @@ testing:
|
||||
ignore_tags:
|
||||
- net
|
||||
- bluetooth
|
||||
vendor: espressif
|
||||
vendor: luatos
|
||||
@@ -1,8 +1,5 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_BOARD_ESP32C3_LUATOS_CORE=y
|
||||
CONFIG_SOC_SERIES_ESP32C3=y
|
||||
|
||||
CONFIG_MAIN_STACK_SIZE=2048
|
||||
|
||||
CONFIG_CONSOLE=y
|
||||
@@ -19,4 +19,4 @@ testing:
|
||||
ignore_tags:
|
||||
- net
|
||||
- bluetooth
|
||||
vendor: espressif
|
||||
vendor: luatos
|
||||
@@ -1,8 +1,5 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_BOARD_ESP32C3_LUATOS_CORE_USB=y
|
||||
CONFIG_SOC_SERIES_ESP32C3=y
|
||||
|
||||
CONFIG_MAIN_STACK_SIZE=2048
|
||||
|
||||
CONFIG_CONSOLE=y
|
||||
10
boards/luatos/index.rst
Normal file
10
boards/luatos/index.rst
Normal file
@@ -0,0 +1,10 @@
|
||||
.. _boards-luatos:
|
||||
|
||||
Luatos
|
||||
######
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:glob:
|
||||
|
||||
**/*
|
||||
Reference in New Issue
Block a user