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  integration_platforms:
14    - mps2/an521/cpu0/ns
15  harness: console
16  harness_config:
17    type: multi_line
18    regex:
19      - "Protected Storage sample started"
20      - "PSA Protected Storage API Version [0-9]*.[0-9]*"
21      - "Writing data to UID1: .*"
22      - "Info on data stored in UID1:"
23      - "- Size: [0-9]*"
24      - "- Capacity: 0x[0-9a-f]*"
25      - "- Flags: 0x[0-9-a-f]*"
26      - "Got expected error \\(PSA_ERROR_NOT_PERMITTED\\) when writing to protected\
27      \ UID"
28      - "Removing UID1"
29
30tests:
31  sample.tfm.protected_storage:
32    tags:
33      - trusted-firmware-m
34      - mcuboot
35