tests: drivers: flash: Add support test Flash for RA4E1 boards

Add suppport test flash/common for fpb_ra4e1 and voice_ra4e1

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
This commit is contained in:
Khoa Nguyen 2025-01-17 16:59:12 +07:00 committed by Benjamin Cabé
parent 236da292c9
commit 04694fca4e
4 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,4 @@
# Copyright (c) 2025 Renesas Electronics Corporation
# SPDX-License-Identifier: Apache-2.0
CONFIG_TEST_DRIVER_FLASH_SIZE=524288

View File

@ -0,0 +1,20 @@
/*
* Copyright (c) 2025 Renesas Electronics Corporation
* SPDX-License-Identifier: Apache-2.0
*/
/delete-node/ &storage_partition;
&flash0 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
/* Set 2 last blocks of the code flash as storage partition */
storage_partition: partition@70000 {
label = "storage";
reg = <0x70000 DT_SIZE_K(64)>;
};
};
};

View File

@ -0,0 +1,4 @@
# Copyright (c) 2025 Renesas Electronics Corporation
# SPDX-License-Identifier: Apache-2.0
CONFIG_TEST_DRIVER_FLASH_SIZE=524288

View File

@ -0,0 +1,20 @@
/*
* Copyright (c) 2025 Renesas Electronics Corporation
* SPDX-License-Identifier: Apache-2.0
*/
/delete-node/ &storage_partition;
&flash0 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
/* Set 2 last blocks of the code flash as storage partition */
storage_partition: partition@70000 {
label = "storage";
reg = <0x70000 DT_SIZE_K(64)>;
};
};
};