Hi Kato,

Can you please try with absolute paths for CONFIG_TFM_SOURCE_PATH, TFM_TOOLCHAIN_FILE etc?

Thanks
Best regards,
Nicola


From: no name via TF-M <tf-m@lists.trustedfirmware.org>
Sent: 14 March 2025 12:48
To: tf-m@lists.trustedfirmware.org <tf-m@lists.trustedfirmware.org>
Subject: [TF-M] Build Error for Regression Tests for RP2350
 
Hi all,
 
I have tried building regression tests for RP2350 following the trusted firmware document below.
 
https://trustedfirmware-m.readthedocs.io/en/latest/platform/rpi/rp2350/readme.html
 
------------------------------------------------
git clone https://review.trustedfirmware.org/TF-M/trusted-firmware-m.git
git clone https://review.trustedfirmware.org/TF-M/tf-m-tests
 
cd trusted-firmware-m
 
cmake -S ../tf-m-tests/tests_reg/spe \
-B ../tf-m-tests/tests_reg/spe/build_rpi_single \
-DTFM_PLATFORM=rpi/rp2350 \
-DTFM_TOOLCHAIN_FILE=./toolchain_GNUARM.cmake \
-DCONFIG_TFM_SOURCE_PATH=. \
-DTFM_PROFILE=profile_medium \
-DPLATFORM_DEFAULT_PROVISIONING=OFF \
-DTEST_S=ON \
-DTEST_NS=ON
-------------------------------------------------
 
the command above was successfully done, however,
 
-----------------------------------------------------
cmake --build ../tf-m-tests/tests_reg/spe/build_rpi_single -- -j8 install
-------------------------------------------------------
the coomand above fails.
it says;
-----------------------------------------------------
gmake[3]: *** No targets specified and no makefile found.  Stop.
gmake[2]: *** [CMakeFiles/TF-M.dir/build.make:89: temp/src/TF-M-stamp/TF-M-build] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/TF-M.dir/all] Error 2
gmake: *** [Makefile:124: all] Error 2
--------------------------------------------------------
 
Does anyone face the same error?
 
regards,
 
Kato