boards: seeeduino_xiao: 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:25:38 +01:00
committed by Carles Cufi
parent 6b3bdb7364
commit 649789e433
13 changed files with 22 additions and 26 deletions

View File

@@ -1,8 +0,0 @@
# Seeedunio XIAO board configuration
# Copyright (c) 2020 Google LLC.
# SPDX-License-Identifier: Apache-2.0
config BOARD
default "seeeduino_xiao"
depends on BOARD_SEEEDUINO_XIAO

View File

@@ -1,8 +1,6 @@
# Seeeduino XIAO board configuration
# Copyright (c) 2020 Google LLC.
# Copyright (c) 2024 Gerson Fernando Budke <nandojve@gmail.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD_SEEEDUINO_XIAO
bool "Seeeduino XIAO"
depends on SOC_PART_NUMBER_SAMD21G18A
select SOC_SAMD21G18A

View File

@@ -0,0 +1,5 @@
board:
name: seeeduino_xiao
vendor: seeed
socs:
- name: samd21g18a

View File

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

View File

@@ -41,12 +41,12 @@ features:
+-----------+------------+------------------------------------------+
| HWINFO | on-chip | Hardware info |
+-----------+------------+------------------------------------------+
| I2C | on-chip | Inter-Integrated Circuit |
+-----------+------------+------------------------------------------+
| NVIC | on-chip | nested vector interrupt controller |
+-----------+------------+------------------------------------------+
| SPI | on-chip | Serial Peripheral Interface ports |
+-----------+------------+------------------------------------------+
| I2C | on-chip | Inter-Integrated Circuit |
+-----------+------------+------------------------------------------+
| SYSTICK | on-chip | systick |
+-----------+------------+------------------------------------------+
| USART | on-chip | Serial ports |
@@ -59,7 +59,7 @@ features:
Other hardware features are not currently supported by Zephyr.
The default configuration can be found in the Kconfig file
:zephyr_file:`boards/arm/seeeduino_xiao/seeeduino_xiao_defconfig`.
:zephyr_file:`boards/seeed/seeeduino_xiao/seeeduino_xiao_defconfig`.
Connections and IOs
===================

View File

@@ -2,20 +2,21 @@ identifier: seeeduino_xiao
name: Seeeduino XIAO
type: mcu
arch: arm
ram: 32
flash: 256
toolchain:
- zephyr
- gnuarmemb
- xtools
flash: 256
ram: 32
supported:
- dma
- dac
- gpio
- hwinfo
- spi
- i2c
- spi
- uart
- usb
- usb_device
- watchdog
vendor: seeed

View File

@@ -1,14 +1,14 @@
# Copyright (c) 2024 Gerson Fernando Budke <nandojve@gmail.com>
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_SAMD21=y
CONFIG_SOC_PART_NUMBER_SAMD21G18A=y
CONFIG_BOARD_SEEEDUINO_XIAO=y
CONFIG_SOC_ATMEL_SAMD_XOSC32K=y
CONFIG_SOC_ATMEL_SAMD_XOSC32K_AS_MAIN=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_SERIAL=y
CONFIG_BUILD_OUTPUT_UF2=y
CONFIG_BOOTLOADER_BOSSA=y
CONFIG_BOOTLOADER_BOSSA_ADAFRUIT_UF2=y
CONFIG_BUILD_OUTPUT_UF2=y
CONFIG_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UART_CONSOLE=y
CONFIG_UART_INTERRUPT_DRIVEN=y