2025-05-05 12:16 AM - last edited on 2025-05-05 12:32 AM by KDJEM.1
Respected ,
Hi
we stm585 discovery boared and we are clone https://github.com/FreeRTOS/iot-reference-stm32u5/blob/main/
In which for tfm code link : https://github.com/FreeRTOS/iot-reference-stm32u5/tree/main/Projects/b_u585i_iot02a_tfm
We facing code building issue . We attached log of building error .
Please provide solution as early as possible.
Also we setup enviroment as per Getting_Started_Guide.md
but we are facing build issue for " b_u585i_iot02a_tfm ". Get attached log file
Stm32Ide version 1.17.o
Toolchain 1.13
Also we share log fi
Would you share any dependency for building code.
Error
CMake Error in C:/Iot_base/iot-reference-stm32u5/Middleware/ARM/mbedtls/library/CMakeLists.txt:
Target "crypto_service_mbedcrypto" INTERFACE_INCLUDE_DIRECTORIES property
contains path:
"C:/Iot_base/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/secure_fw/partitions/crypto"
which is prefixed in the source directory.
CMake Error in C:/Iot_base/iot-reference-stm32u5/Middleware/ARM/mbedtls/library/CMakeLists.txt:
Target "crypto_service_mbedcrypto" INTERFACE_INCLUDE_DIRECTORIES property
contains path:
"C:/Iot_base/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/accelerator/stm/../../../ext/target/stm/b_u585i_iot02a/accelerator/"
which is prefixed in the source directory.
CMake Error in C:/Iot_base/iot-reference-stm32u5/Middleware/ARM/mbedtls/library/CMakeLists.txt:
Target "crypto_service_mbedcrypto" INTERFACE_INCLUDE_DIRECTORIES property
contains path:
"C:/Iot_base/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/accelerator/stm/../../../ext/target/stm/common/hal/accelerator/"
which is prefixed in the source directory.
CMake Error in C:/Iot_base/iot-reference-stm32u5/Middleware/ARM/mbedtls/library/CMakeLists.txt:
Target "crypto_service_mbedcrypto" INTERFACE_INCLUDE_DIRECTORIES property
contains path:
"C:/Iot_base/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/accelerator/stm/../../../ext/target/stm/b_u585i_iot02a/include/"
which is prefixed in the source directory.
CMake Error in C:/Iot_base/iot-reference-stm32u5/Middleware/ARM/mbedtls/library/CMakeLists.txt:
Target "crypto_service_mbedcrypto" INTERFACE_INCLUDE_DIRECTORIES property
contains path:
"C:/Iot_base/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/accelerator/stm/../../../ext/target/stm/common/stm32u5xx/hal/Inc/"
which is prefixed in the source directory.
CMake Error in C:/Iot_base/iot-reference-stm32u5/Middleware/ARM/mbedtls/library/CMakeLists.txt:
Target "crypto_service_mbedcrypto" INTERFACE_INCLUDE_DIRECTORIES property
contains path:
"C:/Iot_base/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/accelerator/stm/../../../ext/target/stm/common/stm32u5xx/Device/Include/"
which is prefixed in the source directory.
CMake Error in C:/Iot_base/iot-reference-stm32u5/Middleware/ARM/mbedtls/library/CMakeLists.txt:
Target "crypto_service_mbedcrypto" INTERFACE_INCLUDE_DIRECTORIES property
contains path:
"C:/Iot_base/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/accelerator/stm/../../../ext/cmsis"
2025-05-05 1:10 AM
Hello @vaibhavdawalkar
If you want to use FreeRTOS with STM32U5 please check the x-cube-freertos repository.
@vaibhavdawalkar wrote:
Respected ,
Hi
we stm585 discovery boared and we are clone https://github.com/FreeRTOS/iot-reference-stm32u5/blob/main/
In which for tfm code link : https://github.com/FreeRTOS/iot-reference-stm32u5/tree/main/Projects/b_u585i_iot02a_tfm
The project you provided is not an ST repository.
2025-05-05 1:53 AM
Thanks for reply.
So from where i get information above code as they use st code reference 1.1 version
Which forum i get infromation
2025-05-05 2:46 AM
Hello @vaibhavdawalkar
You can submit an issue on the FreeRTOS repository.