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:
committed by
Carles Cufi
parent
5543040a18
commit
4fa1ae8110
@@ -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
|
||||||
|
|
||||||
@@ -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
|
|
||||||
5
boards/franzininho/esp32s2_franzininho/board.yml
Normal file
5
boards/franzininho/esp32s2_franzininho/board.yml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
board:
|
||||||
|
name: esp32s2_franzininho
|
||||||
|
vendor: espressif
|
||||||
|
socs:
|
||||||
|
- name: esp32s2
|
||||||
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
@@ -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
|
||||||
@@ -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 {
|
||||||
@@ -16,4 +16,4 @@ testing:
|
|||||||
- heap
|
- heap
|
||||||
- net
|
- net
|
||||||
- bluetooth
|
- bluetooth
|
||||||
vendor: espressif
|
vendor: franzininho
|
||||||
@@ -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
|
||||||
|
|
||||||
10
boards/franzininho/index.rst
Normal file
10
boards/franzininho/index.rst
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
.. _boards-franzininho:
|
||||||
|
|
||||||
|
Franzininho
|
||||||
|
###########
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 1
|
||||||
|
:glob:
|
||||||
|
|
||||||
|
**/*
|
||||||
Reference in New Issue
Block a user