Commit 9cf65d6e authored by Yassine El Aissaoui's avatar Yassine El Aissaoui Committed by Fabio Baltieri
Browse files

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: default avatarYassine El Aissaoui <yassine.elaissaoui@nxp.com>
parent e36d019b
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
/*
 * Copyright 2024 NXP
 * Copyright 2024-2025 NXP
 * SPDX-License-Identifier: Apache-2.0
 */

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

		code_partition: partition@0 {
			reg = <0x0 DT_SIZE_K(67)>;
			reg = <0x0 DT_SIZE_K(2032)>;
		};

		storage_partition: partition@10c00 {
			reg = <0x10c00 DT_SIZE_K(1981)>;
		storage_partition: partition@1FC000 {
			reg = <0x1FC000 DT_SIZE_K(16)>;
		};
	};
};
+4 −4
Original line number Diff line number Diff line
/*
 * Copyright 2024 NXP
 * Copyright 2024-2025 NXP
 * SPDX-License-Identifier: Apache-2.0
 */

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

		code_partition: partition@0 {
			reg = <0x0 DT_SIZE_K(67)>;
			reg = <0x0 DT_SIZE_K(2032)>;
		};

		storage_partition: partition@10c00 {
			reg = <0x10c00 DT_SIZE_K(1981)>;
		storage_partition: partition@1FC000 {
			reg = <0x1FC000 DT_SIZE_K(16)>;
		};
	};
};