Looks like this patch is causing build errors, at least for Musca
S1.
cmake line:
cmake -GNinja -S .. -B . -DTFM_PLATFORM=arm/musca_s1
"-DTFM_TOOLCHAIN_FILE=..\toolchain_ARMCLANG.cmake" -DTEST_NS=ON
-DTEST_S=ON -DCMAKE_BUILD_TYPE=Debug -DBL2=ON -DTEST_NS_QCBOR=OFF
[1233/1238] Linking C executable
bin\tfm_ns.axf
FAILED: bin/tfm_ns.axf
cmd.exe /C "cd . &&
D:\apps\Keil_v5\ARM\ARMCLANG\bin\armlink.exe --cpu=cortex-m33
--info=summarysizes,sizes,totals,unused,veneers --strict --symbols
--xref --diag_suppress=6312 --diag_suppress=6314
--diag_suppress=6304 --diag_suppress=6329 --fpu=softvfp --map
--scatter=D:/Projects/trusted-firmware-m/armclang/platform/target/CMakeFiles/tfm_ns_scatter.dir/./Device/Source/armclang/musca_ns.o
platform\libplatform_ns.a app\libtfm_ns_integration_test.a
app\libtfm_api_ns.a ns_log\libtfm_ns_log.a
test\suites\core\libtfm_test_suite_core_ns.a
app\libtfm_ns_integration_test.a
test\suites\core\libtfm_test_suite_core_ns.a
test\suites\attestation\libtfm_test_suite_attestation_ns.a
test\suites\crypto\libtfm_test_suite_crypto_ns.a
test\suites\qcbor\libtfm_test_suite_qcbor_ns.a -ltfm_qcbor_test
test\suites\ps\libtfm_test_suite_ps_ns.a
test\suites\its\libtfm_test_suite_its_ns.a
test\suites\t_cose\libtfm_test_suite_t_cose_ns.a
test\suites\t_cose\libtfm_t_cose_test.a
test\suites\t_cose\libtfm_t_cose_ns.a
test\suites\qcbor\libtfm_qcbor_ns.a
test\suites\platform\libtfm_test_suite_platform_ns.a
test\suites\ipc\libtfm_test_suite_ipc_ns.a
lib\ext\tfm_test_repo-src\CMSIS\RTOS2\RTX\Library\ARM\RTX_V8MMN.lib
app\libtfm_api_ns.a secure_fw\libtfm_s_veneers.a
ns_log\libtfm_ns_log.a platform\libplatform_ns.a
app\CMakeFiles\tfm_ns.dir\main_ns.o
app\CMakeFiles\tfm_ns.dir\__\__\platform\ext\target\arm\musca_s1\Device\Source\armclang\startup_cmsdk_musca_ns.o
app\CMakeFiles\tfm_ns.dir\__\ns_interface\ns_client_ext\tz_shim_layer.o
app\CMakeFiles\tfm_ns.dir\__\CMSIS\RTOS2\RTX\Config\RTX_Config.o
app\CMakeFiles\tfm_ns.dir\__\CMSIS\RTOS2\RTX\Source\rtx_lib.o
app\CMakeFiles\tfm_ns.dir\os_wrapper_cmsis_rtos_v2.o -o
bin\tfm_ns.axf --list=bin\tfm_ns.axf.map && cd ."
Fatal error: L3900U: Unrecognized option '-ltfm_qcbor_test'.
Finished: 0 information, 0 warning, 0 error and 1 fatal error
messages.
ninja: build stopped: subcommand failed.