Skip to content

Commit

Permalink
boards: arduino_nano_33_iot: Convert to HWMv2
Browse files Browse the repository at this point in the history
Port the board to HWMv2.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
  • Loading branch information
nandojve authored and gmarull committed Feb 15, 2024
1 parent 670df98 commit cc66435
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 23 deletions.
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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_BOOTLOADER_BOSSA=y
CONFIG_BOOTLOADER_BOSSA_ARDUINO=y

CONFIG_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UART_CONSOLE=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_SERIAL=y
CONFIG_BOOTLOADER_BOSSA=y
CONFIG_BOOTLOADER_BOSSA_ARDUINO=y
5 changes: 5 additions & 0 deletions boards/arduino/arduino_nano_33_iot/board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
board:
name: arduino_nano_33_iot
vendor: arduino
socs:
- name: samd21g18a
Original file line number Diff line number Diff line change
Expand Up @@ -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
===================
Expand Down
8 changes: 0 additions & 8 deletions boards/boards_legacy/arm/arduino_nano_33_iot/Kconfig.board

This file was deleted.

This file was deleted.

0 comments on commit cc66435

Please sign in to comment.