boards: nrf51_pca10031: Rename to nrf51dongle_nrf51422
The board name for the nRF51 Dongle, so far known as nrf51_pca10031, is renamed to nrf51dongle_nrf51422. Its documentation and all references to its name in the tree are updated accordingly. Overlay and configuration files specific to this board are also renamed, to match the new board name. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
parent
484fb9e542
commit
8cfde26cf7
10 changed files with 39 additions and 34 deletions
|
|
@ -1,18 +0,0 @@
|
|||
# nRF51 PCA10031 board configuration
|
||||
|
||||
# Copyright (c) 2018 Nordic Semiconductor ASA.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if BOARD_NRF51_PCA10031
|
||||
|
||||
config BOARD
|
||||
default "nrf51_pca10031"
|
||||
|
||||
config ADC_0
|
||||
default y
|
||||
depends on ADC
|
||||
|
||||
config BT_CTLR
|
||||
default BT
|
||||
|
||||
endif # BOARD_NRF51_PCA10031
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
# nRF51 PCA10031 board configuration
|
||||
# nRF51 Dongle NRF51422 board configuration
|
||||
|
||||
# Copyright (c) 2018 Nordic Semiconductor ASA.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_NRF51_PCA10031
|
||||
bool "nRF51 PCA10031"
|
||||
config BOARD_NRF51DONGLE_NRF51422
|
||||
bool "nRF51 Dongle NRF51422"
|
||||
depends on SOC_NRF51822_QFAC
|
||||
18
boards/arm/nrf51dongle_nrf51422/Kconfig.defconfig
Normal file
18
boards/arm/nrf51dongle_nrf51422/Kconfig.defconfig
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# nRF51 Dongle NRF51422 board configuration
|
||||
|
||||
# Copyright (c) 2018-2020 Nordic Semiconductor ASA.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if BOARD_NRF51DONGLE_NRF51422
|
||||
|
||||
config BOARD
|
||||
default "nrf51dongle_nrf51422"
|
||||
|
||||
config ADC_0
|
||||
default y
|
||||
depends on ADC
|
||||
|
||||
config BT_CTLR
|
||||
default BT
|
||||
|
||||
endif # BOARD_NRF51DONGLE_NRF51422
|
||||
|
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 90 KiB |
|
|
@ -1,7 +1,7 @@
|
|||
.. _nrf51_pca10031:
|
||||
.. _nrf51dongle_nrf51422:
|
||||
|
||||
nRF51-PCA10031
|
||||
##############
|
||||
nRF51 Dongle
|
||||
############
|
||||
|
||||
Overview
|
||||
********
|
||||
|
|
@ -22,17 +22,21 @@ Semiconductor nRF51822 ARM Cortex-M0 CPU and the following devices:
|
|||
* :abbr:`UART (Universal asynchronous receiver-transmitter)`
|
||||
* :abbr:`WDT (Watchdog Timer)`
|
||||
|
||||
.. figure:: img/nrf51_pca10031.jpg
|
||||
.. figure:: img/nrf51dongle_nrf51422.jpg
|
||||
:width: 442px
|
||||
:align: center
|
||||
:alt: nRF51 PCA10031 Dongle
|
||||
:alt: nRF51 Dongle
|
||||
|
||||
nRF51 PCA10031 Dongle (Credit: Nordic Semiconductor)
|
||||
nRF51 Dongle (Credit: Nordic Semiconductor)
|
||||
|
||||
More information about the board can be found at the
|
||||
`nRF51 Dongle website`_. The `Nordic Semiconductor Infocenter`_
|
||||
contains the processor's information and the datasheet.
|
||||
|
||||
.. note::
|
||||
|
||||
In previous Zephyr releases this board was named *nrf51_pca10031*.
|
||||
|
||||
Hardware
|
||||
********
|
||||
|
||||
|
|
@ -43,7 +47,7 @@ is 16 MHz.
|
|||
Supported Features
|
||||
==================
|
||||
|
||||
The nrf51_pca10031 board configuration supports the following nRF51
|
||||
The nrf51dongle_nrf51422 board configuration supports the following nRF51
|
||||
hardware features:
|
||||
|
||||
+-----------+------------+----------------------+
|
||||
|
|
@ -120,7 +124,7 @@ Then build and flash the application in the usual way.
|
|||
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/hello_world
|
||||
:board: nrf51_pca10031
|
||||
:board: nrf51dongle_nrf51422
|
||||
:goals: build flash
|
||||
|
||||
Debugging
|
||||
|
|
@ -8,8 +8,8 @@
|
|||
#include <nordic/nrf51822_qfac.dtsi>
|
||||
|
||||
/ {
|
||||
model = "Nordic PCA10031 Dev Kit";
|
||||
compatible = "nordic,pca10031-dk", "nordic,nrf51822-qfac",
|
||||
model = "Nordic nRF51 Dongle NRF51422";
|
||||
compatible = "nordic,nrf51-dongle-nrf51422", "nordic,nrf51822-qfac",
|
||||
"nordic,nrf51822";
|
||||
|
||||
chosen {
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
identifier: nrf51_pca10031
|
||||
name: nRF51-PCA10031
|
||||
identifier: nrf51dongle_nrf51422
|
||||
name: nRF51-Dongle-nRF51422
|
||||
type: mcu
|
||||
arch: arm
|
||||
toolchain:
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
CONFIG_SOC_SERIES_NRF51X=y
|
||||
CONFIG_SOC_NRF51822_QFAC=y
|
||||
CONFIG_BOARD_NRF51_PCA10031=y
|
||||
CONFIG_BOARD_NRF51DONGLE_NRF51422=y
|
||||
|
||||
# enable GPIO
|
||||
CONFIG_GPIO=y
|
||||
|
|
@ -9,6 +9,7 @@
|
|||
# set(<old_board_name>_DEPRECATED <new_board_name>)
|
||||
|
||||
set(nrf51_pca10028_DEPRECATED nrf51dk_nrf51422)
|
||||
set(nrf51_pca10031_DEPRECATED nrf51dongle_nrf51422)
|
||||
set(nrf52840_pca10056_DEPRECATED nrf52840dk_nrf52840)
|
||||
set(nrf52811_pca10056_DEPRECATED nrf52840dk_nrf52811)
|
||||
set(nrf9160_pca10090_DEPRECATED nrf9160dk_nrf9160)
|
||||
|
|
|
|||
Loading…
Reference in a new issue