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:
parent
236da292c9
commit
04694fca4e
4
tests/drivers/flash/common/boards/fpb_ra4e1.conf
Normal file
4
tests/drivers/flash/common/boards/fpb_ra4e1.conf
Normal file
@ -0,0 +1,4 @@
|
||||
# Copyright (c) 2025 Renesas Electronics Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_TEST_DRIVER_FLASH_SIZE=524288
|
||||
20
tests/drivers/flash/common/boards/fpb_ra4e1.overlay
Normal file
20
tests/drivers/flash/common/boards/fpb_ra4e1.overlay
Normal 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)>;
|
||||
};
|
||||
};
|
||||
};
|
||||
4
tests/drivers/flash/common/boards/voice_ra4e1.conf
Normal file
4
tests/drivers/flash/common/boards/voice_ra4e1.conf
Normal file
@ -0,0 +1,4 @@
|
||||
# Copyright (c) 2025 Renesas Electronics Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_TEST_DRIVER_FLASH_SIZE=524288
|
||||
20
tests/drivers/flash/common/boards/voice_ra4e1.overlay
Normal file
20
tests/drivers/flash/common/boards/voice_ra4e1.overlay
Normal 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)>;
|
||||
};
|
||||
};
|
||||
};
|
||||
Loading…
Reference in New Issue
Block a user