diff --git a/tests/drivers/flash/common/boards/fpb_ra4e1.conf b/tests/drivers/flash/common/boards/fpb_ra4e1.conf new file mode 100644 index 00000000000..234ba7edbbe --- /dev/null +++ b/tests/drivers/flash/common/boards/fpb_ra4e1.conf @@ -0,0 +1,4 @@ +# Copyright (c) 2025 Renesas Electronics Corporation +# SPDX-License-Identifier: Apache-2.0 + +CONFIG_TEST_DRIVER_FLASH_SIZE=524288 diff --git a/tests/drivers/flash/common/boards/fpb_ra4e1.overlay b/tests/drivers/flash/common/boards/fpb_ra4e1.overlay new file mode 100644 index 00000000000..a1c3e5f5fed --- /dev/null +++ b/tests/drivers/flash/common/boards/fpb_ra4e1.overlay @@ -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)>; + }; + }; +}; diff --git a/tests/drivers/flash/common/boards/voice_ra4e1.conf b/tests/drivers/flash/common/boards/voice_ra4e1.conf new file mode 100644 index 00000000000..234ba7edbbe --- /dev/null +++ b/tests/drivers/flash/common/boards/voice_ra4e1.conf @@ -0,0 +1,4 @@ +# Copyright (c) 2025 Renesas Electronics Corporation +# SPDX-License-Identifier: Apache-2.0 + +CONFIG_TEST_DRIVER_FLASH_SIZE=524288 diff --git a/tests/drivers/flash/common/boards/voice_ra4e1.overlay b/tests/drivers/flash/common/boards/voice_ra4e1.overlay new file mode 100644 index 00000000000..a1c3e5f5fed --- /dev/null +++ b/tests/drivers/flash/common/boards/voice_ra4e1.overlay @@ -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)>; + }; + }; +};