Skip to content

Commit 8385928

Browse files
committed
samples: peripheral: radio_test: Add support to radio_test for nRF7120
Adds support to radio_test for nRF7120 Signed-off-by: Erdem Simsek <[email protected]>
1 parent 53d0c75 commit 8385928

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#
2+
# Copyright (c) 2025 Nordic Semiconductor
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
# Enable the necessary drivers
8+
CONFIG_NRFX_TIMER=y

samples/peripheral/radio_test/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ tests:
1616
- nrf54lm20dk/nrf54lm20a/cpuapp
1717
- nrf54lv10dk/nrf54lv10a/cpuapp
1818
- nrf54h20dk/nrf54h20/cpurad
19+
- nrf7120pk/nrf7120/cpuapp
1920
platform_allow:
2021
- nrf52dk/nrf52832
2122
- nrf52840dk/nrf52840
@@ -28,6 +29,7 @@ tests:
2829
- nrf54ls05dk/nrf54ls05b/cpuapp
2930
- nrf54lv10dk/nrf54lv10a/cpuapp
3031
- nrf54h20dk/nrf54h20/cpurad
32+
- nrf7120pk/nrf7120/cpuapp
3133
tags:
3234
- ci_build
3335
- sysbuild

samples/peripheral/radio_test/src/radio_test.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
#define RADIO_TEST_SHORT_END_DISABLE_MASK NRF_RADIO_SHORT_PHYEND_DISABLE_MASK
5858
#define RADIO_TEST_INT_END_MASK NRF_RADIO_INT_PHYEND_MASK
5959
#define RADIO_TEST_EVENT_END NRF_RADIO_EVENT_PHYEND
60-
#elif defined(CONFIG_SOC_SERIES_NRF54LX)
60+
#elif defined(CONFIG_SOC_SERIES_NRF54LX) || defined(CONFIG_SOC_SERIES_NRF71X)
6161
#define RADIO_TEST_EGU NRF_EGU10
6262
#define RADIO_TEST_TIMER_INSTANCE 10
6363
#define RADIO_TEST_TIMER_IRQn TIMER10_IRQn
@@ -560,7 +560,8 @@ static void radio_config(nrf_radio_mode_t mode, enum transmit_pattern pattern)
560560
nrf_radio_packet_conf_t packet_conf;
561561

562562
/* Set fast ramp-up time. */
563-
#if defined(CONFIG_SOC_SERIES_NRF54HX) || defined(CONFIG_SOC_SERIES_NRF54LX)
563+
#if defined(CONFIG_SOC_SERIES_NRF54HX) || defined(CONFIG_SOC_SERIES_NRF54LX) || \
564+
defined(CONFIG_SOC_SERIES_NRF71X)
564565
nrf_radio_fast_ramp_up_enable_set(NRF_RADIO, true);
565566
#else
566567
nrf_radio_modecnf0_set(NRF_RADIO, true, RADIO_MODECNF0_DTX_Center);

0 commit comments

Comments
 (0)