boards: rename adafruit_feather
Adafruit feather is a generic name that could match many boards. Renamed to reflect actual board name: - Adafruit Feather nrf52840 Express There are two boards based on the nrf52840, so keeping directory generic to support additional board defs with mostly shared dts. Signed-off-by: Jacob Winther <jacob@9.nz>
This commit is contained in:
parent
83b3552050
commit
4e830ec19f
14 changed files with 15 additions and 11 deletions
|
@ -1,10 +1,11 @@
|
||||||
# Adafruit Feather nRF52840 Express board configuration
|
# Adafruit Feather nRF52840 Express board configuration
|
||||||
|
|
||||||
# Copyright (c) 2020 Tobias Svehagen
|
# Copyright (c) 2020 Tobias Svehagen
|
||||||
|
# Copyright (c) 2024 Jacob Winther
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
config BOARD_ENABLE_DCDC
|
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_FEATHER
|
depends on BOARD_ADAFRUIT_FEATHER_NRF52840_EXPRESS
|
|
@ -1,7 +1,8 @@
|
||||||
# Adafruit Feather nRF52840 Express board configuration
|
# Adafruit Feather nRF52840 Express board configuration
|
||||||
|
|
||||||
# Copyright (c) 2020 Tobias Svehagen
|
# Copyright (c) 2020 Tobias Svehagen
|
||||||
|
# Copyright (c) 2024 Jacob Winther
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
config BOARD_ADAFRUIT_FEATHER
|
config BOARD_ADAFRUIT_FEATHER_NRF52840_EXPRESS
|
||||||
select SOC_NRF52840_QIAA
|
select SOC_NRF52840_QIAA
|
|
@ -1,11 +1,12 @@
|
||||||
# Adafruit Feather nRF52840 Express board configuration
|
# Adafruit Feather nRF52840 Express board configuration
|
||||||
|
|
||||||
# Copyright (c) 2020 Tobias Svehagen
|
# Copyright (c) 2020 Tobias Svehagen
|
||||||
|
# Copyright (c) 2024 Jacob Winther
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
if BOARD_ADAFRUIT_FEATHER
|
if BOARD_ADAFRUIT_FEATHER_NRF52840_EXPRESS
|
||||||
|
|
||||||
config BT_CTLR
|
config BT_CTLR
|
||||||
default BT
|
default BT
|
||||||
|
|
||||||
endif # BOARD_ADAFRUIT_FEATHER
|
endif # BOARD_ADAFRUIT_FEATHER_NRF52840_EXPRESS
|
|
@ -1,5 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2020 Tobias Svehagen
|
* Copyright (c) 2020 Tobias Svehagen
|
||||||
|
* Copyright (c) 2024 Jacob Winther
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
@ -12,7 +13,7 @@
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "Adafruit Feather nRF52840 Express";
|
model = "Adafruit Feather nRF52840 Express";
|
||||||
compatible = "adafruit,feather-nrf52840";
|
compatible = "adafruit,feather-nrf52840-express";
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
zephyr,console = &uart0;
|
zephyr,console = &uart0;
|
|
@ -1,4 +1,4 @@
|
||||||
identifier: adafruit_feather/nrf52840
|
identifier: adafruit_feather_nrf52840_express/nrf52840
|
||||||
name: Adafruit Feather nRF52840 Express
|
name: Adafruit Feather nRF52840 Express
|
||||||
type: mcu
|
type: mcu
|
||||||
arch: arm
|
arch: arm
|
|
@ -1,5 +1,5 @@
|
||||||
board:
|
board:
|
||||||
name: adafruit_feather
|
name: adafruit_feather_nrf52840_express
|
||||||
vendor: adafruit
|
vendor: adafruit
|
||||||
socs:
|
socs:
|
||||||
- name: nrf52840
|
- name: nrf52840
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |
|
@ -103,21 +103,21 @@ Push buttons
|
||||||
Programming and Debugging
|
Programming and Debugging
|
||||||
*************************
|
*************************
|
||||||
|
|
||||||
Applications for the ``adafruit_feather/nrf52840`` board configuration
|
Applications for the ``adafruit_feather_nrf52840_express`` board configuration
|
||||||
can be built and flashed in the usual way (see :ref:`build_an_application`
|
can be built and flashed in the usual way (see :ref:`build_an_application`
|
||||||
and :ref:`application_run` for more details).
|
and :ref:`application_run` for more details).
|
||||||
|
|
||||||
Flashing
|
Flashing
|
||||||
========
|
========
|
||||||
|
|
||||||
Flashing Zephyr onto the ``adafruit_feather_nrf52480`` board requires
|
Flashing Zephyr onto the ``adafruit_feather_nrf52480_express`` board requires
|
||||||
an external programmer. The programmer is attached to the SWD header.
|
an external programmer. The programmer is attached to the SWD header.
|
||||||
|
|
||||||
Build the Zephyr kernel and the :zephyr:code-sample:`blinky` sample application.
|
Build the Zephyr kernel and the :zephyr:code-sample:`blinky` sample application.
|
||||||
|
|
||||||
.. zephyr-app-commands::
|
.. zephyr-app-commands::
|
||||||
:zephyr-app: samples/basic/blinky
|
:zephyr-app: samples/basic/blinky
|
||||||
:board: adafruit_feather/nrf52840
|
:board: adafruit_feather_nrf52840_express
|
||||||
:goals: build
|
:goals: build
|
||||||
:compact:
|
:compact:
|
||||||
|
|
||||||
|
@ -125,7 +125,7 @@ Flash the image.
|
||||||
|
|
||||||
.. zephyr-app-commands::
|
.. zephyr-app-commands::
|
||||||
:zephyr-app: samples/basic/blinky
|
:zephyr-app: samples/basic/blinky
|
||||||
:board: adafruit_feather/nrf52840
|
:board: adafruit_feather_nrf52840_express
|
||||||
:goals: flash
|
:goals: flash
|
||||||
:compact:
|
:compact:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue