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:
committed by
Carles Cufi
parent
ed854e05d1
commit
cc96061d96
@@ -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
|
||||
|
||||
@@ -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
|
||||
5
boards/espressif/esp32s2_saola/board.yml
Normal file
5
boards/espressif/esp32s2_saola/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: esp32s2_saola
|
||||
vendor: espressif
|
||||
socs:
|
||||
- name: esp32s2
|
||||
@@ -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
|
||||
@@ -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 {
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user