cancel
Showing results for 
Search instead for 
Did you mean: 

Build error for https://github.com/FreeRTOS/iot-reference-stm32u5/tree/main/Projects/b_u585i_iot02a_tfm

vaibhavdawalkar
Associate

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"

3 REPLIES 3
Saket_Om
ST Employee

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. 

If your question is answered, please close this topic by clicking "Accept as Solution".

Thanks
Omar

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 

Hello @vaibhavdawalkar 

You can submit an issue on the FreeRTOS repository.

If your question is answered, please close this topic by clicking "Accept as Solution".

Thanks
Omar