| # Copyright (c) 2024, Nordic Semiconductor ASA |
| # SPDX-License-Identifier: Apache-2.0 |
| |
| # Device/scenario dependent information that is not available in |
| # other ways. |
| |
| DT_CHOSEN_Z_FLASH := zephyr,flash |
| |
| config TEST_DRIVER_FLASH_SIZE |
| int "Size of flash device under test" |
| default $(dt_chosen_reg_size_int,$(DT_CHOSEN_Z_FLASH),0) \ |
| if (SOC_FAMILY_STM32 && !SOC_SERIES_STM32N6X) |
| default -1 |
| help |
| Expected flash device size the test will validate against. If the flash driver does not |
| support the get_size() API, leave this set as -1 to skip the test. |
| For the STM32 devices, the flash size is directly given by the soc DTSI. |
| |
| config TEST_FORCE_STORAGE_PARTITION |
| bool "Force testing the storage partition area" |
| default n |
| help |
| This test prioritizes testing spi nor flash over |
| the storage area by default. Set this config to priorize |
| testing the storage partition instead. |
| |
| source "Kconfig.zephyr" |