Skip to content

Commit e3c5bdf

Browse files
tomchyjhedberg
authored andcommitted
boards: Add secondary_app_partition alias
Add secondary_app_partition aliases. Those aliases can be used to configure the code partition for the second copy of the FW in the Direct XIP update scenarios. Signed-off-by: Tomasz Chyrowicz <[email protected]>
1 parent f89c004 commit e3c5bdf

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuapp.dts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
chosen {
2020
zephyr,console = &uart136;
21-
zephyr,code-partition = &slot0_partition;
21+
zephyr,code-partition = &cpuapp_slot0_partition;
2222
zephyr,flash = &mram1x;
2323
zephyr,sram = &cpuapp_data;
2424
zephyr,shell-uart = &uart136;
@@ -188,6 +188,8 @@ slot0_partition: &cpuapp_slot0_partition {
188188
label = "image-0";
189189
};
190190

191+
secondary_app_partition: &cpuapp_slot1_partition {};
192+
191193
slot1_partition: &cpuapp_slot1_partition {
192194
label = "image-1";
193195
};

boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpurad.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ slot0_partition: &cpurad_slot0_partition {
8585
label = "image-0";
8686
};
8787

88+
secondary_app_partition: &cpurad_slot1_partition {};
89+
8890
slot1_partition: &cpurad_slot1_partition {
8991
label = "image-1";
9092
};

0 commit comments

Comments
 (0)