Commit d561b506 authored by Benedikt Schmidt's avatar Benedikt Schmidt Committed by Anas Nashif
Browse files

tests: drivers: flash: stm32: add nucleo_f746zg



Add the nucleo_f746zg to the tests for the flash driver.

Signed-off-by: default avatarBenedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
parent f8399bd7
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
/*
 * 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)>;
		};
	};
};
+7 −0
Original line number Diff line number Diff line
@@ -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")