Skip to content

Commit 8f8a3eb

Browse files
committed
[nrf noup] samples: Enable BLE and Direct XIP on nRF54H20
Add configurations that show how to enable BLE transfer as well as Direct XIP with revert smp_svr sample configurations on nRF54H20DK. Ref: NCSDK-34305 Signed-off-by: Tomasz Chyrowicz <[email protected]>
1 parent a4a4579 commit 8f8a3eb

File tree

5 files changed

+55
-1
lines changed

5 files changed

+55
-1
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
#include "../sysbuild/nrf54h20dk_nrf54h20_memory_map_merged.dtsi"

samples/subsys/mgmt/mcumgr/smp_svr/sample.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,3 +230,27 @@ tests:
230230
- nrf5340dk/nrf5340/cpuapp
231231
integration_platforms:
232232
- nrf5340dk/nrf5340/cpuapp
233+
sample.mcumgr.smp_svr.bt.nrf54h20dk:
234+
sysbuild: true
235+
extra_args:
236+
- EXTRA_CONF_FILE="overlay-bt.conf"
237+
- SB_CONFIG_NETCORE_IPC_RADIO=y
238+
- SB_CONFIG_NETCORE_IPC_RADIO_BT_HCI_IPC=y
239+
- mcuboot_CONFIG_NRF_SECURITY=y
240+
platform_allow:
241+
- nrf54h20dk/nrf54h20/cpuapp
242+
integration_platforms:
243+
- nrf54h20dk/nrf54h20/cpuapp
244+
sample.mcumgr.smp_svr.bt.nrf54h20dk.direct_xip_withrevert:
245+
sysbuild: true
246+
extra_args:
247+
- FILE_SUFFIX="merged_slot"
248+
- EXTRA_CONF_FILE="overlay-bt.conf"
249+
- SB_CONFIG_NETCORE_IPC_RADIO=y
250+
- SB_CONFIG_NETCORE_IPC_RADIO_BT_HCI_IPC=y
251+
- SB_CONFIG_MCUBOOT_MODE_DIRECT_XIP_WITH_REVERT=y
252+
- mcuboot_CONFIG_NRF_SECURITY=y
253+
platform_allow:
254+
- nrf54h20dk/nrf54h20/cpuapp
255+
integration_platforms:
256+
- nrf54h20dk/nrf54h20/cpuapp
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
#include "nrf54h20dk_nrf54h20_memory_map_merged.dtsi"
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
/* On nRF54H20 the Direct XIP mode is supported in the merged slot configuration
8+
* Merge application and radio slots by extending the application parition.
9+
*/
10+
&cpuapp_slot0_partition {
11+
reg = <0x40000 DT_SIZE_K(656)>;
12+
};
13+
14+
&cpuapp_slot1_partition {
15+
reg = <0x100000 DT_SIZE_K(656)>;
16+
};

soc/nordic/nrf54h/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ config SOC_NRF54H20_TDD_ENABLE
8080

8181
config SOC_NRF54H20_CPURAD_ENABLE
8282
bool "Boot the nRF54H20 Radio core"
83-
default y if NRF_802154_SER_HOST
83+
default y if NRF_802154_SER_HOST || BT_HCI_HOST
8484
depends on SOC_NRF54H20_CPUAPP
8585
select NRF_IRONSIDE_CPUCONF_SERVICE
8686
select SOC_LATE_INIT_HOOK

0 commit comments

Comments
 (0)