Skip to content

Commit bce1276

Browse files
alstrzebonskijukkar
authored andcommitted
samples: bluetooth: fast_pair: input_device: Improve nRF54H20 memory map
Puts fast pair provisioning partition right before the storage partition and sets its size to 4 KiB to avoid gaps. Align the storage partition to a 4KiB boundary as this is the sector size. This alignment is needed due to a bug in the storage subsystem. Fixes the cpuapp_rw_partitions node deletion (earlier it was done incorrectly). Jira: NCSDK-30269 Signed-off-by: Aleksander Strzebonski <[email protected]>
1 parent 82f3a61 commit bce1276

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

samples/bluetooth/fast_pair/input_device/boards/nrf54h20dk_nrf54h20_cpuapp.overlay

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,26 @@
55
*/
66

77
&mram1x {
8-
/delete-node/ cpuapp_rw_partitions;
8+
/delete-node/ cpuapp-rw-partitions;
99

1010
cpuapp_rw_partitions: cpuapp-rw-partitions {
1111
compatible = "nordic,owned-partitions", "fixed-partitions";
1212
status = "okay";
13-
perm-read;
14-
perm-write;
15-
perm-secure;
13+
nordic,access = <NRF_OWNER_ID_APPLICATION NRF_PERM_RWS>;
1614
#address-cells = <1>;
1715
#size-cells = <1>;
1816

1917
dfu_partition: partition@100000 {
2018
reg = <0x100000 DT_SIZE_K(908)>;
2119
};
2220

23-
storage_partition: partition@1e3000 {
24-
reg = <0x1e3000 DT_SIZE_K(20)>;
21+
/* Align the partition size to 4096 B to avoid gaps. */
22+
bt_fast_pair_partition: partition@1e3000 {
23+
reg = <0x1e3000 DT_SIZE_K(4)>;
2524
};
2625

27-
bt_fast_pair_partition: partition@1e8fb8 {
28-
label = "bt_fast_pair";
29-
reg = <0x1e8fb8 0x48>;
26+
storage_partition: partition@1e4000 {
27+
reg = <0x1e4000 DT_SIZE_K(20)>;
3028
};
3129
};
3230
};

0 commit comments

Comments
 (0)