Skip to content

Not able to build CMake Error in C:/BaseIot/iot-reference-stm32u5/Middleware/ARM/mbedtls/library/CMakeLists.txt: Target "crypto_service_mbedcrypto" #99

Open
@vsdawalkar2511

Description

@vsdawalkar2511

we stm585 discovery boared and we are clone https://github.com/FreeRTOS/iot-reference-stm32u5/blob/main/
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
Would you share any dependency for building code.

Below are errors
-- Configuring done (9.9s)
CMake Error in C:/BaseIot/iot-reference-stm32u5/Middleware/ARM/mbedtls/library/CMakeLists.txt:
Target "crypto_service_mbedcrypto" INTERFACE_INCLUDE_DIRECTORIES property
contains path:

"C:/BaseIot/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/secure_fw/partitions/crypto"

which is prefixed in the source directory.

CMake Error in C:/BaseIot/iot-reference-stm32u5/Middleware/ARM/mbedtls/library/CMakeLists.txt:
Target "crypto_service_mbedcrypto" INTERFACE_INCLUDE_DIRECTORIES property
contains path:

"C:/BaseIot/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:/BaseIot/iot-reference-stm32u5/Middleware/ARM/mbedtls/library/CMakeLists.txt:
Target "crypto_service_mbedcrypto" INTERFACE_INCLUDE_DIRECTORIES property
contains path:

"C:/BaseIot/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:/BaseIot/iot-reference-stm32u5/Middleware/ARM/mbedtls/library/CMakeLists.txt:
Target "crypto_service_mbedcrypto" INTERFACE_INCLUDE_DIRECTORIES property
contains path:

"C:/BaseIot/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:/BaseIot/iot-reference-stm32u5/Middleware/ARM/mbedtls/library/CMakeLists.txt:
Target "crypto_service_mbedcrypto" INTERFACE_INCLUDE_DIRECTORIES property
contains path:

"C:/BaseIot/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:/BaseIot/iot-reference-stm32u5/Middleware/ARM/mbedtls/library/CMakeLists.txt:
Target "crypto_service_mbedcrypto" INTERFACE_INCLUDE_DIRECTORIES property
contains path:

"C:/BaseIot/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:/BaseIot/iot-reference-stm32u5/Middleware/ARM/mbedtls/library/CMakeLists.txt:
Target "crypto_service_mbedcrypto" INTERFACE_INCLUDE_DIRECTORIES property
contains path:

"C:/BaseIot/iot-reference-stm32u5/Middleware/ARM/trusted-firmware-m/platform/ext/accelerator/stm/../../../ext/cmsis"

which is prefixed in the source directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions