Skip to content

Commit b211621

Browse files
committed
[nrf fromtree] samples: code_relocation_nocopy: Update configuration for nRF54H20 DK
It is no longer needed to specify the read command parameters in dts, as the flash driver is capable of obtaining those from SFDP structures, so the redundant properties are removed. After commit 612fd94 got merged, both the EXMIF and flash nodes in dts are not enabled by default so this needs to be done in the overlay. Although nrfutil is still not capable of programming the external flash on nRF54H20 DK, thus `west flash` will not work in this case, `nrf54h20dk/nrf54h20/cpuapp` is added as an allowed platform so that the sample is at least built in CI for it. Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit 10740d6)
1 parent 8a2d4d7 commit b211621

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

samples/application_development/code_relocation_nocopy/boards/nrf54h20dk_nrf54h20_cpuapp.overlay

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,16 @@
22
status = "okay";
33
};
44

5+
&gpio6 {
6+
status = "okay";
7+
};
8+
9+
&exmif {
10+
status = "okay";
11+
};
12+
513
&mx25uw63 {
6-
read-command = <0xEC13>;
7-
command-length = "INSTR_2_BYTE";
8-
address-length = "ADDR_4_BYTE";
9-
rx-dummy = <20>;
14+
status = "okay";
1015

1116
xip-config = <1 0 0x20000000 0>;
1217
};

samples/application_development/code_relocation_nocopy/sample.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ tests:
66
platform_allow:
77
- qemu_cortex_m3
88
- nrf5340dk/nrf5340/cpuapp
9+
- nrf54h20dk/nrf54h20/cpuapp
910
- stm32f769i_disco
1011
- stm32h7b3i_dk
1112
- stm32h573i_dk

0 commit comments

Comments
 (0)