boards: xtensa: esp32s2_franzininho: 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:17 +00:00
committed by Carles Cufi
parent 5543040a18
commit 4fa1ae8110
13 changed files with 21 additions and 17 deletions

View File

@@ -3,10 +3,6 @@
# Copyright (c) 2022 Felipe Neves # Copyright (c) 2022 Felipe Neves
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
config BOARD
default "esp32s2_franzininho"
depends on BOARD_ESP32S2_FRANZININHO
config ENTROPY_GENERATOR config ENTROPY_GENERATOR
default y default y

View File

@@ -4,9 +4,4 @@
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
config BOARD_ESP32S2_FRANZININHO config BOARD_ESP32S2_FRANZININHO
bool "ESP32S2 Franzininho Board" select SOC_ESP32S2_WROOM
depends on SOC_SERIES_ESP32S2
choice SOC_PART_NUMBER
default SOC_ESP32S2_WROOM
endchoice

View File

@@ -0,0 +1,5 @@
board:
name: esp32s2_franzininho
vendor: espressif
socs:
- name: esp32s2

View File

@@ -106,9 +106,9 @@ Zephyr build. Output is structured by the domain subdirectories:
build/ build/
├── hello_world ├── hello_world
   └── zephyr └── zephyr
   ├── zephyr.elf ├── zephyr.elf
   └── zephyr.bin └── zephyr.bin
├── mcuboot ├── mcuboot
│ └── zephyr │ └── zephyr
│ ├── zephyr.elf │ ├── zephyr.elf

View File

@@ -10,7 +10,7 @@
#include "esp32s2_franzininho-pinctrl.dtsi" #include "esp32s2_franzininho-pinctrl.dtsi"
/ { / {
model = "esp32s2_franzininho"; model = "ESP32S2 Franzininho";
compatible = "espressif,esp32s2"; compatible = "espressif,esp32s2";
aliases { aliases {

View File

@@ -16,4 +16,4 @@ testing:
- heap - heap
- net - net
- bluetooth - bluetooth
vendor: espressif vendor: franzininho

View File

@@ -1,8 +1,6 @@
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
CONFIG_BOARD_ESP32S2_FRANZININHO=y
CONFIG_SOC_SERIES_ESP32S2=y
CONFIG_MAIN_STACK_SIZE=2048 CONFIG_MAIN_STACK_SIZE=2048

View File

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