tests: drivers: flash: Add MAX32670EVKIT board overlay file

Enable flash driver test for MAX32670EVKIT board.

Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
This commit is contained in:
Sadik Ozer 2024-01-08 21:42:37 +03:00 committed by Henrik Brix Andersen
parent 198518df5b
commit 931d89e6b8
1 changed files with 23 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)>;
};
};
};