boards: arm: adafruit_feather_nrf52840: Convert to v2
Converts the board to hwmv2 Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
committed by
Carles Cufi
parent
cf85b7169f
commit
ad37a0c222
@@ -7,4 +7,4 @@ config BOARD_ENABLE_DCDC
|
||||
bool "DCDC mode"
|
||||
select SOC_DCDC_NRF52X
|
||||
default y
|
||||
depends on BOARD_ADAFRUIT_FEATHER_NRF52840
|
||||
depends on BOARD_ADAFRUIT_FEATHER
|
||||
@@ -3,6 +3,7 @@
|
||||
# Copyright (c) 2020 Tobias Svehagen
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_ADAFRUIT_FEATHER_NRF52840
|
||||
bool "Adafruit Feather nRF52840 Express"
|
||||
depends on SOC_NRF52840_QIAA
|
||||
config BOARD_ADAFRUIT_FEATHER
|
||||
bool
|
||||
default y
|
||||
select SOC_NRF52840_QIAA
|
||||
@@ -3,12 +3,9 @@
|
||||
# Copyright (c) 2020 Tobias Svehagen
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if BOARD_ADAFRUIT_FEATHER_NRF52840
|
||||
|
||||
config BOARD
|
||||
default "adafruit_feather_nrf52840"
|
||||
if BOARD_ADAFRUIT_FEATHER
|
||||
|
||||
config BT_CTLR
|
||||
default BT
|
||||
|
||||
endif # BOARD_ADAFRUIT_FEATHER_NRF52840
|
||||
endif # BOARD_ADAFRUIT_FEATHER
|
||||
@@ -1,4 +1,4 @@
|
||||
identifier: adafruit_feather_nrf52840
|
||||
identifier: adafruit_feather/nrf52840
|
||||
name: Adafruit Feather nRF52840 Express
|
||||
type: mcu
|
||||
arch: arm
|
||||
@@ -1,9 +1,5 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SOC_SERIES_NRF52X=y
|
||||
CONFIG_SOC_NRF52840_QIAA=y
|
||||
CONFIG_BOARD_ADAFRUIT_FEATHER_NRF52840=y
|
||||
|
||||
# Enable MPU
|
||||
CONFIG_ARM_MPU=y
|
||||
|
||||
5
boards/adafruit/adafruit_feather/board.yml
Normal file
5
boards/adafruit/adafruit_feather/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: adafruit_feather
|
||||
vendor: Adafruit Industries LLC
|
||||
socs:
|
||||
- name: nrf52840
|
||||
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |
@@ -103,7 +103,7 @@ Push buttons
|
||||
Programming and Debugging
|
||||
*************************
|
||||
|
||||
Applications for the ``adafruit_feather_nrf52840`` board configuration
|
||||
Applications for the ``adafruit_feather/nrf52840`` board configuration
|
||||
can be built and flashed in the usual way (see :ref:`build_an_application`
|
||||
and :ref:`application_run` for more details).
|
||||
|
||||
@@ -117,7 +117,7 @@ Build the Zephyr kernel and the :zephyr:code-sample:`blinky` sample application.
|
||||
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/basic/blinky
|
||||
:board: adafruit_feather_nrf52840
|
||||
:board: adafruit_feather/nrf52840
|
||||
:goals: build
|
||||
:compact:
|
||||
|
||||
@@ -125,7 +125,7 @@ Flash the image.
|
||||
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/basic/blinky
|
||||
:board: adafruit_feather_nrf52840
|
||||
:board: adafruit_feather/nrf52840
|
||||
:goals: flash
|
||||
:compact:
|
||||
|
||||
Reference in New Issue
Block a user