boards: serpente: 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 16:35:19 +01:00
committed by Carles Cufi
parent 649789e433
commit c76b1fbeca
12 changed files with 28 additions and 21 deletions

View File

@@ -0,0 +1,10 @@
.. _boards-arturo182:
Arturo182
#########
.. toctree::
:maxdepth: 1
:glob:
**/*

View File

@@ -1,7 +1,6 @@
# Serpente board configuration
# Copyright (c) 2020 Alexander Falb <fal3xx@gmail.com>
# Copyright (c) 2024 Gerson Fernando Budke <nandojve@gmail.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD_SERPENTE
bool "Serpente"
depends on SOC_PART_NUMBER_SAMD21E18A
select SOC_SAMD21E18A

View File

@@ -0,0 +1,5 @@
board:
name: serpente
vendor: arturo182
socs:
- name: samd21e18a

View File

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 77 KiB

View File

@@ -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
===================

View File

@@ -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

View File

@@ -1,14 +1,13 @@
# Copyright (c) 2024 Gerson Fernando Budke <nandojve@gmail.com>
# 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

View File

@@ -1,7 +0,0 @@
# Serpente board configuration
# Copyright (c) 2020 Alexander Falb <fal3xx@gmail.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD
default "serpente"
depends on BOARD_SERPENTE