Skip to content

Commit a4e41f4

Browse files
nordicjmkartben
authored andcommitted
dts: common: nordic: nrf52840_partitions: Use equal partitions
Switches back to equal sized partitions, this fixes an issue whereby the number of overhead sectors for a swap mode was incorrectly listed as 2 when it should have been 1, and also allows using any swap mode. This means that when using swap using mode, 1 sector in the secondary partition will be unusable, and when using swap using offset, 1 sector in the primary partition will be unusable Signed-off-by: Jamie McCrae <[email protected]>
1 parent 7148529 commit a4e41f4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dts/common/nordic/nrf52840_partition.dtsi

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@
2525

2626
slot0_partition: partition@c000 {
2727
label = "image-0";
28-
reg = <0x0000C000 0x00077000>;
28+
reg = <0x0000C000 0x00076000>;
2929
};
3030

31-
slot1_partition: partition@83000 {
31+
slot1_partition: partition@82000 {
3232
label = "image-1";
33-
reg = <0x00083000 0x00075000>;
33+
reg = <0x00082000 0x00076000>;
3434
};
3535

3636
/*

0 commit comments

Comments
 (0)