blob: 0488e1a06cc0d8730f368af35915a2f3e91f6e13 [file] [log] [blame]
sample:
description: Protected Storage API sample
name: PSA Protected Storage
common:
tags: psa
platform_allow:
- mps2/an521/cpu0/ns
- v2m_musca_s1/musca_s1/ns
- nrf5340dk/nrf5340/cpuapp/ns
- nrf9160dk/nrf9160/ns
- bl5340_dvk/nrf5340/cpuapp/ns
- lpcxpresso55s69/lpc55s69/cpu0/ns
integration_platforms:
- mps2/an521/cpu0/ns
harness: console
harness_config:
type: multi_line
regex:
- "Protected Storage sample started"
- "PSA Protected Storage API Version [0-9]*.[0-9]*"
- "Writing data to UID1: .*"
- "Info on data stored in UID1:"
- "- Size: [0-9]*"
- "- Capacity: 0x[0-9a-f]*"
- "- Flags: 0x[0-9-a-f]*"
- "Got expected error \\(PSA_ERROR_NOT_PERMITTED\\) when writing to protected\
\ UID"
- "Removing UID1"
tests:
sample.tfm.protected_storage:
tags:
- trusted-firmware-m
- mcuboot