Test: Restructure PSA arch tests
PSA arch tests build split on 2 steps:
1. A secure (SPE) built from TF-M source code and PSA arch tests in
case of IPC suit.
2. A non-Secure build from PSA arch tests
NSPE is dependant on SPE (platform, PSA Suit name) so SPE is located
under NSPE and shall be build first and than we can build NSPE on 2nd
step using SPE artifacts and settings.
To build SPE:
cmake -S . -B build -DTFM_PLATFORM=arm/mps2/an521
-DCONFIG_TFM_SOURCE_PATH=<>/trusted-firmware-m
-DTEST_PSA_API=STORAGE
cmake --build build -- install
To build NSPE:
cmake -S . -B build -DCONFIG_SPE_PATH=<>/spe/build/api_ns
cmake --build build -- tfm_app_binaries
Signed-off-by: Anton Komlev <anton.komlev@arm.com>
Change-Id: I3a5c8497ca00ceccb70662318a2b433d743f062a
10 files changed