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