boards: xtensa: esp32s2_saola: 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:48 +00:00
committed by Carles Cufi
parent ed854e05d1
commit cc96061d96
11 changed files with 10 additions and 16 deletions

View File

@@ -3,10 +3,6 @@
# Copyright (c) 2021 Espressif Systems (Shanghai) Co., Ltd.
# SPDX-License-Identifier: Apache-2.0
config BOARD
default "esp32s2_saola"
depends on BOARD_ESP32S2_SAOLA
config ENTROPY_GENERATOR
default y

View File

@@ -2,9 +2,4 @@
# SPDX-License-Identifier: Apache-2.0
config BOARD_ESP32S2_SAOLA
bool "ESP32S2 Saola Board"
depends on SOC_SERIES_ESP32S2
choice SOC_PART_NUMBER
default SOC_ESP32S2_WROVER_N4R2
endchoice
select SOC_ESP32S2_WROVER_N4R2

View File

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

View File

@@ -140,9 +140,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

View File

@@ -12,7 +12,7 @@
#include <zephyr/dt-bindings/input/esp32-touch-sensor-input.h>
/ {
model = "esp32s2_saola";
model = "Espressif ESP32S2-Saola";
compatible = "espressif,esp32s2";
aliases {

View File

@@ -1,7 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_BOARD_ESP32S2_SAOLA=y
CONFIG_SOC_SERIES_ESP32S2=y
CONFIG_MAIN_STACK_SIZE=2048