From 539a7a18d65f0b2e09762c299fcc6c587518452e Mon Sep 17 00:00:00 2001 From: Sadik Ozer Date: Tue, 14 Nov 2023 18:16:29 +0300 Subject: [PATCH] tests: drivers: flash: Add MAX32655 boards overlay file Enable flash test for MAX32655 boards. Signed-off-by: Sadik Ozer --- .../boards/max32655evkit_max32655_m4.overlay | 23 +++++++++++++++++++ .../boards/max32655fthr_max32655_m4.overlay | 23 +++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 tests/drivers/flash/common/boards/max32655evkit_max32655_m4.overlay create mode 100644 tests/drivers/flash/common/boards/max32655fthr_max32655_m4.overlay diff --git a/tests/drivers/flash/common/boards/max32655evkit_max32655_m4.overlay b/tests/drivers/flash/common/boards/max32655evkit_max32655_m4.overlay new file mode 100644 index 00000000000..9f957f02226 --- /dev/null +++ b/tests/drivers/flash/common/boards/max32655evkit_max32655_m4.overlay @@ -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(384)>; + read-only; + }; + + storage_partition: partition@60000 { + label = "storage"; + reg = <0x60000 DT_SIZE_K(128)>; + }; + }; +}; diff --git a/tests/drivers/flash/common/boards/max32655fthr_max32655_m4.overlay b/tests/drivers/flash/common/boards/max32655fthr_max32655_m4.overlay new file mode 100644 index 00000000000..9f957f02226 --- /dev/null +++ b/tests/drivers/flash/common/boards/max32655fthr_max32655_m4.overlay @@ -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(384)>; + read-only; + }; + + storage_partition: partition@60000 { + label = "storage"; + reg = <0x60000 DT_SIZE_K(128)>; + }; + }; +};