boards: riscv: esp32c3_luatos_core: make usb variant
Converts the board above to use variant option. Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
This commit is contained in:
committed by
Carles Cufi
parent
fe25709a9c
commit
7aa36e6640
@@ -1,5 +0,0 @@
|
||||
# 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
|
||||
@@ -1,9 +1,7 @@
|
||||
boards:
|
||||
- name: esp32c3_luatos_core
|
||||
vendor: luatos
|
||||
socs:
|
||||
- name: esp32c3
|
||||
- name: esp32c3_luatos_core_usb
|
||||
vendor: luatos
|
||||
socs:
|
||||
- name: esp32c3
|
||||
board:
|
||||
name: esp32c3_luatos_core
|
||||
vendor: luatos
|
||||
socs:
|
||||
- name: esp32c3
|
||||
variants:
|
||||
- name: usb
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
identifier: esp32c3_luatos_core
|
||||
identifier: esp32c3_luatos_core/esp32c3
|
||||
name: ESP32C3 LuatOS Core
|
||||
type: mcu
|
||||
arch: riscv
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
identifier: esp32c3_luatos_core_usb
|
||||
identifier: esp32c3_luatos_core/esp32c3/usb
|
||||
name: ESP32C3 LuatOS Core USB
|
||||
type: mcu
|
||||
arch: riscv
|
||||
Reference in New Issue
Block a user