boards: adafruit_feather_m0_basic_proto: 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:40:34 +01:00
committed by Carles Cufi
parent c76b1fbeca
commit 9812f3d54e
12 changed files with 15 additions and 20 deletions

View File

@@ -1,8 +1,6 @@
# Adafruit Feather M0 Basic Proto board configuration
# Copyright (c) 2018 Henrik Brix Andersen <henrik@brixandersen.dk>
# Copyright (c) 2024 Gerson Fernando Budke <nandojve@gmail.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD_ADAFRUIT_FEATHER_M0_BASIC_PROTO
bool "Adafruit Feather M0 Basic Proto"
depends on SOC_PART_NUMBER_SAMD21G18A
select SOC_SAMD21G18A

View File

@@ -1,12 +1,12 @@
# 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_ADAFRUIT_FEATHER_M0_BASIC_PROTO=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_SOC_ATMEL_SAMD_XOSC32K=y
CONFIG_SOC_ATMEL_SAMD_XOSC32K_AS_MAIN=y
CONFIG_USE_DT_CODE_PARTITION=y
CONFIG_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UART_CONSOLE=y
CONFIG_UART_INTERRUPT_DRIVEN=y

View File

@@ -0,0 +1,5 @@
board:
name: adafruit_feather_m0_basic_proto
vendor: adafruit
socs:
- name: samd21g18a

View File

@@ -58,7 +58,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/adafruit_feather_m0_basic_proto/adafruit_feather_m0_basic_proto_defconfig`.
:zephyr_file:`boards/adafruit/adafruit_feather_m0_basic_proto/adafruit_feather_m0_basic_proto_defconfig`.
Connections and IOs
===================

View File

@@ -1,8 +0,0 @@
# Adafruit Feather M0 Basic Proto board configuration
# Copyright (c) 2018 Henrik Brix Andersen <henrik@brixandersen.dk>
# SPDX-License-Identifier: Apache-2.0
config BOARD
default "adafruit_feather_m0_basic_proto"
depends on BOARD_ADAFRUIT_FEATHER_M0_BASIC_PROTO