boards: arduino_mkrzero: 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 17:28:16 +01:00
committed by Carles Cufi
parent 0409e51d3f
commit a60d28969a
12 changed files with 15 additions and 17 deletions

View File

@@ -1,8 +1,6 @@
# Arduino MKR Zero Board configuration
# Copyright (c) 2022 TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
# Copyright (c) 2024 Gerson Fernando Budke <nandojve@gmail.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD_ARDUINO_MKRZERO
bool "Arduino MKR Zero"
depends on SOC_PART_NUMBER_SAMD21G18A
select SOC_SAMD21G18A

View File

@@ -3,10 +3,6 @@
# Copyright (c) 2022 TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD
default "arduino_mkrzero"
depends on BOARD_ARDUINO_MKRZERO
if DISK_DRIVERS
config DISK_DRIVER_SDMMC

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_SAMD21G18A=y
CONFIG_BOARD_ARDUINO_MKRZERO=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_BOOTLOADER_BOSSA=y
CONFIG_BOOTLOADER_BOSSA_ARDUINO=y
CONFIG_GPIO=y
CONFIG_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UART_CONSOLE=y
CONFIG_UART_INTERRUPT_DRIVEN=y

View File

@@ -0,0 +1,5 @@
board:
name: arduino_mkrzero
vendor: arduino
socs:
- name: samd21g18a

View File

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -66,7 +66,7 @@ features:
Other hardware features are not currently supported by Zephyr.
The default configuration can be found in the Kconfig
:zephyr_file:`boards/arm/arduino_mkrzero/arduino_mkrzero_defconfig`.
:zephyr_file:`boards/arduino/arduino_mkrzero/arduino_mkrzero_defconfig`.
Connections and IOs
===================