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:
parent
a60d28969a
commit
2d4acf9230
|
@ -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
|
|
@ -1,13 +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_NANO_33_IOT=y
|
||||
CONFIG_SOC_ATMEL_SAMD_OSC8M=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_ARDUINO=y
|
||||
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_SERIAL=y
|
||||
CONFIG_UART_CONSOLE=y
|
||||
CONFIG_UART_INTERRUPT_DRIVEN=y
|
|
@ -0,0 +1,5 @@
|
|||
board:
|
||||
name: arduino_nano_33_iot
|
||||
vendor: arduino
|
||||
socs:
|
||||
- name: samd21g18a
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
|
@ -64,7 +64,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_nano_33_iot/arduino_nano_33_iot_defconfig`.
|
||||
:zephyr_file:`boards/arduino/arduino_nano_33_iot/arduino_nano_33_iot_defconfig`.
|
||||
|
||||
Connections and IOs
|
||||
===================
|
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue