tests: drivers: flash: Add MAX32672 boards overlay file

Enable flash driver test for MAX32672 boards.

Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
This commit is contained in:
Sadik Ozer 2024-01-10 17:25:53 +03:00 committed by Henrik Brix Andersen
parent 931d89e6b8
commit ccd84905ad
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,23 @@
/*
* Copyright (c) 2024 Analog Devices, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/
&flash0 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
code_partition: partition@0 {
reg = <0x0 DT_SIZE_K(256)>;
read-only;
};
storage_partition: partition@20000 {
label = "storage";
reg = <0x20000 DT_SIZE_K(128)>;
};
};
};

View File

@ -0,0 +1,23 @@
/*
* Copyright (c) 2024 Analog Devices, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/
&flash0 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
code_partition: partition@0 {
reg = <0x0 DT_SIZE_K(256)>;
read-only;
};
storage_partition: partition@20000 {
label = "storage";
reg = <0x20000 DT_SIZE_K(128)>;
};
};
};