Skip to content

Commit 9cf65d6

Browse files
yeaissafabiobaltieri
authored andcommitted
boards: nxp: update flash code/storage allocation for MCXW72
67k of code is not enough for several BLE samples. It makes more sense to have a large partition for code and a smaller one for storage. This commit reduces the storage to 16k (at the end of the flash) and use the remaining for code. Signed-off-by: Yassine El Aissaoui <yassine.elaissaoui@nxp.com>
1 parent e36d019 commit 9cf65d6

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

boards/nxp/frdm_mcxw72/frdm_mcxw72_mcxw727c_cpu0.dts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 NXP
2+
* Copyright 2024-2025 NXP
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55

@@ -80,11 +80,11 @@
8080
#size-cells = <1>;
8181

8282
code_partition: partition@0 {
83-
reg = <0x0 DT_SIZE_K(67)>;
83+
reg = <0x0 DT_SIZE_K(2032)>;
8484
};
8585

86-
storage_partition: partition@10c00 {
87-
reg = <0x10c00 DT_SIZE_K(1981)>;
86+
storage_partition: partition@1FC000 {
87+
reg = <0x1FC000 DT_SIZE_K(16)>;
8888
};
8989
};
9090
};

boards/nxp/mcxw72_evk/mcxw72_evk_mcxw727c_cpu0.dts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 NXP
2+
* Copyright 2024-2025 NXP
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55

@@ -80,11 +80,11 @@
8080
#size-cells = <1>;
8181

8282
code_partition: partition@0 {
83-
reg = <0x0 DT_SIZE_K(67)>;
83+
reg = <0x0 DT_SIZE_K(2032)>;
8484
};
8585

86-
storage_partition: partition@10c00 {
87-
reg = <0x10c00 DT_SIZE_K(1981)>;
86+
storage_partition: partition@1FC000 {
87+
reg = <0x1FC000 DT_SIZE_K(16)>;
8888
};
8989
};
9090
};

0 commit comments

Comments
 (0)