boards: arduino_nano_33_iot: 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:32:47 +01:00
committed by Carles Cufi
parent a60d28969a
commit 2d4acf9230
13 changed files with 19 additions and 24 deletions

View File

@@ -0,0 +1,6 @@
# Copyright (c) 2020 Google LLC.
# Copyright (c) 2024 Gerson Fernando Budke <nandojve@gmail.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD_ARDUINO_NANO_33_IOT
select SOC_SAMD21G18A

View File

@@ -1,13 +1,13 @@
# Copyright (c) 2024 Gerson Fernando Budke <nandojve@gmail.com>
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_SAMD21=y
CONFIG_SOC_PART_NUMBER_SAMD21G18A=y
CONFIG_BOARD_ARDUINO_NANO_33_IOT=y
CONFIG_SOC_ATMEL_SAMD_OSC8M=y CONFIG_SOC_ATMEL_SAMD_OSC8M=y
CONFIG_SOC_ATMEL_SAMD_OSC8M_AS_MAIN=y CONFIG_SOC_ATMEL_SAMD_OSC8M_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=y
CONFIG_BOOTLOADER_BOSSA_ARDUINO=y CONFIG_BOOTLOADER_BOSSA_ARDUINO=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_nano_33_iot
vendor: arduino
socs:
- name: samd21g18a

View File

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View File

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

View File

@@ -1,8 +0,0 @@
# Arduino Nano 33 IOT board configuration
# Copyright (c) 2020 Google LLC.
# SPDX-License-Identifier: Apache-2.0
config BOARD_ARDUINO_NANO_33_IOT
bool "Arduino Nano 33 IOT"
depends on SOC_PART_NUMBER_SAMD21G18A

View File

@@ -1,8 +0,0 @@
# Arduino Nano 33 IOT board configuration
# Copyright (c) 2020 Google LLC.
# SPDX-License-Identifier: Apache-2.0
config BOARD
default "arduino_nano_33_iot"
depends on BOARD_ARDUINO_NANO_33_IOT