boards: arm: adafruit_itsybitsy_nrf52840: Convert to v2

Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae
2024-02-02 11:38:00 +00:00
committed by Carles Cufi
parent ad37a0c222
commit 4fee7371d2
12 changed files with 16 additions and 16 deletions

View File

@@ -7,8 +7,9 @@ config BOARD_ENABLE_DCDC
bool "DCDC mode"
select SOC_DCDC_NRF52X
default y
depends on BOARD_ADAFRUIT_ITSYBITSY_NRF52840
depends on BOARD_ADAFRUIT_ITSYBITSY
config BOARD_SERIAL_BACKEND_CDC_ACM
bool "USB CDC"
default y
depends on BOARD_ADAFRUIT_ITSYBITSY

View File

@@ -3,6 +3,7 @@
# Copyright (c) 2022 Embla Flatlandsmo <embla.flatlandsmo@gmail.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD_ADAFRUIT_ITSYBITSY_NRF52840
bool "Adafruit ItsyBitsy nRF52840 Express"
depends on SOC_NRF52840_QIAA
config BOARD_ADAFRUIT_ITSYBITSY
bool
default y
select SOC_NRF52840_QIAA

View File

@@ -3,10 +3,7 @@
# Copyright (c) 2022 Embla Flatlandsmo <embla.flatlandsmo@gmail.com>
# SPDX-License-Identifier: Apache-2.0
if BOARD_ADAFRUIT_ITSYBITSY_NRF52840
config BOARD
default "adafruit_itsybitsy_nrf52840"
if BOARD_ADAFRUIT_ITSYBITSY
config BT_CTLR
default BT
@@ -53,4 +50,4 @@ endif # LOG
endif # BOARD_SERIAL_BACKEND_CDC_ACM
endif # BOARD_ADAFRUIT_ITSYBITSY_NRF52840
endif # BOARD_ADAFRUIT_ITSYBITSY

View File

@@ -1,4 +1,4 @@
identifier: adafruit_itsybitsy_nrf52840
identifier: adafruit_itsybitsy/nrf52840
name: Adafruit ItsyBitsy nRF52840 Express
type: mcu
arch: arm

View File

@@ -1,9 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_NRF52X=y
CONFIG_SOC_NRF52840_QIAA=y
CONFIG_BOARD_ADAFRUIT_ITSYBITSY_NRF52840=y
# Enable MPU
CONFIG_ARM_MPU=y

View File

@@ -0,0 +1,5 @@
board:
name: adafruit_itsybitsy
vendor: Adafruit Industries LLC
socs:
- name: nrf52840

View File

@@ -127,7 +127,7 @@ with the :zephyr:code-sample:`led-apa102` sample application.
You can build and flash the examples to make sure Zephyr is running correctly on
your board. The button and LED definitions can be found in
:zephyr_file:`boards/arm/adafruit_itsybitsy_nrf52840/adafruit_itsybitsy_nrf52840.dts`.
:zephyr_file:`boards/adafruit/adafruit_itsybitsy/adafruit_itsybitsy_nrf52840.dts`.
Programming and Debugging
*************************
@@ -156,7 +156,7 @@ into the :code:`ITSY840BOOT` drive.
.. zephyr-app-commands::
:zephyr-app: samples/basic/blinky
:board: adafruit_itsybitsy_nrf52840
:board: adafruit_itsybitsy/nrf52840
:goals: build
:compact: