1sample:
2  description: Protected Storage API sample
3  name: PSA Protected Storage
4common:
5  tags: psa
6  platform_allow:
7    - mps2/an521/cpu0/ns
8    - v2m_musca_s1/musca_s1/ns
9    - nrf5340dk/nrf5340/cpuapp/ns
10    - nrf9160dk/nrf9160/ns
11    - bl5340_dvk/nrf5340/cpuapp/ns
12    - lpcxpresso55s69/lpc55s69/cpu0/ns
13    - max32657evkit/max32657/ns
14  integration_platforms:
15    - mps2/an521/cpu0/ns
16  harness: console
17  harness_config:
18    type: multi_line
19    regex:
20      - "Protected Storage sample started"
21      - "PSA Protected Storage API Version [0-9]*.[0-9]*"
22      - "Writing data to UID1: .*"
23      - "Info on data stored in UID1:"
24      - "- Size: [0-9]*"
25      - "- Capacity: 0x[0-9a-f]*"
26      - "- Flags: 0x[0-9-a-f]*"
27      - "Got expected error \\(PSA_ERROR_NOT_PERMITTED\\) when writing to protected\
28      \ UID"
29      - "Removing UID1"
30
31tests:
32  sample.tfm.protected_storage:
33    tags:
34      - trusted-firmware-m
35      - mcuboot
36