1# Copyright (c) 2024, Nordic Semiconductor ASA 2# SPDX-License-Identifier: Apache-2.0 3 4# Device/scenario dependent information that is not available in 5# other ways. 6 7DT_CHOSEN_Z_FLASH := zephyr,flash 8 9config TEST_DRIVER_FLASH_SIZE 10 int "Size of flash device under test" 11 default $(dt_chosen_reg_size_int,$(DT_CHOSEN_Z_FLASH),0) \ 12 if (SOC_FAMILY_STM32 && !SOC_SERIES_STM32N6X) 13 default -1 14 help 15 Expected flash device size the test will validate against. If the flash driver does not 16 support the get_size() API, leave this set as -1 to skip the test. 17 For the STM32 devices, the flash size is directly given by the soc DTSI. 18 19config TEST_FORCE_STORAGE_PARTITION 20 bool "Force testing the storage partition area" 21 default n 22 help 23 This test prioritizes testing spi nor flash over 24 the storage area by default. Set this config to priorize 25 testing the storage partition instead. 26 27source "Kconfig.zephyr" 28