zephyr/tests/drivers/flash/common/testcase.yaml
Dominik Ermel 6d40cb8038 tests/flash: Fix nrf52840dk configurations
The commit disables QSPI in SoC configurations, as QSPI got enabled
by default and test never really run on SoC.

In QSPI configuration erase page size is set to 4096
There is not TC_PRINT showing name of device that the test will
run on, in test setup.

The nrf52840dk configuration files have been renamed to reflect
dk name and SoC.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2024-03-12 17:57:39 +00:00

101 lines
3.4 KiB
YAML

common:
tags:
- drivers
- flash
tests:
drivers.flash.common.nrf_qspi_nor:
platform_allow: nrf52840dk/nrf52840
extra_args: OVERLAY_CONFIG=boards/nrf52840dk_nrf52840_qspi_nor.conf
integration_platforms:
- nrf52840dk/nrf52840
drivers.flash.common.nrf_qspi_nor.size_in_bytes:
platform_allow: nrf52840dk/nrf52840
extra_args:
- OVERLAY_CONFIG=boards/nrf52840dk_nrf52840_qspi_nor.conf
- DTC_OVERLAY_FILE=boards/nrf52840_size_in_bytes.overlay
integration_platforms:
- nrf52840dk/nrf52840
drivers.flash.common.nrf_qspi_nor_4B_addr:
platform_allow: nrf52840dk/nrf52840
extra_args:
- OVERLAY_CONFIG=boards/nrf52840dk_nrf52840_qspi_nor.conf
- DTC_OVERLAY_FILE=boards/nrf52840dk_mx25l51245g.overlay
harness_config:
fixture: external_flash_mx25l51245g
integration_platforms:
- nrf52840dk/nrf52840
drivers.flash.common.soc_flash_nrf:
platform_allow: nrf52840dk/nrf52840
extra_args: OVERLAY_CONFIG=boards/nrf52840dk_nrf52840_soc.conf
integration_platforms:
- nrf52840dk/nrf52840
drivers.flash.common.default:
filter: ((CONFIG_FLASH_HAS_DRIVER_ENABLED and not CONFIG_TRUSTED_EXECUTION_NONSECURE)
and dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions"))
integration_platforms:
- qemu_x86
- mimxrt1060_evk
drivers.flash.common.tfm_ns:
build_only: true
filter: (CONFIG_FLASH_HAS_DRIVER_ENABLED and CONFIG_TRUSTED_EXECUTION_NONSECURE
and dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions"))
integration_platforms:
- nrf9161dk/nrf9161/ns
drivers.flash.common.stm32:
platform_allow:
- nucleo_f103rb
- nucleo_f207zg
- stm32f3_disco
- nucleo_f429zi
- stm32f746g_disco
- nucleo_f767zi
- nucleo_g0b1re
- nucleo_g474re
- nucleo_h743zi
- nucleo_l152re
- disco_l475_iot1
- nucleo_wb55rg
- nucleo_wl55jc
- stm32l562e_dk
- stm32l562e_dk/stm32l562xx/ns
integration_platforms:
- nucleo_f103rb
filter: (dt_compat_enabled("st,stm32-flash-controller") or
dt_compat_enabled("st,stm32h7-flash-controller")) and
dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions")
drivers.flash.common.mx25r_high_perf:
platform_allow: nrf52840dk/nrf52840
extra_args:
- OVERLAY_CONFIG=boards/nrf52840dk_flash_spi.conf
- DTC_OVERLAY_FILE=boards/nrf52840dk_mx25r_high_perf.overlay
integration_platforms:
- nrf52840dk/nrf52840
drivers.flash.common.mr_canhubk3_sfdp_runtime:
platform_allow: mr_canhubk3
extra_configs:
- CONFIG_FLASH_NXP_S32_QSPI_NOR_SFDP_RUNTIME=y
drivers.flash.common.spi_nor:
platform_allow: nrf52840dk/nrf52840
extra_args:
- OVERLAY_CONFIG=boards/nrf52840dk_flash_spi.conf
- DTC_OVERLAY_FILE=boards/nrf52840dk_spi_nor.overlay
harness_config:
fixture: external_flash_mx25v1635f
drivers.flash.common.spi_nor_wp_hold:
platform_allow: nrf52840dk/nrf52840
extra_args:
- OVERLAY_CONFIG=boards/nrf52840dk_flash_spi.conf
- DTC_OVERLAY_FILE=boards/nrf52840dk_spi_nor_wp_hold.overlay
harness_config:
fixture: external_flash_mx25v1635f
drivers.flash.common.sam0:
platform_allow:
- samd20_xpro
- samr21_xpro
- same54_xpro
drivers.flash.common.gd32:
platform_allow:
- gd32vf103v_eval
- gd32a503v_eval
- gd32f470i_eval