36 lines
1.0 KiB
YAML
36 lines
1.0 KiB
YAML
sample:
|
|
description: This app provides an example of using the PSA Firmware calls
|
|
to update to a new firmware using TF-M and MCUBoot.
|
|
name: TF-M PSA firmware update example
|
|
tests:
|
|
sample.update-success:
|
|
tags: introduction tfm
|
|
platform_allow: mps3_an547_ns
|
|
integration_platforms:
|
|
- mps3_an547_ns
|
|
harness: console
|
|
timeout: 300
|
|
extra_configs:
|
|
- CONFIG_APP_FIRMWARE_UPDATE_IMAGE_VERSION="0.0.2+0"
|
|
harness_config:
|
|
type: multi_line
|
|
regex:
|
|
- "Active NS image version: 0.0.1-0"
|
|
- "Wrote Header; Installing Image"
|
|
- "Hello World from UserSpace!"
|
|
sample.fail-rollback:
|
|
tags: introduction tfm
|
|
platform_allow: mps3_an547_ns
|
|
integration_platforms:
|
|
- mps3_an547_ns
|
|
harness: console
|
|
timeout: 300
|
|
extra_configs:
|
|
- CONFIG_APP_FIRMWARE_UPDATE_IMAGE_VERSION="0.0.0+0"
|
|
harness_config:
|
|
type: multi_line
|
|
regex:
|
|
- "Active NS image version: 0.0.1-0"
|
|
- "Wrote Header; Installing Image"
|
|
- "Active NS image version: 0.0.1-0"
|