diff --git a/boards/boards_legacy/arm/wio_terminal/Kconfig.defconfig b/boards/seeed_studio/wio_terminal/Kconfig.defconfig similarity index 68% rename from boards/boards_legacy/arm/wio_terminal/Kconfig.defconfig rename to boards/seeed_studio/wio_terminal/Kconfig.defconfig index cca0d78a232..4b742f1a228 100644 --- a/boards/boards_legacy/arm/wio_terminal/Kconfig.defconfig +++ b/boards/seeed_studio/wio_terminal/Kconfig.defconfig @@ -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 diff --git a/boards/boards_legacy/arm/wio_terminal/Kconfig.board b/boards/seeed_studio/wio_terminal/Kconfig.wio_terminal similarity index 50% rename from boards/boards_legacy/arm/wio_terminal/Kconfig.board rename to boards/seeed_studio/wio_terminal/Kconfig.wio_terminal index cec329c248f..a24d6f8df4a 100644 --- a/boards/boards_legacy/arm/wio_terminal/Kconfig.board +++ b/boards/seeed_studio/wio_terminal/Kconfig.wio_terminal @@ -1,8 +1,6 @@ # Copyright (c) 2023 Joel Guittet -# Wio Terminal board configuration - +# Copyright (c) 2024 Gerson Fernando Budke # SPDX-License-Identifier: Apache-2.0 config BOARD_WIO_TERMINAL - bool "Wio Terminal" - depends on SOC_PART_NUMBER_SAMD51P19A + select SOC_SAMD51P19A diff --git a/boards/boards_legacy/arm/wio_terminal/board.cmake b/boards/seeed_studio/wio_terminal/board.cmake similarity index 100% rename from boards/boards_legacy/arm/wio_terminal/board.cmake rename to boards/seeed_studio/wio_terminal/board.cmake diff --git a/boards/seeed_studio/wio_terminal/board.yml b/boards/seeed_studio/wio_terminal/board.yml new file mode 100644 index 00000000000..2ab2355e999 --- /dev/null +++ b/boards/seeed_studio/wio_terminal/board.yml @@ -0,0 +1,5 @@ +board: + name: wio_terminal + vendor: Seeed Studio + socs: + - name: samd51p19a diff --git a/boards/boards_legacy/arm/wio_terminal/doc/img/wio_terminal.png b/boards/seeed_studio/wio_terminal/doc/img/wio_terminal.png similarity index 100% rename from boards/boards_legacy/arm/wio_terminal/doc/img/wio_terminal.png rename to boards/seeed_studio/wio_terminal/doc/img/wio_terminal.png diff --git a/boards/boards_legacy/arm/wio_terminal/doc/index.rst b/boards/seeed_studio/wio_terminal/doc/index.rst similarity index 98% rename from boards/boards_legacy/arm/wio_terminal/doc/index.rst rename to boards/seeed_studio/wio_terminal/doc/index.rst index 4b11a461323..73cef0f3c5b 100644 --- a/boards/boards_legacy/arm/wio_terminal/doc/index.rst +++ b/boards/seeed_studio/wio_terminal/doc/index.rst @@ -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 diff --git a/boards/boards_legacy/arm/wio_terminal/grove_connectors.dtsi b/boards/seeed_studio/wio_terminal/grove_connectors.dtsi similarity index 100% rename from boards/boards_legacy/arm/wio_terminal/grove_connectors.dtsi rename to boards/seeed_studio/wio_terminal/grove_connectors.dtsi diff --git a/boards/boards_legacy/arm/wio_terminal/pre_dt_board.cmake b/boards/seeed_studio/wio_terminal/pre_dt_board.cmake similarity index 100% rename from boards/boards_legacy/arm/wio_terminal/pre_dt_board.cmake rename to boards/seeed_studio/wio_terminal/pre_dt_board.cmake diff --git a/boards/boards_legacy/arm/wio_terminal/raspberrypi_40pins_connector.dtsi b/boards/seeed_studio/wio_terminal/raspberrypi_40pins_connector.dtsi similarity index 100% rename from boards/boards_legacy/arm/wio_terminal/raspberrypi_40pins_connector.dtsi rename to boards/seeed_studio/wio_terminal/raspberrypi_40pins_connector.dtsi diff --git a/boards/boards_legacy/arm/wio_terminal/support/openocd.cfg b/boards/seeed_studio/wio_terminal/support/openocd.cfg similarity index 100% rename from boards/boards_legacy/arm/wio_terminal/support/openocd.cfg rename to boards/seeed_studio/wio_terminal/support/openocd.cfg diff --git a/boards/boards_legacy/arm/wio_terminal/wio_terminal-pinctrl.dtsi b/boards/seeed_studio/wio_terminal/wio_terminal-pinctrl.dtsi similarity index 100% rename from boards/boards_legacy/arm/wio_terminal/wio_terminal-pinctrl.dtsi rename to boards/seeed_studio/wio_terminal/wio_terminal-pinctrl.dtsi diff --git a/boards/boards_legacy/arm/wio_terminal/wio_terminal.dts b/boards/seeed_studio/wio_terminal/wio_terminal.dts similarity index 100% rename from boards/boards_legacy/arm/wio_terminal/wio_terminal.dts rename to boards/seeed_studio/wio_terminal/wio_terminal.dts diff --git a/boards/boards_legacy/arm/wio_terminal/wio_terminal.yaml b/boards/seeed_studio/wio_terminal/wio_terminal.yaml similarity index 100% rename from boards/boards_legacy/arm/wio_terminal/wio_terminal.yaml rename to boards/seeed_studio/wio_terminal/wio_terminal.yaml diff --git a/boards/boards_legacy/arm/wio_terminal/wio_terminal_defconfig b/boards/seeed_studio/wio_terminal/wio_terminal_defconfig similarity index 87% rename from boards/boards_legacy/arm/wio_terminal/wio_terminal_defconfig rename to boards/seeed_studio/wio_terminal/wio_terminal_defconfig index 353a699c150..20852ef411e 100644 --- a/boards/boards_legacy/arm/wio_terminal/wio_terminal_defconfig +++ b/boards/seeed_studio/wio_terminal/wio_terminal_defconfig @@ -1,16 +1,14 @@ # Copyright (c) 2023 Joel Guittet +# Copyright (c) 2024 Gerson Fernando Budke # 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