boards: wio_terminal: Convert to HWMv2

Port the board to HWMv2.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
This commit is contained in:
Gerson Fernando Budke 2024-02-11 17:21:42 +01:00 committed by Carles Cufi
parent af1096e7ca
commit 1b2528df1b
14 changed files with 10 additions and 13 deletions

View File

@ -3,9 +3,5 @@
# SPDX-License-Identifier: Apache-2.0
config BOARD
default "wio_terminal"
depends on BOARD_WIO_TERMINAL
config LV_COLOR_16_SWAP
default y if LVGL

View File

@ -1,8 +1,6 @@
# Copyright (c) 2023 Joel Guittet
# Wio Terminal board configuration
# Copyright (c) 2024 Gerson Fernando Budke <nandojve@gmail.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD_WIO_TERMINAL
bool "Wio Terminal"
depends on SOC_PART_NUMBER_SAMD51P19A
select SOC_SAMD51P19A

View File

@ -0,0 +1,5 @@
board:
name: wio_terminal
vendor: Seeed Studio
socs:
- name: samd51p19a

View File

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 49 KiB

View File

@ -92,7 +92,7 @@ The wio_terminal board configuration supports the following hardware features:
Other hardware features are not currently supported by Zephyr.
The default configuration can be found in the Kconfig file
:zephyr_file:`boards/arm/wio_terminal/wio_terminal_defconfig`.
:zephyr_file:`boards/seeed/wio_terminal/wio_terminal_defconfig`.
Zephyr can use the default Cortex-M SYSTICK timer or the SAM0 specific RTC.
To use the RTC, set :kconfig:option:`CONFIG_CORTEX_M_SYSTICK=n` and set

View File

@ -1,16 +1,14 @@
# Copyright (c) 2023 Joel Guittet
# Copyright (c) 2024 Gerson Fernando Budke <nandojve@gmail.com>
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_SAMD51=y
CONFIG_SOC_PART_NUMBER_SAMD51P19A=y
CONFIG_SOC_ATMEL_SAMD5X_XOSC32K=y
CONFIG_SOC_ATMEL_SAMD5X_XOSC32K_AS_MAIN=y
CONFIG_BOARD_WIO_TERMINAL=y
CONFIG_ARM_MPU=y
CONFIG_CORTEX_M_SYSTICK=y
CONFIG_HW_STACK_PROTECTION=y
CONFIG_REGULATOR=y
CONFIG_GPIO=y
# BOSSA bootloader
CONFIG_BOOTLOADER_BOSSA=y