diff --git a/boards/arturo182/index.rst b/boards/arturo182/index.rst new file mode 100644 index 00000000000..d9093d36c10 --- /dev/null +++ b/boards/arturo182/index.rst @@ -0,0 +1,10 @@ +.. _boards-arturo182: + +Arturo182 +######### + +.. toctree:: + :maxdepth: 1 + :glob: + + **/* diff --git a/boards/boards_legacy/arm/serpente/Kconfig.board b/boards/arturo182/serpente/Kconfig.serpente similarity index 57% rename from boards/boards_legacy/arm/serpente/Kconfig.board rename to boards/arturo182/serpente/Kconfig.serpente index 5c2cb6dc83e..3c22b1b359b 100644 --- a/boards/boards_legacy/arm/serpente/Kconfig.board +++ b/boards/arturo182/serpente/Kconfig.serpente @@ -1,7 +1,6 @@ -# Serpente board configuration # Copyright (c) 2020 Alexander Falb +# Copyright (c) 2024 Gerson Fernando Budke # SPDX-License-Identifier: Apache-2.0 config BOARD_SERPENTE - bool "Serpente" - depends on SOC_PART_NUMBER_SAMD21E18A + select SOC_SAMD21E18A diff --git a/boards/boards_legacy/arm/serpente/board.cmake b/boards/arturo182/serpente/board.cmake similarity index 100% rename from boards/boards_legacy/arm/serpente/board.cmake rename to boards/arturo182/serpente/board.cmake diff --git a/boards/arturo182/serpente/board.yml b/boards/arturo182/serpente/board.yml new file mode 100644 index 00000000000..7706ff092c9 --- /dev/null +++ b/boards/arturo182/serpente/board.yml @@ -0,0 +1,5 @@ +board: + name: serpente + vendor: arturo182 + socs: + - name: samd21e18a diff --git a/boards/boards_legacy/arm/serpente/doc/img/serpente.jpg b/boards/arturo182/serpente/doc/img/serpente.jpg similarity index 100% rename from boards/boards_legacy/arm/serpente/doc/img/serpente.jpg rename to boards/arturo182/serpente/doc/img/serpente.jpg diff --git a/boards/boards_legacy/arm/serpente/doc/index.rst b/boards/arturo182/serpente/doc/index.rst similarity index 98% rename from boards/boards_legacy/arm/serpente/doc/index.rst rename to boards/arturo182/serpente/doc/index.rst index c446103c712..4b6bf5e7390 100644 --- a/boards/boards_legacy/arm/serpente/doc/index.rst +++ b/boards/arturo182/serpente/doc/index.rst @@ -56,7 +56,7 @@ 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/serpente/serpente_defconfig`. +:zephyr_file:`boards/arturo182/serpente/serpente_defconfig`. Connections and IOs =================== diff --git a/boards/boards_legacy/arm/serpente/pre_dt_board.cmake b/boards/arturo182/serpente/pre_dt_board.cmake similarity index 100% rename from boards/boards_legacy/arm/serpente/pre_dt_board.cmake rename to boards/arturo182/serpente/pre_dt_board.cmake diff --git a/boards/boards_legacy/arm/serpente/serpente-pinctrl.dtsi b/boards/arturo182/serpente/serpente-pinctrl.dtsi similarity index 100% rename from boards/boards_legacy/arm/serpente/serpente-pinctrl.dtsi rename to boards/arturo182/serpente/serpente-pinctrl.dtsi diff --git a/boards/boards_legacy/arm/serpente/serpente.dts b/boards/arturo182/serpente/serpente.dts similarity index 100% rename from boards/boards_legacy/arm/serpente/serpente.dts rename to boards/arturo182/serpente/serpente.dts diff --git a/boards/boards_legacy/arm/serpente/serpente.yaml b/boards/arturo182/serpente/serpente.yaml similarity index 96% rename from boards/boards_legacy/arm/serpente/serpente.yaml rename to boards/arturo182/serpente/serpente.yaml index e93d19f463a..df7cff28db1 100644 --- a/boards/boards_legacy/arm/serpente/serpente.yaml +++ b/boards/arturo182/serpente/serpente.yaml @@ -2,12 +2,12 @@ identifier: serpente name: SERPENTE type: mcu arch: arm -ram: 32 -flash: 256 toolchain: - zephyr - gnuarmemb - xtools +flash: 256 +ram: 32 supported: - adc - counter @@ -17,5 +17,6 @@ supported: - pwm - spi - uart + - usb - usb_device - watchdog diff --git a/boards/boards_legacy/arm/serpente/serpente_defconfig b/boards/arturo182/serpente/serpente_defconfig similarity index 71% rename from boards/boards_legacy/arm/serpente/serpente_defconfig rename to boards/arturo182/serpente/serpente_defconfig index b670a7b0476..5690d6c73cd 100644 --- a/boards/boards_legacy/arm/serpente/serpente_defconfig +++ b/boards/arturo182/serpente/serpente_defconfig @@ -1,14 +1,13 @@ +# Copyright (c) 2024 Gerson Fernando Budke # SPDX-License-Identifier: Apache-2.0 -CONFIG_SOC_SERIES_SAMD21=y -CONFIG_SOC_PART_NUMBER_SAMD21E18A=y -CONFIG_BOARD_SERPENTE=y CONFIG_SOC_ATMEL_SAMD_OSC8M=y CONFIG_SOC_ATMEL_SAMD_OSC8M_AS_MAIN=y -CONFIG_CONSOLE=y -CONFIG_GPIO=y -CONFIG_UART_CONSOLE=y -CONFIG_UART_INTERRUPT_DRIVEN=y -CONFIG_SERIAL=y + CONFIG_BOOTLOADER_BOSSA=y CONFIG_BOOTLOADER_BOSSA_ADAFRUIT_UF2=y + +CONFIG_CONSOLE=y +CONFIG_SERIAL=y +CONFIG_UART_CONSOLE=y +CONFIG_UART_INTERRUPT_DRIVEN=y diff --git a/boards/boards_legacy/arm/serpente/Kconfig.defconfig b/boards/boards_legacy/arm/serpente/Kconfig.defconfig deleted file mode 100644 index 911f7021ff7..00000000000 --- a/boards/boards_legacy/arm/serpente/Kconfig.defconfig +++ /dev/null @@ -1,7 +0,0 @@ -# Serpente board configuration -# Copyright (c) 2020 Alexander Falb -# SPDX-License-Identifier: Apache-2.0 - -config BOARD - default "serpente" - depends on BOARD_SERPENTE