Skip to content

Commit 9e42be0

Browse files
committed
boards: xtensa: esp32s2_saola: Convert to v2
Converts the board to hwmv2 Signed-off-by: Jamie McCrae <[email protected]>
1 parent 6a68d9f commit 9e42be0

File tree

11 files changed

+10
-16
lines changed

11 files changed

+10
-16
lines changed

boards/boards_legacy/xtensa/esp32s2_saola/Kconfig.defconfig renamed to boards/espressif/esp32s2_saola/Kconfig.defconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
# Copyright (c) 2021 Espressif Systems (Shanghai) Co., Ltd.
44
# SPDX-License-Identifier: Apache-2.0
55

6-
config BOARD
7-
default "esp32s2_saola"
8-
depends on BOARD_ESP32S2_SAOLA
9-
106
config ENTROPY_GENERATOR
117
default y
128

boards/boards_legacy/xtensa/esp32s2_saola/Kconfig.board renamed to boards/espressif/esp32s2_saola/Kconfig.esp32s2_saola

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,4 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
config BOARD_ESP32S2_SAOLA
5-
bool "ESP32S2 Saola Board"
6-
depends on SOC_SERIES_ESP32S2
7-
8-
choice SOC_PART_NUMBER
9-
default SOC_ESP32S2_WROVER_N4R2
10-
endchoice
5+
select SOC_ESP32S2_WROVER_N4R2
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
board:
2+
name: esp32s2_saola
3+
vendor: espressif
4+
socs:
5+
- name: esp32s2

boards/boards_legacy/xtensa/esp32s2_saola/doc/index.rst renamed to boards/espressif/esp32s2_saola/doc/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,9 @@ Zephyr build. Output is structured by the domain subdirectories:
140140
141141
build/
142142
├── hello_world
143-
   └── zephyr
144-
   ├── zephyr.elf
145-
   └── zephyr.bin
143+
└── zephyr
144+
├── zephyr.elf
145+
└── zephyr.bin
146146
├── mcuboot
147147
│ └── zephyr
148148
│ ├── zephyr.elf

boards/boards_legacy/xtensa/esp32s2_saola/esp32s2_saola.dts renamed to boards/espressif/esp32s2_saola/esp32s2_saola.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include <zephyr/dt-bindings/input/esp32-touch-sensor-input.h>
1313

1414
/ {
15-
model = "esp32s2_saola";
15+
model = "Espressif ESP32S2-Saola";
1616
compatible = "espressif,esp32s2";
1717

1818
aliases {

boards/boards_legacy/xtensa/esp32s2_saola/esp32s2_saola_defconfig renamed to boards/espressif/esp32s2_saola/esp32s2_saola_defconfig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# SPDX-License-Identifier: Apache-2.0
22

3-
CONFIG_BOARD_ESP32S2_SAOLA=y
4-
CONFIG_SOC_SERIES_ESP32S2=y
53

64
CONFIG_MAIN_STACK_SIZE=2048
75

0 commit comments

Comments
 (0)