Skip to content

Commit 198518d

Browse files
hfakkizhenrikbrixandersen
authored andcommitted
tests: drivers: flash: Add MAX32666 boards overlay file
Enable flash driver test for MAX32666 boards. Signed-off-by: Furkan Akkiz <[email protected]>
1 parent b2b8957 commit 198518d

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
* Copyright (c) 2024 Analog Devices, Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&flash0 {
8+
partitions {
9+
compatible = "fixed-partitions";
10+
#address-cells = <1>;
11+
#size-cells = <1>;
12+
13+
code_partition: partition@0 {
14+
reg = <0x0 DT_SIZE_K(512)>;
15+
read-only;
16+
};
17+
18+
storage_partition: partition@80000 {
19+
label = "storage";
20+
reg = <0x80000 DT_SIZE_K(512)>;
21+
};
22+
};
23+
};
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
* Copyright (c) 2024 Analog Devices, Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&flash0 {
8+
partitions {
9+
compatible = "fixed-partitions";
10+
#address-cells = <1>;
11+
#size-cells = <1>;
12+
13+
code_partition: partition@0 {
14+
reg = <0x0 DT_SIZE_K(512)>;
15+
read-only;
16+
};
17+
18+
storage_partition: partition@80000 {
19+
label = "storage";
20+
reg = <0x80000 DT_SIZE_K(512)>;
21+
};
22+
};
23+
};

0 commit comments

Comments
 (0)