boards: arm: nrf51_pca10028: rename board to nrf51dk_nrf51422

We rename the nRF51 Dev Kit board target (nrf51_pca10028)
to nrf51dk_nrf51422. We update all associated references
in the supportive documentation and all nRF51-related
cofigurations and overlay files in the samples and tests
in the tree.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
Ioannis Glaropoulos 2020-03-13 16:28:48 +01:00 committed by Carles Cufí
commit f3807f19dc
42 changed files with 68 additions and 67 deletions

View file

@ -1,8 +1,8 @@
# nRF51 PCA10028 board configuration
# nRF51 DK NRF51422 board configuration
# Copyright (c) 2016 Linaro Limited.
# SPDX-License-Identifier: Apache-2.0
config BOARD_NRF51_PCA10028
bool "nRF51 PCA10028"
config BOARD_NRF51DK_NRF51422
bool "nRF51 DK NRF51422"
depends on SOC_NRF51822_QFAC

View file

@ -1,12 +1,12 @@
# nRF51 PCA10028 board configuration
# nRF51 DK NRF51422 board configuration
# Copyright (c) 2016 Linaro Limited.
# SPDX-License-Identifier: Apache-2.0
if BOARD_NRF51_PCA10028
if BOARD_NRF51DK_NRF51422
config BOARD
default "nrf51_pca10028"
default "nrf51dk_nrf51422"
config ADC_0
default y
@ -23,4 +23,4 @@ config SPI_1
config BT_CTLR
default BT
endif # BOARD_NRF51_PCA10028
endif # BOARD_NRF51DK_NRF51422

View file

Before

Width:  |  Height:  |  Size: 102 KiB

After

Width:  |  Height:  |  Size: 102 KiB

Before After
Before After

View file

@ -1,13 +1,13 @@
.. _nrf51_pca10028:
.. _nrf51dk_nrf51422:
nRF51-PCA10028
##############
nRF51 DK
########
Overview
********
The nRF51 Development Kit (PCA10028) hardware provides support for the Nordic
Semiconductor nRF51822 ARM Cortex-M0 CPU and the following devices:
The nRF51 Development Kit (nRF51 DK) hardware provides support for the Nordic
Semiconductor nRF51422 ARM Cortex-M0 CPU and the following devices:
* :abbr:`ADC (Analog to Digital Converter)`
* CLOCK
@ -22,12 +22,12 @@ Semiconductor nRF51822 ARM Cortex-M0 CPU and the following devices:
* :abbr:`UART (Universal asynchronous receiver-transmitter)`
* :abbr:`WDT (Watchdog Timer)`
.. figure:: img/nrf51_pca10028.jpg
.. figure:: img/nrf51dk_nrf51422.jpg
:width: 442px
:align: center
:alt: nRF51 PCA10028 DK
:alt: nRF51 DK
nRF51 PCA10028 DK (Credit: Nordic Semiconductor)
nRF51 DK (Credit: Nordic Semiconductor)
More information about the board can be found at the
`nRF51 DK website`_. The `Nordic Semiconductor Infocenter`_
@ -43,7 +43,7 @@ is 16 MHz.
Supported Features
==================
The nrf51_pca10028 board configuration supports the following nRF51
The nrf51dk_nrf51422 board configuration supports the following nRF51
hardware features:
+-----------+------------+----------------------+
@ -125,7 +125,7 @@ Then build and flash the application in the usual way.
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: nrf51_pca10028
:board: nrf51dk_nrf51422
:goals: build flash
Debugging
@ -148,7 +148,7 @@ the board are working properly with Zephyr:
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/nrf51_pca10028/nrf51_pca10028.dts`.
:zephyr_file:`boards/arm/nrf51dk_nrf51422/nrf51dk_nrf51422.dts`.
References
**********

View file

@ -8,8 +8,8 @@
#include <nordic/nrf51822_qfac.dtsi>
/ {
model = "Nordic PCA10028 Dev Kit";
compatible = "nordic,pca10028-dk", "nordic,nrf51822-qfac",
model = "Nordic nRF51 DK NRF51422";
compatible = "nordic,nrf51-dk-nrf51422", "nordic,nrf51822-qfac",
"nordic,nrf51822";
chosen {

View file

@ -1,5 +1,5 @@
identifier: nrf51_pca10028
name: nRF51-PCA10028
identifier: nrf51dk_nrf51422
name: nRF51-DK-NRF51422
type: mcu
arch: arm
toolchain:

View file

@ -2,7 +2,7 @@
CONFIG_SOC_SERIES_NRF51X=y
CONFIG_SOC_NRF51822_QFAC=y
CONFIG_BOARD_NRF51_PCA10028=y
CONFIG_BOARD_NRF51DK_NRF51422=y
# enable GPIO
CONFIG_GPIO=y

View file

@ -34,7 +34,7 @@ function(list_boards arch list_var)
)
# The above gives a list like
# nrf51_blenano/nrf51_blenano_defconfig;nrf51_pca10028/nrf51_pca10028_defconfig
# nrf51_blenano/nrf51_blenano_defconfig;nrf51dk_nrf51422/nrf51dk_nrf51422_defconfig
# we construct a list of board names by removing both the _defconfig
# suffix and the path.
foreach(defconfig_path ${defconfigs_for_${arch}})

View file

@ -337,7 +337,8 @@ html_redirect_pages = [
('boards/arm/msp_exp432p401r_launchxl/doc/msp_exp432p401r_launchxl', 'boards/arm/msp_exp432p401r_launchxl/doc/index'),
('boards/arm/nrf51_ble400/doc/nrf51_ble400', 'boards/arm/nrf51_ble400/doc/index'),
('boards/arm/nrf51_blenano/doc/nrf51_blenano', 'boards/arm/nrf51_blenano/doc/index'),
('boards/arm/nrf51_pca10028/doc/nrf51_pca10028', 'boards/arm/nrf51_pca10028/doc/index'),
('boards/arm/nrf51_pca10028/doc/nrf51_pca10028', 'boards/arm/nrf51dk_nrf51422/doc/index'),
('boards/arm/nrf51_pca10028/doc/nrf51_pca10028/index', 'boards/arm/nrf51dk_nrf51422/doc/index'),
('boards/arm/nrf51_vbluno51/doc/nrf51_vbluno51', 'boards/arm/nrf51_vbluno51/doc/index'),
('boards/arm/nrf52810_pca10040/doc/nrf52810_pca10040', 'boards/arm/nrf52810_pca10040/doc/index'),
('boards/arm/nrf52840_pca10056/doc/nrf52840_pca10056', 'boards/arm/nrf52840_pca10056/doc/index'),

View file

@ -5,23 +5,23 @@ tests:
sample.minimal.mt.arm:
build_only: true
extra_args: CONF_FILE='common.conf;mt.conf;arm.conf'
platform_whitelist: reel_board frdm_k64f mps2_an385 nrf51_pca10028 nucleo_f429zi disco_l475_iot1
platform_whitelist: reel_board frdm_k64f mps2_an385 nrf51dk_nrf51422 nucleo_f429zi disco_l475_iot1
sample.minimal.mt-no-preempt.arm:
build_only: true
extra_args: CONF_FILE='common.conf;mt.conf;no-preempt.conf;arm.conf'
platform_whitelist: reel_board frdm_k64f mps2_an385 nrf51_pca10028 nucleo_f429zi disco_l475_iot1
platform_whitelist: reel_board frdm_k64f mps2_an385 nrf51dk_nrf51422 nucleo_f429zi disco_l475_iot1
sample.minimal.mt-no-preempt-no-timers.arm:
build_only: true
extra_args: CONF_FILE='common.conf;mt.conf;no-preempt.conf;no-timers.conf;arm.conf'
platform_whitelist: reel_board frdm_k64f mps2_an385 nrf51_pca10028 nucleo_f429zi disco_l475_iot1
platform_whitelist: reel_board frdm_k64f mps2_an385 nrf51dk_nrf51422 nucleo_f429zi disco_l475_iot1
sample.minimal.no-mt.arm:
build_only: true
extra_args: CONF_FILE='common.conf;no-mt.conf;arm.conf'
platform_whitelist: reel_board frdm_k64f mps2_an385 nrf51_pca10028 nucleo_f429zi disco_l475_iot1
platform_whitelist: reel_board frdm_k64f mps2_an385 nrf51dk_nrf51422 nucleo_f429zi disco_l475_iot1
sample.minimal.no-mt-no-timers.arm:
build_only: true
extra_args: CONF_FILE='common.conf;no-mt.conf;no-timers.conf;arm.conf'
platform_whitelist: reel_board frdm_k64f mps2_an385 nrf51_pca10028 nucleo_f429zi disco_l475_iot1
platform_whitelist: reel_board frdm_k64f mps2_an385 nrf51dk_nrf51422 nucleo_f429zi disco_l475_iot1
sample.minimal.mt.x86:
build_only: true
extra_args: CONF_FILE='common.conf;mt.conf;x86.conf'

View file

@ -3,5 +3,5 @@ sample:
tests:
sample.bluetooth.hci_pwr_ctrl:
harness: bluetooth
platform_whitelist: bbc_microbit nrf51_pca10028 nrf52_pca10040 qemu_cortex_m3 qemu_x86
platform_whitelist: bbc_microbit nrf51dk_nrf51422 nrf52_pca10040 qemu_cortex_m3 qemu_x86
tags: bluetooth

View file

@ -5,6 +5,6 @@ sample:
tests:
sample.bluetooth.hci_spi:
harness: bluetooth
platform_whitelist: 96b_carbon_nrf51 nrf51_pca10028
platform_whitelist: 96b_carbon_nrf51 nrf51dk_nrf51422
tags: bluetooth spi
depends_on: spi

View file

@ -4,11 +4,11 @@ sample:
tests:
sample.bluetooth.hci_uart.arm:
harness: bluetooth
platform_whitelist: 96b_nitrogen nrf51_pca10028
platform_whitelist: 96b_nitrogen nrf51dk_nrf51422
nrf52_pca10040 bbc_microbit
tags: uart bluetooth
sample.bluetooth.hci_uart.nrf5:
harness: bluetooth
platform_whitelist: 96b_nitrogen nrf51_pca10028
platform_whitelist: 96b_nitrogen nrf51dk_nrf51422
nrf52_pca10040
tags: uart bluetooth

View file

@ -3,5 +3,5 @@ sample:
tests:
sample.boards.nrf.system_off:
build_only: true
platform_whitelist: nrf52840_pca10056 nrf52_pca10040 nrf51_pca10028
platform_whitelist: nrf52840_pca10056 nrf52_pca10040 nrf51dk_nrf51422
tags: power

View file

@ -4,7 +4,7 @@ tests:
sample.drivers.counter.alarm:
tags: drivers
harness: console
platform_whitelist: nucleo_f746zg nrf51_pca10028 nrf52_pca10040
platform_whitelist: nucleo_f746zg nrf51dk_nrf51422 nrf52_pca10040
nrf52840_pca10056 nrf9160_pca10090
harness_config:
type: multi_line

View file

@ -55,7 +55,7 @@ To make sure the sample is set up properly for building, you must:
For example devicetree configurations for each compatible, see
:zephyr_file:`samples/drivers/led_ws2812/boards/nrf52_pca10040.overlay` and
:zephyr_file:`samples/drivers/led_ws2812/boards/nrf51_pca10028.overlay`.
:zephyr_file:`samples/drivers/led_ws2812/boards/nrf51dk_nrf51422.overlay`.
Some boards are already supported out of the box; see the :file:`boards`
directory for this sample for details.

View file

@ -3,5 +3,5 @@ sample:
name: WS2812 sample
tests:
sample.drivers.led.ws2812:
platform_whitelist: bbc_microbit nrf51_pca10028 nrf52_pca10040
platform_whitelist: bbc_microbit nrf51dk_nrf51422 nrf52_pca10040
tags: LED

View file

@ -7,6 +7,6 @@ common:
tests:
sample.mcumg.smp_svr.nrf51:
extra_args: CONF_FILE="prj_tiny.conf"
platform_whitelist: nrf51_pca10028
platform_whitelist: nrf51dk_nrf51422
sample.mcumg.smp_svr.nrf52:
platform_whitelist: nrf52_pca10040 nrf52840_pca10056

View file

@ -22,11 +22,11 @@ Building and Running
This sample can be found under :zephyr_file:`samples/subsys/nvs` in the Zephyr tree.
The sample can be build for several platforms, the following commands build the
application for the nrf51_pca10028 board.
application for the nrf51dk_nrf51422 board.
.. zephyr-app-commands::
:zephyr-app: samples/subsys/nvs
:board: nrf51_pca10028
:board: nrf51dk_nrf51422
:goals: build flash
:compact:

View file

@ -5,6 +5,6 @@ footprint
-p
frdm_k64f
-p
nrf51_pca10028
nrf51dk_nrf51422
-p
nrf52_pca10040

View file

@ -976,7 +976,7 @@ config BT_CTLR_PROFILE_ISR
config BT_CTLR_DEBUG_PINS
bool "Bluetooth Controller Debug Pins"
depends on BOARD_NRF51_PCA10028 || BOARD_NRF52_PCA10040 || BOARD_NRF52810_PCA10040 || BOARD_NRF52840_PCA10056 || BOARD_RV32M1_VEGA
depends on BOARD_NRF51DK_NRF51422 || BOARD_NRF52_PCA10040 || BOARD_NRF52810_PCA10040 || BOARD_NRF52840_PCA10056 || BOARD_RV32M1_VEGA
help
Turn on debug GPIO toggling for the BLE Controller. This is useful
when debugging with a logic analyzer or profiling certain sections of

View file

@ -31,7 +31,7 @@
#define DEBUG_PIN7 BIT(18)
#define DEBUG_PIN8 BIT(19)
#define DEBUG_PIN9 BIT(20)
#elif defined(CONFIG_BOARD_NRF51_PCA10028)
#elif defined(CONFIG_BOARD_NRF51DK_NRF51422)
#define DEBUG_PORT NRF_GPIO
#define DEBUG_PIN0 BIT(12)
#define DEBUG_PIN1 BIT(13)

View file

@ -76,35 +76,35 @@ tests:
bluetooth.init.test_controller:
extra_args: CONF_FILE=prj_controller.conf
platform_whitelist: nrf52840_pca10056 nrf52_pca10040
nrf51_pca10028 96b_nitrogen
nrf51dk_nrf51422 96b_nitrogen
bluetooth.init.test_controller_4_0:
extra_args: CONF_FILE=prj_controller_4_0.conf
platform_whitelist: nrf52840_pca10056 nrf52_pca10040
nrf51_pca10028
nrf51dk_nrf51422
bluetooth.init.test_controller_tiny:
extra_args: CONF_FILE=prj_controller_tiny.conf
platform_whitelist: nrf52840_pca10056 nrf52_pca10040
nrf51_pca10028
nrf51dk_nrf51422
bluetooth.init.test_controller_dbg:
extra_args: CONF_FILE=prj_controller_dbg.conf
platform_whitelist: nrf52840_pca10056 nrf52_pca10040
nrf51_pca10028 96b_nitrogen
nrf51dk_nrf51422 96b_nitrogen
bluetooth.init.test_controller_ll_sw_split:
extra_args: CONF_FILE=prj_controller_ll_sw_split.conf
platform_whitelist: nrf52840_pca10056 nrf52_pca10040
nrf51_pca10028
nrf51dk_nrf51422
bluetooth.init.test_controller_4_0_ll_sw_split:
extra_args: CONF_FILE=prj_controller_4_0_ll_sw_split.conf
platform_whitelist: nrf52840_pca10056 nrf52_pca10040
nrf51_pca10028
nrf51dk_nrf51422
bluetooth.init.test_controller_tiny_ll_sw_split:
extra_args: CONF_FILE=prj_controller_tiny_ll_sw_split.conf
platform_whitelist: nrf52840_pca10056 nrf52_pca10040
nrf51_pca10028
nrf51dk_nrf51422
bluetooth.init.test_controller_dbg_ll_sw_split:
extra_args: CONF_FILE=prj_controller_dbg_ll_sw_split.conf
platform_whitelist: nrf52840_pca10056 nrf52_pca10040
nrf51_pca10028
nrf51dk_nrf51422
bluetooth.init.test_h5:
extra_args: CONF_FILE=prj_h5.conf
platform_whitelist: qemu_cortex_m3

View file

@ -1,27 +1,27 @@
tests:
bluetooth.mesh.main:
build_only: true
platform_whitelist: qemu_x86 nrf51_pca10028 nrf52840_pca10056
platform_whitelist: qemu_x86 nrf51dk_nrf51422 nrf52840_pca10056
tags: bluetooth mesh
bluetooth.mesh.dbg:
build_only: true
extra_args: CONF_FILE=dbg.conf
platform_whitelist: qemu_x86 nrf51_pca10028 nrf52840_pca10056
platform_whitelist: qemu_x86 nrf51dk_nrf51422 nrf52840_pca10056
tags: bluetooth mesh
bluetooth.mesh.friend:
build_only: true
extra_args: CONF_FILE=friend.conf
platform_whitelist: qemu_x86 nrf51_pca10028 nrf52840_pca10056
platform_whitelist: qemu_x86 nrf51dk_nrf51422 nrf52840_pca10056
tags: bluetooth mesh
bluetooth.mesh.gatt:
build_only: true
extra_args: CONF_FILE=gatt.conf
platform_whitelist: qemu_x86 nrf51_pca10028 nrf52840_pca10056
platform_whitelist: qemu_x86 nrf51dk_nrf51422 nrf52840_pca10056
tags: bluetooth mesh
bluetooth.mesh.lpn:
build_only: true
extra_args: CONF_FILE=lpn.conf
platform_whitelist: qemu_x86 nrf51_pca10028 nrf52840_pca10056
platform_whitelist: qemu_x86 nrf51dk_nrf51422 nrf52840_pca10056
tags: bluetooth mesh
bluetooth.mesh.main.microbit:
build_only: true
@ -31,10 +31,10 @@ tests:
bluetooth.mesh.pb_gatt:
build_only: true
extra_args: CONF_FILE=pb_gatt.conf
platform_whitelist: qemu_x86 nrf51_pca10028 nrf52840_pca10056
platform_whitelist: qemu_x86 nrf51dk_nrf51422 nrf52840_pca10056
tags: bluetooth mesh
bluetooth.mesh.proxy:
build_only: true
extra_args: CONF_FILE=proxy.conf
platform_whitelist: qemu_x86 nrf51_pca10028 nrf52840_pca10056
platform_whitelist: qemu_x86 nrf51dk_nrf51422 nrf52840_pca10056
tags: bluetooth mesh

View file

@ -1,6 +1,6 @@
tests:
bluetooth.mesh.mesh_shell:
platform_whitelist: qemu_cortex_m3 qemu_x86 nrf51_pca10028
platform_whitelist: qemu_cortex_m3 qemu_x86 nrf51dk_nrf51422
platform_exclude: nrf52810_pca10040
tags: bluetooth
harness: keyboard

View file

@ -17,7 +17,7 @@
#include <zephyr.h>
#include <ztest.h>
#if defined(CONFIG_BOARD_NRF51_PCA10028)
#if defined(CONFIG_BOARD_NRF51DK_NRF51422)
#include <hal/nrf_adc.h>
#define ADC_DEVICE_NAME DT_ADC_0_NAME

View file

@ -1,9 +1,9 @@
tests:
drivers.clock.clock_control_nrf5:
tags: drivers
platform_whitelist: nrf51_pca10028 nrf52_pca10040 nrf52840_pca10056
platform_whitelist: nrf51dk_nrf51422 nrf52_pca10040 nrf52840_pca10056
nrf9160_pca10090
drivers.clock.clock_control_nrf5_lfclk_rc:
tags: drivers
platform_whitelist: nrf51_pca10028 nrf52_pca10040 nrf52840_pca10056
platform_whitelist: nrf51dk_nrf51422 nrf52_pca10040 nrf52840_pca10056
extra_args: CONF_FILE="nrf_lfclk_rc.conf"

View file

@ -1,4 +1,4 @@
tests:
drivers.clock.nrf5_clock_calibration:
tags: drivers
platform_whitelist: nrf51_pca10028 nrf52_pca10040 nrf52840_pca10056
platform_whitelist: nrf51dk_nrf51422 nrf52_pca10040 nrf52840_pca10056

View file

@ -6,7 +6,7 @@ tests:
bootloader.mcuboot.build:
tags: mcuboot
build_only: true
platform_whitelist: nrf51_pca10028 nrf52_pca10040
platform_whitelist: nrf51dk_nrf51422 nrf52_pca10040
extra_configs:
- CONFIG_BOOTLOADER_MCUBOOT=y
buildsystem.kconfig.utf8_in_values:

View file

@ -1,5 +1,5 @@
tests:
filesystem.fcb:
platform_whitelist: nrf52840_pca10056 nrf52_pca10040 nrf51_pca10028
platform_whitelist: nrf52840_pca10056 nrf52_pca10040 nrf51dk_nrf51422
native_posix native_posix_64
tags: flash_circural_buffer

View file

@ -1,6 +1,6 @@
tests:
storage.flash_map:
platform_whitelist: nrf51_pca10028 qemu_x86 native_posix native_posix_64
platform_whitelist: nrf51dk_nrf51422 qemu_x86 native_posix native_posix_64
tags: flash_map
storage.flash_map.mpu:
extra_args: OVERLAY_CONFIG=overlay-mpu.conf