Skip to content

Commit 47c9856

Browse files
hakonfamcarlescufi
authored andcommitted
samples: fast_pair: align dts with IronSide
Remove unused partition and place fast pair partition in unused memory. Ref: NCSDK-NONE Signed-off-by: Håkon Amundsen <[email protected]>
1 parent 03fb127 commit 47c9856

File tree

2 files changed

+8
-42
lines changed

2 files changed

+8
-42
lines changed

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

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,12 @@
44
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
55
*/
66

7+
/* Define the Fast Pair partition. */
78
&mram1x {
8-
/delete-node/ cpuapp-rw-partitions;
9-
10-
cpuapp_rw_partitions: cpuapp-rw-partitions {
11-
compatible = "nordic,owned-partitions", "fixed-partitions";
12-
status = "okay";
13-
nordic,access = <NRF_OWNER_ID_APPLICATION NRF_PERM_RWS>;
14-
#address-cells = <1>;
15-
#size-cells = <1>;
16-
17-
dfu_partition: partition@100000 {
18-
reg = <0x100000 DT_SIZE_K(908)>;
19-
};
20-
9+
partitions {
2110
/* Align the partition size to 4096 B to avoid gaps. */
22-
bt_fast_pair_partition: partition@1e3000 {
23-
reg = <0x1e3000 DT_SIZE_K(4)>;
24-
};
25-
26-
storage_partition: partition@1e4000 {
27-
reg = <0x1e4000 DT_SIZE_K(20)>;
11+
bt_fast_pair_partition: partition@1b0000 {
12+
reg = <0x1b0000 DT_SIZE_K(4)>;
2813
};
2914
};
3015
};

samples/bluetooth/fast_pair/locator_tag/configuration/boards/nrf54h20dk_nrf54h20_cpuapp.overlay

Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,12 @@
44
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
55
*/
66

7-
/* Decrease the storage partition size by 0x1000 bytes and move it 0x1000 bytes forward
8-
* in the address space to create a place for the Fast Pair partition. Define the Fast
9-
* Pair partition in the provided memory gap.
10-
*/
7+
/* Define the Fast Pair partition. */
118
&mram1x {
12-
/delete-node/ cpuapp-rw-partitions;
13-
14-
cpuapp_rw_partitions: cpuapp-rw-partitions {
15-
compatible = "nordic,owned-partitions", "fixed-partitions";
16-
status = "okay";
17-
nordic,access = <NRF_OWNER_ID_APPLICATION NRF_PERM_RWS>;
18-
#address-cells = <1>;
19-
#size-cells = <1>;
20-
21-
dfu_partition: partition@100000 {
22-
reg = <0x100000 DT_SIZE_K(908)>;
23-
};
24-
9+
partitions {
2510
/* Align the partition size to 4096 B to avoid gaps. */
26-
bt_fast_pair_partition: partition@1e3000 {
27-
reg = <0x1e3000 DT_SIZE_K(4)>;
28-
};
29-
30-
storage_partition: partition@1e4000 {
31-
reg = <0x1e4000 DT_SIZE_K(20)>;
11+
bt_fast_pair_partition: partition@1b0000 {
12+
reg = <0x1b0000 DT_SIZE_K(4)>;
3213
};
3314
};
3415
};

0 commit comments

Comments
 (0)