Skip to content

Commit

Permalink
boards: Align the nRF21540 EK names with the new convention
Browse files Browse the repository at this point in the history
According to the new naming convention there should be no '_'
characters in the board names.

Ref: NCSDK-22226

Signed-off-by: Marcin Jelinski <marcin.jelinski@nordicsemi.no>
  • Loading branch information
maje-emb authored and nordicjm committed Aug 3, 2023
1 parent d4a7dac commit 18c27de
Show file tree
Hide file tree
Showing 31 changed files with 57 additions and 57 deletions.
4 changes: 2 additions & 2 deletions applications/nrf5340_audio/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -396,12 +396,12 @@ Adding FEM support
You can add support for the nRF21540 front-end module (FEM) to this application by using one of the following options, depending on how you decide to build the application:

* If you opt for :ref:`nrf53_audio_app_building_script`, add the ``--nrf21540`` to the script's building command.
* If you opt for :ref:`nrf53_audio_app_building_standard`, add the ``-DSHIELD=nrf21540_ek_fwd`` to the ``west build`` command.
* If you opt for :ref:`nrf53_audio_app_building_standard`, add the ``-DSHIELD=nrf21540ek_fwd`` to the ``west build`` command.
For example:

.. code-block:: console
west build -b nrf5340_audio_dk_nrf5340_cpuapp --pristine -- -DCONFIG_AUDIO_DEV=1 -DSHIELD=nrf21540_ek_fwd -DCONF_FILE=prj_release.conf
west build -b nrf5340_audio_dk_nrf5340_cpuapp --pristine -- -DCONFIG_AUDIO_DEV=1 -DSHIELD=nrf21540ek_fwd -DCONF_FILE=prj_release.conf
To set the TX power output, use the :ref:`CONFIG_NRF_21540_MAIN_TX_POWER <config_nrf53_audio_app_options>` and :ref:`CONFIG_NRF_21540_PRI_ADV_TX_POWER <config_nrf53_audio_app_options>` Kconfig options.

Expand Down
4 changes: 2 additions & 2 deletions applications/nrf5340_audio/src/bluetooth/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -211,12 +211,12 @@ config BLE_ADV_TX_POWER_DBM
default -40 if BLE_ADV_TX_POWER_NEG_40DBM

config NRF_21540_ACTIVE
def_bool $(shields_list_contains,nrf21540_ek_fwd)
def_bool $(shields_list_contains,nrf21540ek_fwd)
select EXPERIMENTAL
help
The front end module can help boost the TX power as high as 20 dBm.
Usually set through buildprog, if not set there, remember to add
-DSHIELD=nrf21540_ek_fwd when building app core to include the shield
-DSHIELD=nrf21540ek_fwd when building app core to include the shield
overlay file.

choice NRF_21540_MAIN_TX_POWER
Expand Down
2 changes: 1 addition & 1 deletion applications/nrf5340_audio/src/bluetooth/ble_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ static void on_bt_ready(int err)
ble_core_le_lost_notify_enable();

#if (CONFIG_NRF_21540_ACTIVE)
/* Indexes for the pins gotten from nrf21540_ek_fwd.overlay */
/* Indexes for the pins gotten from nrf21540ek_fwd.overlay */
uint8_t tx_pin = NRF_DT_GPIOS_TO_PSEL_BY_IDX(DT_PATH(nrf_gpio_forwarder, nrf21540_gpio_if),
gpios, 0);
uint8_t rx_pin = NRF_DT_GPIOS_TO_PSEL_BY_IDX(DT_PATH(nrf_gpio_forwarder, nrf21540_gpio_if),
Expand Down
2 changes: 1 addition & 1 deletion applications/nrf5340_audio/tools/buildprog/buildprog.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def __build_cmd_get(core: Core, device: AudioDevice, build: BuildType, pristine,
device_flag += " -DCONFIG_B0N_MINIMAL=y"

if options.nrf21540:
device_flag += " -DSHIELD=nrf21540_ek_fwd"
device_flag += " -DSHIELD=nrf21540ek_fwd"

if os.name == 'nt':
release_flag = release_flag.replace('\\', '/')
Expand Down
6 changes: 3 additions & 3 deletions applications/nrf_desktop/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -813,20 +813,20 @@ Configuration
Adding nRF21540 EK shield support
=================================

The nRF Desktop application can be used with the :ref:`ug_radio_fem_nrf21540_ek` shield, an RF front-end module (FEM) for the 2.4 GHz range extension.
The nRF Desktop application can be used with the :ref:`ug_radio_fem_nrf21540ek` shield, an RF front-end module (FEM) for the 2.4 GHz range extension.
The shield can be used with any nRF Desktop HID application configured for a development kit that is fitted with Arduino-compatible connector (see the :guilabel:`DK` tab in `Requirements`_).
This means that the shield support is not available for nRF Desktop's dedicated boards, such as ``nrf52840gmouse_nrf52840``, ``nrf52kbd_nrf52832``, or ``nrf52840dongle_nrf52840``.
To build the application with the shield support, pass the ``SHIELD`` parameter to the build command.

For detailed information about building the nRF Desktop application for the nRF21540 EK, see the :ref:`ug_radio_fem_nrf21540_ek_programming` section on the nRF21540 EK documentation page.
For detailed information about building the nRF Desktop application for the nRF21540 EK, see the :ref:`ug_radio_fem_nrf21540ek_programming` section on the nRF21540 EK documentation page.

.. note::
For the multi-core build, use the ``hci_rpmsg_`` as the *childImageName* parameter, because in the nRF Desktop application, network core runs using ``hci_rpmsg_``.
The command would look as follows:

.. code-block:: console
west build -b nrf5340dk_nrf5340_cpuapp -- -DSHIELD=nrf21540_ek -Dhci_rpmsg_SHIELD=nrf21540_ek
west build -b nrf5340dk_nrf5340_cpuapp -- -DSHIELD=nrf21540ek -Dhci_rpmsg_SHIELD=nrf21540ek
Building and running
********************
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

config SHIELD_NRF21540_EK
def_bool $(shields_list_contains,nrf21540_ek)
config SHIELD_NRF21540EK
def_bool $(shields_list_contains,nrf21540ek)
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

/* This file matches the contents of nrf21540_ek.overlay and is intended to be applied to nRF5340
* application core when nrf21540_ek shield is provided to the network core's image build.
/* This file matches the contents of nrf21540ek.overlay and is intended to be applied to nRF5340
* application core when nrf21540ek shield is provided to the network core's image build.
*
* For instance, consider an application targeted for nRF5340 application core that specifies
* a child image targeted for nRF5340 network core, which drives the nRF21540 Front-End Module.
* The shield overlays could be provided to the build using the following command:
*
* west build -p -b nrf5340dk_nrf5340_cpuapp -- -DSHIELD=nrf21540_ek_fwd -D<child_image>_SHIELD=nrf21540_ek
* west build -p -b nrf5340dk_nrf5340_cpuapp -- -DSHIELD=nrf21540ek_fwd -D<child_image>_SHIELD=nrf21540ek
*/
&gpio_fwd {
nrf21540-gpio-if {
Expand Down
2 changes: 1 addition & 1 deletion doc/nrf/config_and_build/board_support.rst
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ The following boards are defined in the :file:`nrf/boards/arm/` folder.
| | | | ``nrf7002dk_nrf5340_cpuapp_ns`` |
+-------------------+------------+----------------------------------------------------------+---------------------------------------+

The :ref:`nRF21540 EK shield <ug_radio_fem_nrf21540_ek>` is defined in the :file:`nrf/boards/shields` folder.
The :ref:`nRF21540 EK shield <ug_radio_fem_nrf21540ek>` is defined in the :file:`nrf/boards/shields` folder.

Custom boards
*************
Expand Down
20 changes: 10 additions & 10 deletions doc/nrf/device_guides/working_with_fem.rst
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ Hardware support
Two nRF21540 boards are available, showcasing the possibilities of the nRF21540 FEM:

* :ref:`nRF21540 DK <nrf21540dk_nrf52840>`
* :ref:`ug_radio_fem_nrf21540_ek`
* :ref:`ug_radio_fem_nrf21540ek`

Also, various Skyworks front-end modules are supported.
For example, SKY66112-11EK has a 2-pin PA/LNA interface.
Expand All @@ -551,7 +551,7 @@ Shields

Shields are add-ons that you can attach to the development kit to extend its feature and functionalities.

.. _ug_radio_fem_nrf21540_ek:
.. _ug_radio_fem_nrf21540ek:

nRF21540 EK
-----------
Expand All @@ -572,10 +572,10 @@ GPIO and SPI are accessible through the Arduino Uno Rev3 compatible headers.
The shield also features two additional SMA connectors hooked to the dual antenna ports from the RF FEM, to monitor the performance of the RF FEM using any equipment desired.
The FEM SMA input can be connected to the nRF52 or nRF53 Series SoC RF output with a coaxial RF cable with SMA\SWF connectors.

.. figure:: images/nrf21540_ek.png
.. figure:: images/nrf21540ek.png
:width: 350px
:align: center
:alt: nRF21540_EK
:alt: nRF21540EK

nRF21540 EK shield

Expand Down Expand Up @@ -604,31 +604,31 @@ Pin assignment
| D13 | SPI SCK | Serial Clock |
+-----------------------+----------+-----------------+

.. _ug_radio_fem_nrf21540_ek_programming:
.. _ug_radio_fem_nrf21540ek_programming:

Programming
^^^^^^^^^^^

Set ``-DSHIELD=nrf21540_ek`` when you invoke ``west build`` or ``cmake`` in your Zephyr application.
Set ``-DSHIELD=nrf21540ek`` when you invoke ``west build`` or ``cmake`` in your Zephyr application.

Alternatively, add the shield in the project's :file:`CMakeLists.txt` file:

.. code-block:: none
set(SHIELD nrf21540_ek)
set(SHIELD nrf21540ek)
To build with the |nRFVSC|, specify ``-DSHIELD=nrf21540_ek`` in the **Extra Cmake arguments** field.
To build with the |nRFVSC|, specify ``-DSHIELD=nrf21540ek`` in the **Extra Cmake arguments** field.
See :ref:`cmake_options`.

When building for a board with an additional network core, like the nRF5340, add the ``-DSHIELD`` variable with the *childImageName_* parameter between ``-D`` and ``SHIELD`` to build for the network core.
In this case, the application core is only responsible for forwarding to the network core the pins needed to control the nRF21540 .
The application core can be set up to forward the needed pins using the ``-DSHIELD=nrf21540_ek_fwd`` setting.
The application core can be set up to forward the needed pins using the ``-DSHIELD=nrf21540ek_fwd`` setting.
For example:

.. parsed-literal::
:class: highlight
west build -b nrf5340dk_nrf5340_cpuapp -- -DSHIELD=nrf21540_ek_fwd -Dmultiprotocol_rpmsg_SHIELD=nrf21540_ek
west build -b nrf5340dk_nrf5340_cpuapp -- -DSHIELD=nrf21540ek_fwd -Dmultiprotocol_rpmsg_SHIELD=nrf21540ek
In this command, the *childImageName_* parameter has the ``multiprotocol_rpmsg_`` value and builds a multiprotocol application with support for 802.15.4 and Bluetooth.
The *childImageName_* parameter can take the following values:
Expand Down
2 changes: 1 addition & 1 deletion doc/nrf/device_guides/working_with_nrf/nrf52/features.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Devices in the nRF52 Series are supported by these boards in the Zephyr open sou
- ``nrf21540dk_nrf52840``
- `Product Specification <nRF21540 Product Specification_>`_

See :ref:`ug_radio_fem_nrf21540_ek` to learn how to use this RF front-end module (FEM) with the nRF52 Series devices.
See :ref:`ug_radio_fem_nrf21540ek` to learn how to use this RF front-end module (FEM) with the nRF52 Series devices.

Secure bootloader chain
***********************
Expand Down
6 changes: 3 additions & 3 deletions doc/nrf/includes/sample_dtm_radio_test_fem.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ You can add support for the nRF21540 front-end module (FEM) to the sample.
To add support for the nRF21540 FEM, build the sample for a board containing nRF21540 FEM like :ref:`nrf21540dk_nrf52840 <zephyr:nrf21540dk_nrf52840>` or create a devicetree overlay file describing how FEM is connected to nRF5 SoC in your device.

.. note::
If you use the nRF21540 EK, append ``nrf21540_ek`` shield to your build command instructing build system to append the appropriate devicetree overlay file.
If you use the nRF21540 EK, append ``nrf21540ek`` shield to your build command instructing build system to append the appropriate devicetree overlay file.
If you use the nRF21540 DK, build your application for the :ref:`nrf21540dk_nrf52840 <zephyr:nrf21540dk_nrf52840>` board.
The devicetree for the nRF21540 DK already contains the required FEM configuration, so you do not need to set an additional build option.

For example, to build the sample from the command line for an nRF5340 DK with an attached nRF21540 EK, invoke the following command within the sample directory:

.. code-block:: console

west build -b nrf5340dk_nrf5340_cpunet -- -DSHIELD=nrf21540_ek
west build -b nrf5340dk_nrf5340_cpunet -- -DSHIELD=nrf21540ek

For more details refer to the following documentation:

* :ref:`ug_radio_fem`
* :ref:`ug_radio_fem_direct_support`
* :ref:`ug_radio_fem_nrf21540_spi_gpio`
* :ref:`ug_radio_fem_nrf21540_ek`
* :ref:`ug_radio_fem_nrf21540ek`
10 changes: 5 additions & 5 deletions doc/nrf/includes/sample_fem_support.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ You can add support for the nRF21540 front-end module to this sample by using on
* Build the sample for one board that contains the nRF21540 FEM, such as :ref:`nrf21540dk_nrf52840 <zephyr:nrf21540dk_nrf52840>`.
* Manually create a devicetree overlay file that describes how FEM is connected to the nRF5 SoC in your device.
See :ref:`zephyr:set-devicetree-overlays` for different ways of adding the overlay file.
* Provide nRF21540 FEM capabilities by using a :ref:`shield <zephyr:shields>`, for example the :ref:`ug_radio_fem_nrf21540_ek` shield that is available in the |NCS|.
In this case, build the project for a board connected to the shield you are using with an appropriate variable included in the build command, for example ``SHIELD=nrf21540_ek``.
* Provide nRF21540 FEM capabilities by using a :ref:`shield <zephyr:shields>`, for example the :ref:`ug_radio_fem_nrf21540ek` shield that is available in the |NCS|.
In this case, build the project for a board connected to the shield you are using with an appropriate variable included in the build command, for example ``SHIELD=nrf21540ek``.
This variable instructs the build system to append the appropriate devicetree overlay file.

.. tabs::

.. group-tab:: nRF Connect for VS Code

To build the sample in the nRF Connect for VS Code IDE for an nRF52840 DK with the nRF21540 EK attached, add the shield variable in the build configuration's :guilabel:`Extra CMake arguments` and rebuild the build configuration.
For example: ``-DSHIELD=nrf21540_ek``.
For example: ``-DSHIELD=nrf21540ek``.

See `nRF Connect for VS Code extension pack <How to work with build configurations_>`_ documentation for more information.

Expand All @@ -22,9 +22,9 @@ You can add support for the nRF21540 front-end module to this sample by using on

.. code-block:: console

west build -b nrf52840dk_nrf52840 -- -DSHIELD=nrf21540_ek
west build -b nrf52840dk_nrf52840 -- -DSHIELD=nrf21540ek

See :ref:`Programming nRF21540 EK <ug_radio_fem_nrf21540_ek_programming>` for information about how to program when you are using a board with a network core, for example nRF5340 DK.
See :ref:`Programming nRF21540 EK <ug_radio_fem_nrf21540ek_programming>` for information about how to program when you are using a board with a network core, for example nRF5340 DK.

Each of these options adds the description of the nRF21540 FEM to the devicetree.
See :ref:`ug_radio_fem` for more information about FEM in the |NCS|.
Expand Down
2 changes: 1 addition & 1 deletion doc/nrf/releases_and_maturity/known_issues.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2021,7 +2021,7 @@ NCSDK-16338: Setting gain for nRF21540 Front-end module does not work in the :re
.. rst-class:: v1-9-0

NCSDK-13925: Build warning in the RF test samples when the nRF21540 EK support is enabled
:ref:`radio_test` and :ref:`direct_test_mode` build with warnings for nRF5340 with the :ref:`ug_radio_fem_nrf21540_ek` support.
:ref:`radio_test` and :ref:`direct_test_mode` build with warnings for nRF5340 with the :ref:`ug_radio_fem_nrf21540ek` support.

**Affected platforms:** nRF5340, nRF21540

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Highlights

* :ref:`direct_test_mode` and :ref:`radio_test` sample support.
* Support for Bluetooth® LE, Thread, Zigbee, and multiprotocol applications and samples using :ref:`nrfxlib:mpsl`.
* Support for :ref:`nRF21540 development kit (DK) <nrf21540dk_nrf52840>`, :ref:`nRF21540 evaluation kit (EK) <ug_radio_fem_nrf21540_ek>` and custom board configurations.
* Support for :ref:`nRF21540 development kit (DK) <nrf21540dk_nrf52840>`, :ref:`nRF21540 evaluation kit (EK) <ug_radio_fem_nrf21540ek>` and custom board configurations.

* Added Wi-Fi coexistence feature supported for development for Thread and Zigbee.
* Added support for NFC and *pair before use* type of accessories to the Apple Find My add-on.
Expand Down Expand Up @@ -226,7 +226,7 @@ Front-end module (FEM)
* Added support for the nRF21540 GPIO interface to the nRF5340 network core.
* Added support for RF front-end Modules (FEM) for nRF5340 in the :ref:`mpsl` library.
The front-end module feature for nRF5340 in MPSL currently supports nRF21540, but does not support the SKY66112-11 device.
* Added a device tree shield definition for the nRF21540 Evaluation Kit with the :ref:`related documentation <ug_radio_fem_nrf21540_ek>`.
* Added a device tree shield definition for the nRF21540 Evaluation Kit with the :ref:`related documentation <ug_radio_fem_nrf21540ek>`.

Matter
------
Expand Down
6 changes: 3 additions & 3 deletions samples/bluetooth/direct_test_mode/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ cmake_minimum_required(VERSION 3.20.0)
if(DEFINED SHIELD AND "${BOARD}" STREQUAL "nrf5340dk_nrf5340_cpunet")
string(REPLACE " " ";" SHIELD_LIST "${SHIELD}")
foreach(sh IN LISTS SHIELD_LIST)
if("${sh}" STREQUAL "nrf21540_ek")
if("${sh}" STREQUAL "nrf21540ek")
if(CONFIG_DTM_USB)
set(remote_shell_DTC_OVERLAY_FILE ${CMAKE_CURRENT_LIST_DIR}/conf/remote_shell/nrf21540_ek_usb.overlay)
set(remote_shell_DTC_OVERLAY_FILE ${CMAKE_CURRENT_LIST_DIR}/conf/remote_shell/nrf21540ek_usb.overlay)
else()
set(remote_shell_DTC_OVERLAY_FILE ${CMAKE_CURRENT_LIST_DIR}/conf/remote_shell/nrf21540_ek.overlay)
set(remote_shell_DTC_OVERLAY_FILE ${CMAKE_CURRENT_LIST_DIR}/conf/remote_shell/nrf21540ek.overlay)
endif()

break()
Expand Down
2 changes: 1 addition & 1 deletion samples/bluetooth/direct_test_mode/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ Use the following command:

.. code-block:: console
west build samples/bluetooth/direct_test_mode -b nrf5340dk_nrf5340_cpunet -- -DSHIELD=nrf21540_ek -DCONFIG_DTM_USB=y
west build samples/bluetooth/direct_test_mode -b nrf5340dk_nrf5340_cpunet -- -DSHIELD=nrf21540ek -DCONFIG_DTM_USB=y
.. _dtm_testing:

Expand Down
6 changes: 3 additions & 3 deletions samples/bluetooth/direct_test_mode/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ tests:
tags: bluetooth ci_build
sample.bluetooth.direct_test_mode.nrf5340_nrf21540:
build_only: true
extra_args: SHIELD=nrf21540_ek
extra_args: SHIELD=nrf21540ek
integration_platforms:
- nrf5340dk_nrf5340_cpunet
platform_allow: nrf5340dk_nrf5340_cpunet
Expand All @@ -27,7 +27,7 @@ tests:
tags: bluetooth ci_build
sample.bluetooth.direct_test_mode.nrf5340_nrf21540_usb:
build_only: true
extra_args: SHIELD=nrf21540_ek
extra_args: SHIELD=nrf21540ek
extra_configs:
- CONFIG_DTM_USB=y
integration_platforms:
Expand All @@ -36,7 +36,7 @@ tests:
tags: bluetooth ci_build
sample.bluetooth.direct_test_mode.nrf5340_nrf21540.no_automatic_power:
build_only: true
extra_args: SHIELD=nrf21540_ek
extra_args: SHIELD=nrf21540ek
extra_configs:
- CONFIG_DTM_POWER_CONTROL_AUTOMATIC=n
integration_platforms:
Expand Down
2 changes: 1 addition & 1 deletion samples/esb/prx/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ tests:
tags: esb ci_build
sample.esb.prx.nrf5340_nrf21540:
build_only: true
extra_args: SHIELD=nrf21540_ek
extra_args: SHIELD=nrf21540ek
integration_platforms:
- nrf5340dk_nrf5340_cpunet
platform_allow: nrf5340dk_nrf5340_cpunet
Expand Down
2 changes: 1 addition & 1 deletion samples/esb/ptx/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ tests:
tags: esb ci_build
sample.esb.ptx.nrf5340_nrf21540:
build_only: true
extra_args: SHIELD=nrf21540_ek
extra_args: SHIELD=nrf21540ek
integration_platforms:
- nrf5340dk_nrf5340_cpunet
platform_allow: nrf5340dk_nrf5340_cpunet
Expand Down
4 changes: 2 additions & 2 deletions samples/matter/lock/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ tests:
- nrf21540dk_nrf52840
platform_allow: >
nrf52840dk_nrf52840 nrf21540dk_nrf52840 nrf5340dk_nrf5340_cpuapp nrf7002dk_nrf5340_cpuapp
sample.matter.lock.release.nrf21540_ek:
sample.matter.lock.release.nrf21540ek:
build_only: true
extra_args: CONF_FILE=prj_release.conf SHIELD=nrf21540_ek
extra_args: CONF_FILE=prj_release.conf SHIELD=nrf21540ek
integration_platforms:
- nrf5340dk_nrf5340_cpuapp
platform_allow: nrf52840dk_nrf52840 nrf5340dk_nrf5340_cpuapp
Expand Down
6 changes: 3 additions & 3 deletions samples/peripheral/radio_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ cmake_minimum_required(VERSION 3.20.0)
if(DEFINED SHIELD AND "${BOARD}" STREQUAL "nrf5340dk_nrf5340_cpunet")
string(REPLACE " " ";" SHIELD_LIST "${SHIELD}")
foreach(sh IN LISTS SHIELD_LIST)
if("${sh}" STREQUAL "nrf21540_ek")
if("${sh}" STREQUAL "nrf21540ek")
if(CONFIG_RADIO_TEST_USB)
set(remote_shell_DTC_OVERLAY_FILE ${CMAKE_CURRENT_LIST_DIR}/conf/remote_shell/nrf21540_ek_usb.overlay)
set(remote_shell_DTC_OVERLAY_FILE ${CMAKE_CURRENT_LIST_DIR}/conf/remote_shell/nrf21540ek_usb.overlay)
else()
set(remote_shell_DTC_OVERLAY_FILE ${CMAKE_CURRENT_LIST_DIR}/conf/remote_shell/nrf21540_ek.overlay)
set(remote_shell_DTC_OVERLAY_FILE ${CMAKE_CURRENT_LIST_DIR}/conf/remote_shell/nrf21540ek.overlay)
endif()

break()
Expand Down
2 changes: 1 addition & 1 deletion samples/peripheral/radio_test/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ You can use the following command:

.. code-block:: console
west build samples/peripheral/radio_test -b nrf5340dk_nrf5340_cpunet -- -DSHIELD=nrf21540_ek -DCONFIG_RADIO_TEST_USB=y
west build samples/peripheral/radio_test -b nrf5340dk_nrf5340_cpunet -- -DSHIELD=nrf21540ek -DCONFIG_RADIO_TEST_USB=y
.. note::
You can also build the sample with the remote IPC Service Shell for the |nRF7002DKnoref| using the ``nrf7002dk_nrf5340_cpunet`` build target in the commands.
Expand Down
Loading

0 comments on commit 18c27de

Please sign in to comment.