boards: arduino_zero: Convert to HWMv2
Port the board to HWMv2. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
This commit is contained in:
committed by
Carles Cufi
parent
1b2528df1b
commit
0409e51d3f
@@ -1,8 +1,6 @@
|
||||
# Arduino Zero Board configuration
|
||||
|
||||
# Copyright (c) 2017 Google LLC.
|
||||
# Copyright (c) 2024 Gerson Fernando Budke <nandojve@gmail.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_ARDUINO_ZERO
|
||||
bool "Arduino Zero"
|
||||
depends on SOC_PART_NUMBER_SAMD21G18A
|
||||
select SOC_SAMD21G18A
|
||||
@@ -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_ARDUINO_ZERO=y
|
||||
CONFIG_BUILD_OUTPUT_HEX=y
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_UART_CONSOLE=y
|
||||
CONFIG_UART_INTERRUPT_DRIVEN=y
|
||||
CONFIG_SERIAL=y
|
||||
CONFIG_SOC_ATMEL_SAMD_XOSC32K=y
|
||||
CONFIG_SOC_ATMEL_SAMD_XOSC32K_AS_MAIN=y
|
||||
|
||||
CONFIG_BUILD_OUTPUT_HEX=y
|
||||
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_SERIAL=y
|
||||
CONFIG_UART_CONSOLE=y
|
||||
CONFIG_UART_INTERRUPT_DRIVEN=y
|
||||
5
boards/arduino/arduino_zero/board.yml
Normal file
5
boards/arduino/arduino_zero/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: arduino_zero
|
||||
vendor: arduino
|
||||
socs:
|
||||
- name: samd21g18a
|
||||
|
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 43 KiB |
@@ -58,7 +58,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_zero/arduino_zero_defconfig`.
|
||||
:zephyr_file:`boards/arduino/arduino_zero/arduino_zero_defconfig`.
|
||||
|
||||
Connections and IOs
|
||||
===================
|
||||
@@ -1,8 +0,0 @@
|
||||
# Arduino Zero board configuration
|
||||
|
||||
# Copyright (c) 2017 Google LLC.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD
|
||||
default "arduino_zero"
|
||||
depends on BOARD_ARDUINO_ZERO
|
||||
Reference in New Issue
Block a user