Skip to content

Commit 222708a

Browse files
samples: add experimental nRF7120 DK support
Add experimental nRF7120 DK support to the bridge, closure, light switch, template, and thermostat samples. Matter OTA is not currently supported. Signed-off-by: Dominik Michalczyk <dominik.michalczyk@nordicsemi.no>
1 parent fcdbf68 commit 222708a

20 files changed

Lines changed: 476 additions & 5 deletions

‎samples/bridge/Kconfig.sysbuild‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,13 @@ config NRF_DEFAULT_IPC_RADIO
1515
config NETCORE_IPC_RADIO_BT_HCI_IPC
1616
default y
1717

18+
#### Matter OTA
19+
config MATTER_ADD_ON_OTA
20+
default n if BOARD_NRF7120DK_NRF7120_CPUAPP
21+
1822
#### Bootloader
1923
choice BOOTLOADER
20-
default BOOTLOADER_MCUBOOT
24+
default BOOTLOADER_MCUBOOT if !BOARD_NRF7120DK_NRF7120_CPUAPP
2125
endchoice
2226

2327
# Enable IEEE802.15.4 serialization to network core
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#
2+
# Copyright (c) 2026 Nordic Semiconductor
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
# Lower System ON idle current: see lib_nrf71_idle_power. Keep the
8+
# default RAM_RETAIN_FULL tier; RAM_RETAIN_UNUSED_ONLY has been observed
9+
# to cause issues on Wi-Fi builds.
10+
CONFIG_NRF71_IDLE_POWER=y
11+
12+
# TODO: MCUboot is currently not supported on the nRF7120 DK.
13+
CONFIG_CHIP_BOOTLOADER_NONE=y
14+
15+
# TODO: Currently MRAM does not support clearing factory data, so we can not
16+
# migrate the DAC private key
17+
CONFIG_CHIP_CRYPTO_PSA_MIGRATE_DAC_PRIV_KEY=n
18+
19+
# TODO: Enabling low-power mode unconditionally gives BLE more radio time,
20+
# allowing the device to connect to Wi-Fi and send responses over BLE.
21+
CONFIG_NRF_WIFI_LOW_POWER=y
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
/*
2+
* Copyright (c) 2026 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
#include <nrf7120_cpuapp_partitions.dtsi>
8+
9+
/ {
10+
chosen {
11+
zephyr,entropy = &psa_rng;
12+
// TODO: MRAM is not chosen as the flash controller by default
13+
zephyr,flash-controller = &mram_controller;
14+
};
15+
16+
aliases {
17+
pwm-led1 = &pwm_led1;
18+
};
19+
20+
psa_rng: psa-rng {
21+
compatible = "zephyr,psa-crypto-rng";
22+
status = "okay";
23+
};
24+
};
25+
26+
// TODO: gpio4 has no gpiote instance assigned in the dtsi file
27+
&gpio4 {
28+
gpiote-instance = <&gpiote20>;
29+
};
30+
31+
&wdt31 {
32+
status = "okay";
33+
};
34+
35+
&wifi {
36+
status = "okay";
37+
};

‎samples/bridge/sample.yaml‎

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,20 @@ tests:
3636
platform_allow:
3737
- nrf54lm20dk/nrf54lm20b/cpuapp
3838
- nrf54lm20dk/nrf54lm20a/cpuapp
39+
applications.matter_bridge.nrf7120.release:
40+
sysbuild: true
41+
build_only: true
42+
extra_args:
43+
- FILE_SUFFIX=release
44+
- CONFIG_BRIDGE_GENERIC_SWITCH_BRIDGED_DEVICE=n
45+
- CONFIG_BRIDGE_ONOFF_LIGHT_SWITCH_BRIDGED_DEVICE=y
46+
- CONFIG_CHIP_WIFI=y
47+
- CONFIG_WIFI_NRF71_PATCH=y
48+
- EXTRA_DTC_OVERLAY_FILE=${ZEPHYR_NRFXLIB_MODULE_DIR}/nrf71_wifi/bins/0.1.0/nrf7120_wifi_patch.dtsi
49+
integration_platforms:
50+
- nrf7120dk/nrf7120/cpuapp
51+
platform_allow:
52+
- nrf7120dk/nrf7120/cpuapp
3953
applications.matter_bridge.debug:
4054
sysbuild: true
4155
build_only: true
@@ -64,6 +78,19 @@ tests:
6478
platform_allow:
6579
- nrf54lm20dk/nrf54lm20b/cpuapp
6680
- nrf54lm20dk/nrf54lm20a/cpuapp
81+
applications.matter_bridge.nrf7120.debug:
82+
sysbuild: true
83+
build_only: true
84+
extra_args:
85+
- CONFIG_BRIDGE_GENERIC_SWITCH_BRIDGED_DEVICE=n
86+
- CONFIG_BRIDGE_ONOFF_LIGHT_SWITCH_BRIDGED_DEVICE=y
87+
- CONFIG_CHIP_WIFI=y
88+
- CONFIG_WIFI_NRF71_PATCH=y
89+
- EXTRA_DTC_OVERLAY_FILE=${ZEPHYR_NRFXLIB_MODULE_DIR}/nrf71_wifi/bins/0.1.0/nrf7120_wifi_patch.dtsi
90+
integration_platforms:
91+
- nrf7120dk/nrf7120/cpuapp
92+
platform_allow:
93+
- nrf7120dk/nrf7120/cpuapp
6794
applications.matter_bridge.br_ble:
6895
sysbuild: true
6996
build_only: true
@@ -94,6 +121,20 @@ tests:
94121
platform_allow:
95122
- nrf54lm20dk/nrf54lm20b/cpuapp
96123
- nrf54lm20dk/nrf54lm20a/cpuapp
124+
applications.matter_bridge.nrf7120.br_ble:
125+
sysbuild: true
126+
build_only: true
127+
extra_args:
128+
- CONFIG_BRIDGED_DEVICE_BT=y
129+
- CONFIG_BRIDGE_GENERIC_SWITCH_BRIDGED_DEVICE=n
130+
- CONFIG_BRIDGE_ONOFF_LIGHT_SWITCH_BRIDGED_DEVICE=y
131+
- CONFIG_CHIP_WIFI=y
132+
- CONFIG_WIFI_NRF71_PATCH=y
133+
- EXTRA_DTC_OVERLAY_FILE=${ZEPHYR_NRFXLIB_MODULE_DIR}/nrf71_wifi/bins/0.1.0/nrf7120_wifi_patch.dtsi
134+
integration_platforms:
135+
- nrf7120dk/nrf7120/cpuapp
136+
platform_allow:
137+
- nrf7120dk/nrf7120/cpuapp
97138
applications.matter_bridge.release.br_ble:
98139
sysbuild: true
99140
build_only: true
@@ -126,6 +167,21 @@ tests:
126167
platform_allow:
127168
- nrf54lm20dk/nrf54lm20b/cpuapp
128169
- nrf54lm20dk/nrf54lm20a/cpuapp
170+
applications.matter_bridge.nrf7120.release.br_ble:
171+
sysbuild: true
172+
build_only: true
173+
extra_args:
174+
- FILE_SUFFIX=release
175+
- CONFIG_BRIDGED_DEVICE_BT=y
176+
- CONFIG_BRIDGE_GENERIC_SWITCH_BRIDGED_DEVICE=n
177+
- CONFIG_BRIDGE_ONOFF_LIGHT_SWITCH_BRIDGED_DEVICE=y
178+
- CONFIG_CHIP_WIFI=y
179+
- CONFIG_WIFI_NRF71_PATCH=y
180+
- EXTRA_DTC_OVERLAY_FILE=${ZEPHYR_NRFXLIB_MODULE_DIR}/nrf71_wifi/bins/0.1.0/nrf7120_wifi_patch.dtsi
181+
integration_platforms:
182+
- nrf7120dk/nrf7120/cpuapp
183+
platform_allow:
184+
- nrf7120dk/nrf7120/cpuapp
129185
applications.matter_bridge.br_ble.smp_dfu:
130186
sysbuild: true
131187
build_only: true

‎samples/closure/Kconfig.sysbuild‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,13 @@ config NETCORE_IPC_RADIO_IEEE802154
2121
config NETCORE_IPC_RADIO_BT_HCI_IPC
2222
default y if SOC_SERIES_NRF53
2323

24+
#### Matter OTA
25+
config MATTER_ADD_ON_OTA
26+
default n if BOARD_NRF7120DK_NRF7120_CPUAPP
27+
2428
#### Bootloader
2529
choice BOOTLOADER
26-
default BOOTLOADER_MCUBOOT
30+
default BOOTLOADER_MCUBOOT if !BOARD_NRF7120DK_NRF7120_CPUAPP
2731
endchoice
2832

2933
if BOOTLOADER_MCUBOOT
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#
2+
# Copyright (c) 2026 Nordic Semiconductor
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
# Lower System ON idle current: see lib_nrf71_idle_power. Keep the
8+
# default RAM_RETAIN_FULL tier; RAM_RETAIN_UNUSED_ONLY has been observed
9+
# to cause issues on Wi-Fi builds.
10+
CONFIG_NRF71_IDLE_POWER=y
11+
12+
# TODO: MCUboot is currently not supported on the nRF7120 DK.
13+
CONFIG_CHIP_BOOTLOADER_NONE=y
14+
15+
# TODO: Currently MRAM does not support clearing factory data, so we can not
16+
# migrate the DAC private key
17+
CONFIG_CHIP_CRYPTO_PSA_MIGRATE_DAC_PRIV_KEY=n
18+
19+
# TODO: Enabling low-power mode unconditionally gives BLE more radio time,
20+
# allowing the device to connect to Wi-Fi and send responses over BLE.
21+
CONFIG_NRF_WIFI_LOW_POWER=y
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
/*
2+
* Copyright (c) 2026 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
#include <nrf7120_cpuapp_partitions.dtsi>
8+
9+
/ {
10+
chosen {
11+
zephyr,entropy = &psa_rng;
12+
// TODO: MRAM is not chosen as the flash controller by default
13+
zephyr,flash-controller = &mram_controller;
14+
};
15+
16+
aliases {
17+
pwm-led1 = &pwm_led1;
18+
};
19+
20+
psa_rng: psa-rng {
21+
compatible = "zephyr,psa-crypto-rng";
22+
status = "okay";
23+
};
24+
};
25+
26+
// TODO: gpio4 has no gpiote instance assigned in the dtsi file
27+
&gpio4 {
28+
gpiote-instance = <&gpiote20>;
29+
};
30+
31+
&wdt31 {
32+
status = "okay";
33+
};
34+
35+
&wifi {
36+
status = "okay";
37+
};

‎samples/closure/sample.yaml‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,17 @@ tests:
5050
platform_allow:
5151
- nrf54lm20dk/nrf54lm20b/cpuapp
5252
- nrf54lm20dk/nrf54lm20a/cpuapp
53+
sample.matter.closure.nrf7120.debug:
54+
sysbuild: true
55+
build_only: true
56+
extra_args:
57+
- CONFIG_CHIP_WIFI=y
58+
- CONFIG_WIFI_NRF71_PATCH=y
59+
- EXTRA_DTC_OVERLAY_FILE=${ZEPHYR_NRFXLIB_MODULE_DIR}/nrf71_wifi/bins/0.1.0/nrf7120_wifi_patch.dtsi
60+
integration_platforms:
61+
- nrf7120dk/nrf7120/cpuapp
62+
platform_allow:
63+
- nrf7120dk/nrf7120/cpuapp
5364
sample.matter.closure.nrf7002eb2.release:
5465
sysbuild: true
5566
build_only: true
@@ -64,6 +75,18 @@ tests:
6475
platform_allow:
6576
- nrf54lm20dk/nrf54lm20b/cpuapp
6677
- nrf54lm20dk/nrf54lm20a/cpuapp
78+
sample.matter.closure.nrf7120.release:
79+
sysbuild: true
80+
build_only: true
81+
extra_args:
82+
- FILE_SUFFIX=release
83+
- CONFIG_CHIP_WIFI=y
84+
- CONFIG_WIFI_NRF71_PATCH=y
85+
- EXTRA_DTC_OVERLAY_FILE=${ZEPHYR_NRFXLIB_MODULE_DIR}/nrf71_wifi/bins/0.1.0/nrf7120_wifi_patch.dtsi
86+
integration_platforms:
87+
- nrf7120dk/nrf7120/cpuapp
88+
platform_allow:
89+
- nrf7120dk/nrf7120/cpuapp
6790
sample.matter.closure.release.internal:
6891
sysbuild: true
6992
build_only: true

‎samples/light_switch/Kconfig.sysbuild‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,13 @@ config NETCORE_IPC_RADIO_IEEE802154
2121
config NETCORE_IPC_RADIO_BT_HCI_IPC
2222
default y if SOC_SERIES_NRF53
2323

24+
#### Matter OTA
25+
config MATTER_ADD_ON_OTA
26+
default n if BOARD_NRF7120DK_NRF7120_CPUAPP
27+
2428
#### Bootloader
2529
choice BOOTLOADER
26-
default BOOTLOADER_MCUBOOT if !BOARD_NRF21540DK
30+
default BOOTLOADER_MCUBOOT if !BOARD_NRF21540DK && !BOARD_NRF7120DK_NRF7120_CPUAPP
2731
endchoice
2832

2933
if BOOTLOADER_MCUBOOT
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#
2+
# Copyright (c) 2026 Nordic Semiconductor
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
# Lower System ON idle current: see lib_nrf71_idle_power. Keep the
8+
# default RAM_RETAIN_FULL tier; RAM_RETAIN_UNUSED_ONLY has been observed
9+
# to cause issues on Wi-Fi builds.
10+
CONFIG_NRF71_IDLE_POWER=y
11+
12+
# TODO: MCUboot is currently not supported on the nRF7120 DK.
13+
CONFIG_CHIP_BOOTLOADER_NONE=y
14+
15+
# TODO: Currently MRAM does not support clearing factory data, so we can not
16+
# migrate the DAC private key
17+
CONFIG_CHIP_CRYPTO_PSA_MIGRATE_DAC_PRIV_KEY=n
18+
19+
# TODO: Enabling low-power mode unconditionally gives BLE more radio time,
20+
# allowing the device to connect to Wi-Fi and send responses over BLE.
21+
CONFIG_NRF_WIFI_LOW_POWER=y

0 commit comments

Comments
 (0)