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:
parent
af1096e7ca
commit
1b2528df1b
|
@ -3,9 +3,5 @@
|
||||||
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
config BOARD
|
|
||||||
default "wio_terminal"
|
|
||||||
depends on BOARD_WIO_TERMINAL
|
|
||||||
|
|
||||||
config LV_COLOR_16_SWAP
|
config LV_COLOR_16_SWAP
|
||||||
default y if LVGL
|
default y if LVGL
|
|
@ -1,8 +1,6 @@
|
||||||
# Copyright (c) 2023 Joel Guittet
|
# Copyright (c) 2023 Joel Guittet
|
||||||
# Wio Terminal board configuration
|
# Copyright (c) 2024 Gerson Fernando Budke <nandojve@gmail.com>
|
||||||
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
config BOARD_WIO_TERMINAL
|
config BOARD_WIO_TERMINAL
|
||||||
bool "Wio Terminal"
|
select SOC_SAMD51P19A
|
||||||
depends on SOC_PART_NUMBER_SAMD51P19A
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
board:
|
||||||
|
name: wio_terminal
|
||||||
|
vendor: Seeed Studio
|
||||||
|
socs:
|
||||||
|
- name: samd51p19a
|
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 49 KiB |
|
@ -92,7 +92,7 @@ The wio_terminal board configuration supports the following hardware features:
|
||||||
Other hardware features are not currently supported by Zephyr.
|
Other hardware features are not currently supported by Zephyr.
|
||||||
|
|
||||||
The default configuration can be found in the Kconfig file
|
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.
|
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
|
To use the RTC, set :kconfig:option:`CONFIG_CORTEX_M_SYSTICK=n` and set
|
|
@ -1,16 +1,14 @@
|
||||||
# Copyright (c) 2023 Joel Guittet
|
# Copyright (c) 2023 Joel Guittet
|
||||||
|
# Copyright (c) 2024 Gerson Fernando Budke <nandojve@gmail.com>
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# 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=y
|
||||||
CONFIG_SOC_ATMEL_SAMD5X_XOSC32K_AS_MAIN=y
|
CONFIG_SOC_ATMEL_SAMD5X_XOSC32K_AS_MAIN=y
|
||||||
CONFIG_BOARD_WIO_TERMINAL=y
|
|
||||||
CONFIG_ARM_MPU=y
|
CONFIG_ARM_MPU=y
|
||||||
CONFIG_CORTEX_M_SYSTICK=y
|
CONFIG_CORTEX_M_SYSTICK=y
|
||||||
CONFIG_HW_STACK_PROTECTION=y
|
CONFIG_HW_STACK_PROTECTION=y
|
||||||
CONFIG_REGULATOR=y
|
CONFIG_REGULATOR=y
|
||||||
CONFIG_GPIO=y
|
|
||||||
|
|
||||||
# BOSSA bootloader
|
# BOSSA bootloader
|
||||||
CONFIG_BOOTLOADER_BOSSA=y
|
CONFIG_BOOTLOADER_BOSSA=y
|
Loading…
Reference in New Issue