boards: nrf52_pca10040: Rename to nrf52dk_nrf52832

The board name for the nRF52 DK, so far known as nrf52_pca10040, is
renamed to nrf52dk_nrf52832.  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:
Carles Cufi 2020-04-02 18:24:56 +02:00 committed by Carles Cufí
commit 6656214af2
87 changed files with 103 additions and 97 deletions

View file

@ -6,13 +6,13 @@ nRF52810-PCA10040
Overview Overview
******** ********
The nrf52810_pca10040 board is a modified version of the :ref:`nrf52_pca10040` The nrf52810_pca10040 board is a modified version of the :ref:`nrf52dk_nrf52832`
that enforces the limitations imposed by the nRF52810 IC, which is a that enforces the limitations imposed by the nRF52810 IC, which is a
cost-reduced variant of the original nRF52832. Since Nordic does not offer a cost-reduced variant of the original nRF52832. Since Nordic does not offer a
development kit for the nRF52810 you can use this board to develop for this development kit for the nRF52810 you can use this board to develop for this
IC while using the nRF52 Development Kit (PCA10040). IC while using the nRF52 Development Kit (PCA10040).
See :ref:`nrf52_pca10040` for more information about the development board and See :ref:`nrf52dk_nrf52832` for more information about the development board and
`nRF52810 website`_ for the official reference on the IC itself. `nRF52810 website`_ for the official reference on the IC itself.
References References

View file

@ -357,7 +357,7 @@ Thingy:52 does not have an on-board J-Link debug IC as some other nRF5
development boards, however, instructions from the :ref:`nordic_segger` page development boards, however, instructions from the :ref:`nordic_segger` page
also apply to this board, with the additional step of connecting an external also apply to this board, with the additional step of connecting an external
debugger. A development board with a Debug out connector such as the debugger. A development board with a Debug out connector such as the
:ref:`nrf52_pca10040` can be used as a debugger with Thingy:52. :ref:`nrf52dk_nrf52832` can be used as a debugger with Thingy:52.
Testing board features Testing board features
********************** **********************

View file

@ -1,4 +1,4 @@
# nRF52 PCA10040 board configuration # nRF52 DK board configuration
# Copyright (c) 2016 Nordic Semiconductor ASA # Copyright (c) 2016 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
@ -7,4 +7,4 @@ config BOARD_ENABLE_DCDC
bool "Enable DCDC mode" bool "Enable DCDC mode"
select SOC_DCDC_NRF52X select SOC_DCDC_NRF52X
default y default y
depends on BOARD_NRF52_PCA10040 depends on BOARD_NRF52DK_NRF52832

View file

@ -1,8 +1,8 @@
# nRF52 PCA10040 board configuration # nRF52 DK NRF52832 board configuration
# Copyright (c) 2016 Nordic Semiconductor ASA # Copyright (c) 2016 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
config BOARD_NRF52_PCA10040 config BOARD_NRF52DK_NRF52832
bool "nRF52 PCA10040" bool "nRF52 DK NRF52832"
depends on SOC_NRF52832_QFAA depends on SOC_NRF52832_QFAA

View file

@ -1,12 +1,12 @@
# nRF52 PCA10040 board configuration # nRF52 DK NRF52832 board configuration
# Copyright (c) 2016 Nordic Semiconductor ASA # Copyright (c) 2016 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
if BOARD_NRF52_PCA10040 if BOARD_NRF52DK_NRF52832
config BOARD config BOARD
default "nrf52_pca10040" default "nrf52dk_nrf52832"
config ADC_0 config ADC_0
default y default y
@ -19,4 +19,4 @@ config PWM_0
config BT_CTLR config BT_CTLR
default BT default BT
endif # BOARD_NRF52_PCA10040 endif # BOARD_NRF52DK_NRF52832

View file

Before

Width:  |  Height:  |  Size: 71 KiB

After

Width:  |  Height:  |  Size: 71 KiB

Before After
Before After

View file

@ -1,7 +1,7 @@
.. _nrf52_pca10040: .. _nrf52dk_nrf52832:
nRF52-PCA10040 nRF52 DK
############## ########
Overview Overview
******** ********
@ -25,17 +25,21 @@ the following devices:
* :abbr:`UART (Universal asynchronous receiver-transmitter)` * :abbr:`UART (Universal asynchronous receiver-transmitter)`
* :abbr:`WDT (Watchdog Timer)` * :abbr:`WDT (Watchdog Timer)`
.. figure:: img/nrf52_pca10040.jpg .. figure:: img/nrf52dk_nrf52832.jpg
:width: 442px :width: 442px
:align: center :align: center
:alt: nRF52 PCA10040 DK :alt: nRF52 DK
nRF52 PCA10040 DK (Credit: Nordic Semiconductor) nRF52 DK (Credit: Nordic Semiconductor)
More information about the board can be found at the More information about the board can be found at the
`nRF52 DK website`_. The `Nordic Semiconductor Infocenter`_ `nRF52 DK website`_. The `Nordic Semiconductor Infocenter`_
contains the processor's information and the datasheet. contains the processor's information and the datasheet.
.. note::
In previous Zephyr releases this board was named *nrf52_pca10040*.
Hardware Hardware
******** ********
@ -46,7 +50,7 @@ is 32 MHz.
Supported Features Supported Features
================== ==================
The nrf52_pca10040 board configuration supports the following The nrf52dk_nrf52832 board configuration supports the following
hardware features: hardware features:
+-----------+------------+----------------------+ +-----------+------------+----------------------+
@ -372,7 +376,7 @@ Then build and flash the application in the usual way.
.. zephyr-app-commands:: .. zephyr-app-commands::
:zephyr-app: samples/hello_world :zephyr-app: samples/hello_world
:board: nrf52_pca10040 :board: nrf52dk_nrf52832
:goals: build flash :goals: build flash
Debugging Debugging
@ -395,7 +399,7 @@ the board are working properly with Zephyr:
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/nrf52_pca10040/nrf52_pca10040.dts`. :zephyr_file:`boards/arm/nrf52dk_nrf52832/nrf52dk_nrf52832.dts`.
References References
********** **********

View file

@ -9,8 +9,8 @@
#include <nordic/nrf52832_qfaa.dtsi> #include <nordic/nrf52832_qfaa.dtsi>
/ { / {
model = "Nordic PCA10040 Dev Kit"; model = "Nordic nRF52 DK NRF52832";
compatible = "nordic,pca10040-dk", "nordic,nrf52832-qfaa", compatible = "nordic,nrf52-dk-nrf52832", "nordic,nrf52832-qfaa",
"nordic,nrf52832"; "nordic,nrf52832";
chosen { chosen {

View file

@ -1,5 +1,5 @@
identifier: nrf52_pca10040 identifier: nrf52dk_nrf52832
name: nRF52-PCA10040 name: nRF52-DK-NRF52832
type: mcu type: mcu
arch: arm arch: arm
toolchain: toolchain:

View file

@ -2,7 +2,7 @@
CONFIG_SOC_SERIES_NRF52X=y CONFIG_SOC_SERIES_NRF52X=y
CONFIG_SOC_NRF52832_QFAA=y CONFIG_SOC_NRF52832_QFAA=y
CONFIG_BOARD_NRF52_PCA10040=y CONFIG_BOARD_NRF52DK_NRF52832=y
# Enable MPU # Enable MPU
CONFIG_ARM_MPU=y CONFIG_ARM_MPU=y

View file

@ -10,6 +10,7 @@
set(nrf51_pca10028_DEPRECATED nrf51dk_nrf51422) set(nrf51_pca10028_DEPRECATED nrf51dk_nrf51422)
set(nrf51_pca10031_DEPRECATED nrf51dongle_nrf51422) set(nrf51_pca10031_DEPRECATED nrf51dongle_nrf51422)
set(nrf52_pca10040_DEPRECATED nrf52dk_nrf52832)
set(nrf52840_pca10056_DEPRECATED nrf52840dk_nrf52840) set(nrf52840_pca10056_DEPRECATED nrf52840dk_nrf52840)
set(nrf52811_pca10056_DEPRECATED nrf52840dk_nrf52811) set(nrf52811_pca10056_DEPRECATED nrf52840dk_nrf52811)
set(nrf9160_pca10090_DEPRECATED nrf9160dk_nrf9160) set(nrf9160_pca10090_DEPRECATED nrf9160dk_nrf9160)

View file

@ -3,4 +3,4 @@
config CAN_1 config CAN_1
default y default y
depends on BOARD_NRF52_PCA10040 depends on BOARD_NRF52DK_NRF52832

View file

@ -120,7 +120,7 @@ Zephyr application. For example:
.. zephyr-app-commands:: .. zephyr-app-commands::
:zephyr-app: samples/drivers/CAN :zephyr-app: samples/drivers/CAN
:tool: all :tool: all
:board: nrf52_pca10040 :board: nrf52dk_nrf52832
:shield: dfrobot_can_bus_v2_0 :shield: dfrobot_can_bus_v2_0
:conf: prj.mcp2515.conf :conf: prj.mcp2515.conf
:goals: build flash :goals: build flash

View file

@ -1442,7 +1442,7 @@ endfunction()
# Usage: # Usage:
# print(BOARD) # print(BOARD)
# #
# will print: "BOARD: nrf52_pca10040" # will print: "BOARD: nrf52dk_nrf52832"
function(print arg) function(print arg)
message(STATUS "${arg}: ${${arg}}") message(STATUS "${arg}: ${${arg}}")
endfunction() endfunction()

View file

@ -348,7 +348,8 @@ html_redirect_pages = [
('boards/arm/nrf52840_pca10059/doc/nrf52840_pca10059', 'boards/arm/nrf52840_pca10059/doc/index'), ('boards/arm/nrf52840_pca10059/doc/nrf52840_pca10059', 'boards/arm/nrf52840_pca10059/doc/index'),
('boards/arm/nrf52_adafruit_feather/doc/nrf52_adafruit_feather', 'boards/arm/nrf52_adafruit_feather/doc/index'), ('boards/arm/nrf52_adafruit_feather/doc/nrf52_adafruit_feather', 'boards/arm/nrf52_adafruit_feather/doc/index'),
('boards/arm/nrf52_blenano2/doc/nrf52_blenano2', 'boards/arm/nrf52_blenano2/doc/index'), ('boards/arm/nrf52_blenano2/doc/nrf52_blenano2', 'boards/arm/nrf52_blenano2/doc/index'),
('boards/arm/nrf52_pca10040/doc/nrf52_pca10040', 'boards/arm/nrf52_pca10040/doc/index'), ('boards/arm/nrf52_pca10040/doc/nrf52_pca10040', 'boards/arm/nrf52dk_nrf52832/doc/index'),
('boards/arm/nrf52_pca10040/doc/nrf52_pca10040/index', 'boards/arm/nrf52dk_nrf52832/doc/index'),
('boards/arm/nrf52_pca20020/doc/nrf52_pca20020', 'boards/arm/nrf52_pca20020/doc/index'), ('boards/arm/nrf52_pca20020/doc/nrf52_pca20020', 'boards/arm/nrf52_pca20020/doc/index'),
('boards/arm/nrf52_vbluno52/doc/nrf52_vbluno52', 'boards/arm/nrf52_vbluno52/doc/index'), ('boards/arm/nrf52_vbluno52/doc/nrf52_vbluno52', 'boards/arm/nrf52_vbluno52/doc/index'),
('boards/arm/nucleo_f030r8/doc/nucleof030r8', 'boards/arm/nucleo_f030r8/doc/index'), ('boards/arm/nucleo_f030r8/doc/nucleof030r8', 'boards/arm/nucleo_f030r8/doc/index'),

View file

@ -43,7 +43,7 @@ not always used.
- SoC family - SoC family
- CPU core - CPU core
- Architecture - Architecture
* - :ref:`nrf52_pca10040 <nrf52_pca10040>` * - :ref:`nrf52dk_nrf52832 <nrf52dk_nrf52832>`
- nRF52832 - nRF52832
- nRF52 - nRF52
- Nordic nRF5 - Nordic nRF5

View file

@ -63,7 +63,7 @@ Where ``<x>`` is either 1 for nRF51-based boards or 2 for nRF52-based boards
nrfjprog --program outdir/<board>/zephyr.hex -f nrf5<x> nrfjprog --program outdir/<board>/zephyr.hex -f nrf5<x>
Where: ``<board>`` is the board name you used in the BOARD directive when building (for example nrf52_pca10040) Where: ``<board>`` is the board name you used in the BOARD directive when building (for example nrf52dk_nrf52832)
and ``<x>`` is either 1 for nRF51-based boards or 2 for nRF52-based boards and ``<x>`` is either 1 for nRF51-based boards or 2 for nRF52-based boards
* Reset and start Zephyr: * Reset and start Zephyr:

View file

@ -4,7 +4,7 @@ sample:
tests: tests:
sample.app_dev.out_of_tree: sample.app_dev.out_of_tree:
tags: out_of_tree tags: out_of_tree
platform_whitelist: nrf52840dk_nrf52840 nrf52_pca10040 platform_whitelist: nrf52840dk_nrf52840 nrf52dk_nrf52832
harness: console harness: console
harness_config: harness_config:
type: one_line type: one_line

View file

@ -3,5 +3,5 @@ sample:
tests: tests:
sample.bluetooth.beacon: sample.bluetooth.beacon:
harness: bluetooth harness: bluetooth
platform_whitelist: qemu_cortex_m3 qemu_x86 nrf52_pca10040 platform_whitelist: qemu_cortex_m3 qemu_x86 nrf52dk_nrf52832
tags: bluetooth tags: bluetooth

View file

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

View file

@ -50,7 +50,7 @@ For example, to build for the nRF52832 Development Kit:
.. zephyr-app-commands:: .. zephyr-app-commands::
:zephyr-app: samples/bluetooth/hci_uart :zephyr-app: samples/bluetooth/hci_uart
:board: nrf52_pca10040 :board: nrf52dk_nrf52832
:goals: build flash :goals: build flash
.. _bluetooth-hci-uart-qemu-posix: .. _bluetooth-hci-uart-qemu-posix:

View file

@ -5,10 +5,10 @@ tests:
sample.bluetooth.hci_uart.arm: sample.bluetooth.hci_uart.arm:
harness: bluetooth harness: bluetooth
platform_whitelist: 96b_nitrogen nrf51dk_nrf51422 platform_whitelist: 96b_nitrogen nrf51dk_nrf51422
nrf52_pca10040 bbc_microbit nrf52dk_nrf52832 bbc_microbit
tags: uart bluetooth tags: uart bluetooth
sample.bluetooth.hci_uart.nrf5: sample.bluetooth.hci_uart.nrf5:
harness: bluetooth harness: bluetooth
platform_whitelist: 96b_nitrogen nrf51dk_nrf51422 platform_whitelist: 96b_nitrogen nrf51dk_nrf51422
nrf52_pca10040 nrf52dk_nrf52832
tags: uart bluetooth tags: uart bluetooth

View file

@ -38,7 +38,7 @@ Requirements
************ ************
This sample has been tested on the Nordic nRF52840-PDK board, but would This sample has been tested on the Nordic nRF52840-PDK board, but would
likely also run on the nrf52_pca10040 board. likely also run on the nrf52dk_nrf52832 board.
Building and Running Building and Running
******************** ********************

View file

@ -56,7 +56,7 @@ also publish its relevant status.
Requirements Requirements
************ ************
This sample has been tested on the Nordic nRF52840-PDK board, but would This sample has been tested on the Nordic nRF52840-PDK board, but would
likely also run on the nrf52_pca10040 board. likely also run on the nrf52dk_nrf52832 board.
Building and Running Building and Running
******************** ********************

View file

@ -27,7 +27,7 @@ Building, Flashing and Running
.. zephyr-app-commands:: .. zephyr-app-commands::
:zephyr-app: samples/boards/nrf52/system_off :zephyr-app: samples/boards/nrf52/system_off
:board: nrf52_pca10040 :board: nrf52dk_nrf52832
:goals: build flash :goals: build flash
:compact: :compact:
@ -50,7 +50,7 @@ nRF52 core output
***** Booting Zephyr OS build v2.1.0-rc1-158-gb642e1a96d17 ***** ***** Booting Zephyr OS build v2.1.0-rc1-158-gb642e1a96d17 *****
nrf52_pca10040 system off demo nrf52dk_nrf52832 system off demo
Busy-wait 2 s Busy-wait 2 s
Sleep 2 s Sleep 2 s
Sleep 60000 ms (deep sleep minimum) Sleep 60000 ms (deep sleep minimum)

View file

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

View file

@ -36,12 +36,12 @@ For the NXP TWR-KE18F board:
Stand alone CAN controller Stand alone CAN controller
========================== ==========================
For the nRF52_PCA10040 board combined with the DFRobot CAN bus V2.0 shield that For the nrf52dk_nrf52832 board combined with the DFRobot CAN bus V2.0 shield that
provides the MCP2515 CAN controller: provides the MCP2515 CAN controller:
.. zephyr-app-commands:: .. zephyr-app-commands::
:zephyr-app: samples/drivers/CAN :zephyr-app: samples/drivers/CAN
:board: nrf52_pca10040 :board: nrf52dk_nrf52832
:shield: dfrobot_can_bus_v2_0 :shield: dfrobot_can_bus_v2_0
:conf: prj.mcp2515.conf :conf: prj.mcp2515.conf
:goals: build flash :goals: build flash

View file

@ -4,7 +4,7 @@ tests:
sample.drivers.counter.alarm: sample.drivers.counter.alarm:
tags: drivers tags: drivers
harness: console harness: console
platform_whitelist: nucleo_f746zg nrf51dk_nrf51422 nrf52_pca10040 platform_whitelist: nucleo_f746zg nrf51dk_nrf51422 nrf52dk_nrf52832
nrf52840dk_nrf52840 nrf9160dk_nrf9160 nrf52840dk_nrf52840 nrf9160dk_nrf9160
harness_config: harness_config:
type: multi_line type: multi_line

View file

@ -18,11 +18,11 @@ tests:
platform_whitelist: nrf52840dk_nrf52840 platform_whitelist: nrf52840dk_nrf52840
extra_args: SHIELD=waveshare_epaper_gdeh0213b1 extra_args: SHIELD=waveshare_epaper_gdeh0213b1
sample.display.st7789v_tl019fqv01: sample.display.st7789v_tl019fqv01:
platform_whitelist: nrf52_pca10040 platform_whitelist: nrf52dk_nrf52832
extra_args: SHIELD=st7789v_tl019fqv01 extra_args: SHIELD=st7789v_tl019fqv01
tags: display shield tags: display shield
sample.display.st7789v_waveshare_240x240: sample.display.st7789v_waveshare_240x240:
platform_whitelist: nrf52_pca10040 platform_whitelist: nrf52dk_nrf52832
extra_args: SHIELD=st7789v_waveshare_240x240 extra_args: SHIELD=st7789v_waveshare_240x240
tags: display shield tags: display shield
sample.display.mcux_elcdif: sample.display.mcux_elcdif:

View file

@ -54,7 +54,7 @@ To make sure the sample is set up properly for building, you must:
chain length (number of WS2812 chips). chain length (number of WS2812 chips).
For example devicetree configurations for each compatible, see 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/nrf52dk_nrf52832.overlay` and
:zephyr_file:`samples/drivers/led_ws2812/boards/nrf51dk_nrf51422.overlay`. :zephyr_file:`samples/drivers/led_ws2812/boards/nrf51dk_nrf51422.overlay`.
Some boards are already supported out of the box; see the :file:`boards` Some boards are already supported out of the box; see the :file:`boards`

View file

@ -14,7 +14,7 @@
chain-length = <16>; /* arbitrary */ chain-length = <16>; /* arbitrary */
/* /*
* Arduino D11 / P0.25, which was chosen to match the pin * Arduino D11 / P0.25, which was chosen to match the pin
* used in nrf52_pca10040.overlay. * used in nrf52dk_nrf52832.overlay.
*/ */
in-gpios = <&gpio0 25 0>; in-gpios = <&gpio0 25 0>;
}; };

View file

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

View file

@ -2,7 +2,7 @@ sample:
name: SoC Flash on NRF52 name: SoC Flash on NRF52
tests: tests:
sample.drivers.flash.soc_flash_nrf: sample.drivers.flash.soc_flash_nrf:
platform_whitelist: nrf52_pca10040 nrf9160dk_nrf9160 nrf9160dk_nrf9160ns platform_whitelist: nrf52dk_nrf52832 nrf9160dk_nrf9160 nrf9160dk_nrf9160ns
tags: flash nrf52 nrf9160 tags: flash nrf52 nrf9160
harness: console harness: console
harness_config: harness_config:

View file

@ -16,7 +16,7 @@ tests:
sample.net.lwm2m_client.bt: sample.net.lwm2m_client.bt:
harness: net harness: net
extra_args: OVERLAY_CONFIG=overlay-bt.conf extra_args: OVERLAY_CONFIG=overlay-bt.conf
platform_whitelist: nrf52_pca10040 nrf52840dk_nrf52840 disco_l475_iot1 platform_whitelist: nrf52dk_nrf52832 nrf52840dk_nrf52840 disco_l475_iot1
tags: net lwm2m tags: net lwm2m
sample.net.lwm2m_client.queue_mode: sample.net.lwm2m_client.queue_mode:
harness: net harness: net

View file

@ -36,12 +36,12 @@ Building and Running
This project outputs sensor data to the console. It requires an ADT7420 This project outputs sensor data to the console. It requires an ADT7420
sensor. It should work with any platform featuring a I2C peripheral interface. sensor. It should work with any platform featuring a I2C peripheral interface.
It does not work on QEMU. It does not work on QEMU.
In this example below the :ref:`nrf52_pca10040` board is used. In this example below the :ref:`nrf52dk_nrf52832` board is used.
.. zephyr-app-commands:: .. zephyr-app-commands::
:zephyr-app: samples/sensor/adt7420 :zephyr-app: samples/sensor/adt7420
:board: nrf52_pca10040 :board: nrf52dk_nrf52832
:goals: build flash :goals: build flash
Sample Output Sample Output

View file

@ -66,12 +66,12 @@ Building and Running
This project outputs sensor data to the console. It requires an ADXL372 This project outputs sensor data to the console. It requires an ADXL372
sensor. It should work with any platform featuring a I2C/SPI peripheral interface. sensor. It should work with any platform featuring a I2C/SPI peripheral interface.
It does not work on QEMU. It does not work on QEMU.
In this example below the :ref:`nrf52_pca10040` board is used. In this example below the :ref:`nrf52dk_nrf52832` board is used.
.. zephyr-app-commands:: .. zephyr-app-commands::
:zephyr-app: samples/sensor/adxl372 :zephyr-app: samples/sensor/adxl372
:board: nrf52_pca10040 :board: nrf52dk_nrf52832
:goals: build flash :goals: build flash

View file

@ -5,7 +5,7 @@ tests:
harness: sensor harness: sensor
tags: sensors tags: sensors
depends_on: spi depends_on: spi
platform_whitelist: nrf52_pca10040 platform_whitelist: nrf52dk_nrf52832
sample.sensor.adxl372.i2c: sample.sensor.adxl372.i2c:
harness: sensor harness: sensor
tags: sensors tags: sensors

View file

@ -24,7 +24,7 @@ build this sample app using:
.. zephyr-app-commands:: .. zephyr-app-commands::
:zephyr-app: samples/sensor/dht :zephyr-app: samples/sensor/dht
:board: nrf52_pca10040 :board: nrf52dk_nrf52832
:goals: build flash :goals: build flash
Sample Output Sample Output

View file

@ -9,5 +9,5 @@ sample:
tests: tests:
sample.sensor.dht: sample.sensor.dht:
build_only: true build_only: true
platform_whitelist: nrf52_pca10040 platform_whitelist: nrf52dk_nrf52832
tags: sensors tags: sensors

View file

@ -3,6 +3,6 @@ sample:
tests: tests:
sample.sensor.grove_light: sample.sensor.grove_light:
tags: drivers sensor grove light tags: drivers sensor grove light
platform_whitelist: nrf52_pca10040 platform_whitelist: nrf52dk_nrf52832
harness: grove harness: grove
depends_on: adc depends_on: adc

View file

@ -4,6 +4,6 @@ tests:
sample.sensor.grove_temperature: sample.sensor.grove_temperature:
min_flash: 33 min_flash: 33
tags: drivers sensor grove temperature tags: drivers sensor grove temperature
platform_whitelist: nrf52_pca10040 platform_whitelist: nrf52dk_nrf52832
harness: grove harness: grove
depends_on: adc depends_on: adc

View file

@ -27,7 +27,7 @@ Building and Running
.. zephyr-app-commands:: .. zephyr-app-commands::
:zephyr-app: samples/sensor/isl29035 :zephyr-app: samples/sensor/isl29035
:board: nrf52_pca10040 :board: nrf52dk_nrf52832
:goals: build :goals: build
:compact: :compact:

View file

@ -5,4 +5,4 @@ tests:
harness: console harness: console
tags: sensors tags: sensors
depends_on: i2c depends_on: i2c
platform_whitelist: nrf52_pca10040 platform_whitelist: nrf52dk_nrf52832

View file

@ -27,7 +27,7 @@ sensor, which is present on the X-NUCLEO-IKS01A3 shield.
.. zephyr-app-commands:: .. zephyr-app-commands::
:zephyr-app: samples/sensor/lps22hh :zephyr-app: samples/sensor/lps22hh
:board: nrf52_pca10040 :board: nrf52dk_nrf52832
:shield: x_nucleo_iks01a3 :shield: x_nucleo_iks01a3
:goals: build :goals: build
:compact: :compact:

View file

@ -3,7 +3,7 @@ sample:
tests: tests:
sample.sensor.lps22hh.nrf52.iks01a3: sample.sensor.lps22hh.nrf52.iks01a3:
harness: console harness: console
platform_whitelist: nrf52_pca10040 platform_whitelist: nrf52dk_nrf52832
tags: sensors tags: sensors
depends_on: i2c depends_on: i2c
extra_args: SHIELD=x_nucleo_iks01a3 extra_args: SHIELD=x_nucleo_iks01a3

View file

@ -28,7 +28,7 @@ build this sample app using:
.. zephyr-app-commands:: .. zephyr-app-commands::
:zephyr-app: samples/sensor/mpu6050 :zephyr-app: samples/sensor/mpu6050
:board: nrf52_pca10040 :board: nrf52dk_nrf52832
:goals: build flash :goals: build flash
Sample Output Sample Output

View file

@ -9,5 +9,5 @@ sample:
tests: tests:
sample.sensor.mpu6050: sample.sensor.mpu6050:
build_only: true build_only: true
platform_whitelist: nrf52_pca10040 platform_whitelist: nrf52dk_nrf52832
tags: sensors tags: sensors

View file

@ -52,7 +52,7 @@ Building and Running
The below steps describe how to build and run the ``smp_svr`` sample in The below steps describe how to build and run the ``smp_svr`` sample in
Zephyr. Where examples are given, they assume the sample is being built for Zephyr. Where examples are given, they assume the sample is being built for
the Nordic nRF52 Development Kit (``BOARD=nrf52_pca10040``). the Nordic nRF52 Development Kit (``BOARD=nrf52dk_nrf52832``).
If you would like to use a more constrained platform, such as the nRF51 DK, you If you would like to use a more constrained platform, such as the nRF51 DK, you
should use the :file:`prj_tiny.conf` configuration file rather than the default should use the :file:`prj_tiny.conf` configuration file rather than the default
@ -91,8 +91,8 @@ Step 3: Build smp_svr
.. zephyr-app-commands:: .. zephyr-app-commands::
:zephyr-app: samples/subsys/mgmt/mcumgr/smp_svr :zephyr-app: samples/subsys/mgmt/mcumgr/smp_svr
:board: nrf52_pca10040 :board: nrf52dk_nrf52832
:build-dir: nrf52_pca10040 :build-dir: nrf52dk_nrf52832
:goals: build :goals: build
.. _smp_svr_sample_sign: .. _smp_svr_sample_sign:

View file

@ -9,4 +9,4 @@ tests:
extra_args: CONF_FILE="prj_tiny.conf" extra_args: CONF_FILE="prj_tiny.conf"
platform_whitelist: nrf51dk_nrf51422 platform_whitelist: nrf51dk_nrf51422
sample.mcumg.smp_svr.nrf52: sample.mcumg.smp_svr.nrf52:
platform_whitelist: nrf52_pca10040 nrf52840dk_nrf52840 platform_whitelist: nrf52dk_nrf52832 nrf52840dk_nrf52840

View file

@ -2,7 +2,7 @@ sample:
name: Device Idle Power Management name: Device Idle Power Management
tests: tests:
sample.power.ospm.dev_idle_pm: sample.power.ospm.dev_idle_pm:
platform_whitelist: nrf52840dk_nrf52840 nrf52_pca10040 platform_whitelist: nrf52840dk_nrf52840 nrf52dk_nrf52832
tags: power tags: power
harness: console harness: console
harness_config: harness_config:

View file

@ -3,7 +3,7 @@
cmake_minimum_required(VERSION 3.13.1) cmake_minimum_required(VERSION 3.13.1)
if((BOARD STREQUAL nrf52840dk_nrf52840) OR if((BOARD STREQUAL nrf52840dk_nrf52840) OR
(BOARD STREQUAL nrf52_pca10040) OR (BOARD STREQUAL nrf52dk_nrf52832) OR
(BOARD STREQUAL nrf9160dk_nrf9160) OR (BOARD STREQUAL nrf9160dk_nrf9160) OR
(BOARD STREQUAL reel_board) (BOARD STREQUAL reel_board)
) )

View file

@ -292,7 +292,7 @@ class ZephyrBinaryRunner(abc.ABC):
This class provides an API for these commands. Every subclass is This class provides an API for these commands. Every subclass is
called a 'runner' for short. Each runner has a name (like called a 'runner' for short. Each runner has a name (like
'pyocd'), and declares commands it can handle (like 'pyocd'), and declares commands it can handle (like
'flash'). Boards (like 'nrf52_pca10040') declare which runner(s) 'flash'). Boards (like 'nrf52dk_nrf52832') declare which runner(s)
are compatible with them to the Zephyr build system, along with are compatible with them to the Zephyr build system, along with
information on how to configure the runner to work with the board. information on how to configure the runner to work with the board.

View file

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

View file

@ -18,7 +18,7 @@
#define DEBUG_PIN7 BIT(8) #define DEBUG_PIN7 BIT(8)
#define DEBUG_PIN8 BIT(10) #define DEBUG_PIN8 BIT(10)
#define DEBUG_PIN9 BIT(11) #define DEBUG_PIN9 BIT(11)
#elif defined(CONFIG_BOARD_NRF52_PCA10040) || \ #elif defined(CONFIG_BOARD_NRF52DK_NRF52832) || \
defined(CONFIG_BOARD_NRF52810_PCA10040) defined(CONFIG_BOARD_NRF52810_PCA10040)
#define DEBUG_PORT NRF_GPIO #define DEBUG_PORT NRF_GPIO
#define DEBUG_PIN0 BIT(11) #define DEBUG_PIN0 BIT(11)

View file

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

View file

@ -39,7 +39,7 @@
#define ADC_2ND_CHANNEL_ID 2 #define ADC_2ND_CHANNEL_ID 2
#define ADC_2ND_CHANNEL_INPUT NRF_ADC_CONFIG_INPUT_3 #define ADC_2ND_CHANNEL_INPUT NRF_ADC_CONFIG_INPUT_3
#elif defined(CONFIG_BOARD_NRF52_PCA10040) || \ #elif defined(CONFIG_BOARD_NRF52DK_NRF52832) || \
defined(CONFIG_BOARD_NRF52840DK_NRF52840) || \ defined(CONFIG_BOARD_NRF52840DK_NRF52840) || \
defined(CONFIG_BOARD_NRF52840_PCA10059) || \ defined(CONFIG_BOARD_NRF52840_PCA10059) || \
defined(CONFIG_BOARD_NRF52840_BLIP) || \ defined(CONFIG_BOARD_NRF52840_BLIP) || \

View file

@ -1,9 +1,9 @@
tests: tests:
drivers.clock.clock_control_nrf5: drivers.clock.clock_control_nrf5:
tags: drivers tags: drivers
platform_whitelist: nrf51dk_nrf51422 nrf52_pca10040 nrf52840dk_nrf52840 platform_whitelist: nrf51dk_nrf51422 nrf52dk_nrf52832 nrf52840dk_nrf52840
nrf9160dk_nrf9160 nrf9160dk_nrf9160
drivers.clock.clock_control_nrf5_lfclk_rc: drivers.clock.clock_control_nrf5_lfclk_rc:
tags: drivers tags: drivers
platform_whitelist: nrf51dk_nrf51422 nrf52_pca10040 nrf52840dk_nrf52840 platform_whitelist: nrf51dk_nrf51422 nrf52dk_nrf52832 nrf52840dk_nrf52840
extra_args: CONF_FILE="nrf_lfclk_rc.conf" extra_args: CONF_FILE="nrf_lfclk_rc.conf"

View file

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

View file

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

View file

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

View file

@ -1,4 +1,4 @@
tests: tests:
system.settings.fcb.base64: system.settings.fcb.base64:
platform_whitelist: nrf52840dk_nrf52840 nrf52_pca10040 native_posix native_posix_64 platform_whitelist: nrf52840dk_nrf52840 nrf52dk_nrf52832 native_posix native_posix_64
tags: settings_fcb tags: settings_fcb

View file

@ -1,4 +1,4 @@
tests: tests:
system.settings.fcb.raw: system.settings.fcb.raw:
platform_whitelist: nrf52840dk_nrf52840 nrf52_pca10040 native_posix native_posix_64 platform_whitelist: nrf52840dk_nrf52840 nrf52dk_nrf52832 native_posix native_posix_64
tags: settings_fcb tags: settings_fcb

View file

@ -1,4 +1,4 @@
tests: tests:
system.settings.fcb: system.settings.fcb:
platform_whitelist: nrf52840dk_nrf52840 nrf52_pca10040 platform_whitelist: nrf52840dk_nrf52840 nrf52dk_nrf52832
tags: settings_intialization_fcb tags: settings_intialization_fcb

View file

@ -1,4 +1,4 @@
tests: tests:
system.settings.functional.fcb: system.settings.functional.fcb:
platform_whitelist: nrf52840dk_nrf52840 nrf52_pca10040 native_posix native_posix_64 platform_whitelist: nrf52840dk_nrf52840 nrf52dk_nrf52832 native_posix native_posix_64
tags: settings_fcb tags: settings_fcb

View file

@ -1,4 +1,4 @@
tests: tests:
system.settings.file: system.settings.file:
platform_whitelist: nrf52840dk_nrf52840 nrf52_pca10040 native_posix native_posix_64 platform_whitelist: nrf52840dk_nrf52840 nrf52dk_nrf52832 native_posix native_posix_64
tags: settings_file tags: settings_file

View file

@ -4,6 +4,6 @@ tests:
tags: flash_map tags: flash_map
storage.flash_map.mpu: storage.flash_map.mpu:
extra_args: OVERLAY_CONFIG=overlay-mpu.conf extra_args: OVERLAY_CONFIG=overlay-mpu.conf
platform_whitelist: nrf52840dk_nrf52840 nrf52_pca10040 frdm_k64f hexiwear_k64 platform_whitelist: nrf52840dk_nrf52840 nrf52dk_nrf52832 frdm_k64f hexiwear_k64
twr_ke18f twr_ke18f
tags: flash_map tags: flash_map