boards: xtensa: esp32s2_lolin_mini: 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 15:14:31 +00:00
committed by Carles Cufi
parent 4fa1ae8110
commit ed854e05d1
12 changed files with 18 additions and 14 deletions

View File

@@ -3,10 +3,6 @@
# Copyright (c) 2023 Google, LLC
# SPDX-License-Identifier: Apache-2.0
config BOARD
default "esp32s2_lolin_mini"
depends on BOARD_ESP32S2_LOLIN_MINI
config ENTROPY_GENERATOR
default y

View File

@@ -4,9 +4,4 @@
# SPDX-License-Identifier: Apache-2.0
config BOARD_ESP32S2_LOLIN_MINI
bool "ESP32S2 Lolin Mini Board"
depends on SOC_SERIES_ESP32S2
choice SOC_PART_NUMBER
default SOC_ESP32S2_FN4R2
endchoice
select SOC_ESP32S2_FN4R2

View File

@@ -0,0 +1,5 @@
board:
name: esp32s2_lolin_mini
vendor: wemos
socs:
- name: esp32s2

View File

@@ -11,7 +11,7 @@
#include "esp32s2_lolin_mini-pinctrl.dtsi"
/ {
model = "esp32s2_lolin_mini";
model = "Wemos ESP32S2-Lolin Mini";
compatible = "espressif,esp32s2";
aliases {

View File

@@ -12,3 +12,4 @@ testing:
ignore_tags:
- net
- bluetooth
vendor: wemos

View File

@@ -1,8 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_BOARD_ESP32S2_LOLIN_MINI=y
CONFIG_SOC_SERIES_ESP32S2=y
CONFIG_MAIN_STACK_SIZE=2048
CONFIG_CONSOLE=y

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

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