1#
2# Copyright (c) 2025 Nordic Semiconductor ASA
3#
4# SPDX-License-Identifier: Apache-2.0
5#
6
7mainmenu "Flash Map test configuration"
8
9config TEST_FLASH_MAP_DISABLED_PARTITIONS
10	bool "Test support for disabled partitions"
11	default y if !FLASH_MAP_CUSTOM
12	help
13	  Test flash_area_open for returning -ENOENT for disabled partitions.
14	  Note that custom flash maps may not support disabled partitions
15	  and therefore not even generated id for them. In such case it would
16	  not be possible to provide disabled partition id to flash_area_open,
17	  making this test impossible to run.
18
19config TEST_FLASH_MAP_NODE_MACROS
20	bool "Test DTS macros for accessing partition info via DTS node"
21	default y if !FLASH_MAP_CUSTOM
22	help
23	  Custom flash map may be defined outside of DTS definition, therefore
24	  not have a DTS nodes for partitions.
25
26menu "Zephyr"
27source "Kconfig.zephyr"
28endmenu
29