Hi Hao,

I think you've spotted a bug, tf-m-tests version.txt should not point to that tag which is an old 2.1.x related tag, but to TF-Mv2.2.0. Can you try again with this and check if it works?

Thanks,
Antonio


From: Zhang, Hao via TF-M <tf-m@lists.trustedfirmware.org>
Sent: Tuesday, June 24, 2025 23:27
To: Anton Komlev via TF-M <tf-m@lists.trustedfirmware.org>
Subject: [TF-M] Question about build error in TF-M release/2.2.x

Hi TF-M community,

 

When I am trying to build TF-M regression test for 2.2.x release, I sets the tf-m-tests repo version to recommended TF-Mv2.1.2-RC2. The tf-m-tests tests_reg/spe/CMakeLists.txt has following line:

 

install(FILES       ${CONFIG_TFM_SOURCE_PATH}/lib/ext/qcbor/q_useful_buf.h

        DESTINATION ${CMAKE_BINARY_DIR}/api_ns/qcbor/inc)

 

 

However, release 2.2.x https://git.trustedfirmware.org/plugins/gitiles/TF-M/trusted-firmware-m.git/+/refs/heads/release/2.2.x/lib/ext/qcbor/ has removed q_useful_buf.h. Therefore, causing a build error.

 

Is there anything I am missing. Any help would be appreciated.

 

Best regards,

 

Hao