tests: drivers: flash: stm32: add nucleo_f746zg

Add the nucleo_f746zg to the tests for the flash driver.

Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
This commit is contained in:
Benedikt Schmidt 2024-07-26 14:06:00 +02:00 committed by Anas Nashif
commit d561b50695
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,19 @@
/*
* Copyright (c) 2024 SILA Embedded Solutions GmbH
*
* SPDX-License-Identifier: Apache-2.0
*/
&flash0 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
/* Reserve 4KiB of flash for storage_partition. */
storage_partition: partition@f0000 {
label = "storage";
reg = <0x000f0000 DT_SIZE_K(4)>;
};
};
};

View file

@ -35,3 +35,10 @@ tests:
- CONFIG_FLASH_STM32_READOUT_PROTECTION=y
filter: dt_compat_enabled("st,stm32g4-flash-controller") and
dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions")
drivers.flash.stm32.f7:
platform_allow:
- nucleo_f746zg
extra_configs:
- CONFIG_FLASH_STM32_READOUT_PROTECTION=y
filter: dt_compat_enabled("st,stm32f7-flash-controller") and
dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions")