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) if SOC_FAMILY_STM32
12	default -1
13	help
14	  Expected flash device size the test will validate against. If the flash driver does not
15	  support the get_size() API, leave this set as -1 to skip the test.
16	  For the STM32 devices, the flash size is direclty given by the soc DTSI.
17
18source "Kconfig.zephyr"
19