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" bool "DCDC mode"
select SOC_DCDC_NRF52X select SOC_DCDC_NRF52X
default y default y
depends on BOARD_ADAFRUIT_ITSYBITSY_NRF52840 depends on BOARD_ADAFRUIT_ITSYBITSY
config BOARD_SERIAL_BACKEND_CDC_ACM config BOARD_SERIAL_BACKEND_CDC_ACM
bool "USB CDC" bool "USB CDC"
default y default y
depends on BOARD_ADAFRUIT_ITSYBITSY

View File

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

View File

@@ -3,10 +3,7 @@
# Copyright (c) 2022 Embla Flatlandsmo <embla.flatlandsmo@gmail.com> # Copyright (c) 2022 Embla Flatlandsmo <embla.flatlandsmo@gmail.com>
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
if BOARD_ADAFRUIT_ITSYBITSY_NRF52840 if BOARD_ADAFRUIT_ITSYBITSY
config BOARD
default "adafruit_itsybitsy_nrf52840"
config BT_CTLR config BT_CTLR
default BT default BT
@@ -53,4 +50,4 @@ endif # LOG
endif # BOARD_SERIAL_BACKEND_CDC_ACM 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 name: Adafruit ItsyBitsy nRF52840 Express
type: mcu type: mcu
arch: arm arch: arm

View File

@@ -1,9 +1,5 @@
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_NRF52X=y
CONFIG_SOC_NRF52840_QIAA=y
CONFIG_BOARD_ADAFRUIT_ITSYBITSY_NRF52840=y
# Enable MPU # Enable MPU
CONFIG_ARM_MPU=y 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 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 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 Programming and Debugging
************************* *************************
@@ -156,7 +156,7 @@ into the :code:`ITSY840BOOT` drive.
.. zephyr-app-commands:: .. zephyr-app-commands::
:zephyr-app: samples/basic/blinky :zephyr-app: samples/basic/blinky
:board: adafruit_itsybitsy_nrf52840 :board: adafruit_itsybitsy/nrf52840
:goals: build :goals: build
:compact: :compact: