1common:
2  integration_platforms:
3    - native_sim
4    - nrf54l15dk/nrf54l15/cpuapp
5  platform_exclude:
6    - qemu_cortex_m0 # settings subsystem initialization fails
7    - nrf54h20dk/nrf54h20/cpuapp
8    - nrf54h20dk/nrf54h20/cpurad
9  timeout: 600
10  tags:
11    - psa.secure_storage
12tests:
13  secure_storage.psa.its.secure_storage.store.zms:
14    # DT-based filtering is not possible for this test scenario.
15    # Platforms with a storage_partition must be manually added here.
16    platform_allow: &zms_platform_allow
17      - native_sim
18      - mps2/an385
19      - qemu_x86/atom
20      - qemu_x86_64/atom
21      - nrf54l15dk/nrf54l15/cpuapp
22      - nrf5340dk/nrf5340/cpuapp
23      - nrf52840dk/nrf52840
24      - nrf9151dk/nrf9151
25      - nrf9160dk/nrf9160
26      - nrf9161dk/nrf9161
27      - ophelia4ev/nrf54l15/cpuapp
28    extra_args: &zms_extra_args
29      - EXTRA_DTC_OVERLAY_FILE=zms.overlay
30      - EXTRA_CONF_FILE=\
31        overlay-secure_storage.conf;overlay-store_zms.conf;overlay-transform_default.conf
32
33  secure_storage.psa.its.secure_storage.store.zms.64-bit_uids:
34    platform_allow: *zms_platform_allow
35    extra_args: *zms_extra_args
36    extra_configs:
37      - CONFIG_SECURE_STORAGE_64_BIT_UID=y
38
39  secure_storage.psa.its.secure_storage.store.settings:
40    filter: &settings_filter
41      CONFIG_SECURE_STORAGE_ITS_STORE_IMPLEMENTATION_SETTINGS
42    extra_args: &settings_extra_args
43      "EXTRA_CONF_FILE=\
44       overlay-secure_storage.conf;overlay-transform_default.conf;overlay-store_settings.conf"
45
46  secure_storage.psa.its.secure_storage.store.settings.64-bit_uids:
47    filter: *settings_filter
48    extra_args: *settings_extra_args
49    extra_configs:
50      - CONFIG_SECURE_STORAGE_64_BIT_UID=y
51
52  secure_storage.psa.its.secure_storage.custom.transform:
53    filter: CONFIG_SECURE_STORAGE and not CONFIG_SECURE_STORAGE_ITS_STORE_IMPLEMENTATION_NONE
54    extra_args: "EXTRA_CONF_FILE=\
55      overlay-secure_storage.conf;overlay-transform_custom.conf;overlay-store_settings.conf"
56
57  secure_storage.psa.its.secure_storage.custom.store:
58    filter: CONFIG_SECURE_STORAGE
59    extra_args: "EXTRA_CONF_FILE=\
60      overlay-secure_storage.conf;overlay-transform_default.conf;overlay-store_custom.conf"
61
62  secure_storage.psa.its.secure_storage.custom.both:
63    filter: CONFIG_SECURE_STORAGE
64    extra_args: "EXTRA_CONF_FILE=\
65      overlay-secure_storage.conf;overlay-transform_custom.conf;overlay-store_custom.conf"
66
67  secure_storage.psa.its.tfm:
68    filter: CONFIG_BUILD_WITH_TFM
69    integration_platforms:
70      - nrf9151dk/nrf9151/ns
71    extra_args: EXTRA_CONF_FILE=overlay-tfm.conf
72