cancel
Showing results for 
Search instead for 
Did you mean: 

STM32U5 AWS Virtual workshop

sliu1314
Associate

Hi,

We are working on a project based on the x-cube-aws package. I used the script from the GitHub STM32U5 AWS Virtual workshop to setup the project. The script STM32U5_AWS_VWS_PrereqCheck.ps1 runs successfully. 

I got the error below when building the original project --- b_u585i_iot02a_tfm.

Calling cmake for artifact: tfm_build/.ready due to prereq: C:/temp/STM32CubeExpansion_Cloud_AWS_V3.0.0/Middleware/ARM/mbedtls/0003-Disable-export-MbedTLSTargets.patched C:/temp/STM32CubeExpansion_Cloud_AWS_V3.0.0/Middleware/ARM/mbedtls/0002-Enable-crypto-code-sharing-between-independent-binar.patched C:/temp/STM32CubeExpansion_Cloud_AWS_V3.0.0/Middleware/ARM/mbedtls/0001-BUILD-Update-IAR-support-in-CMakeLists.txt.patched

OSTYPE: ms/windows

OSTYPE: ms/windows

CMake Error at CMakeLists.txt:62 (message):

  SETTING CMAKE_TOOLCHAIN_FILE no longer accepts relative paths.  Please

  supply an absolute path or instead use TFM_TOOLCHAIN_FILE (which does

  accept relative paths)

-- Configuring incomplete, errors occurred!

 

I did change the path in the file tfm.mk to absolute path and the error is still there. How to resolve this ?

-DTFM_TOOLCHAIN_FILE=C:/temp/STM32CubeExpansion_Cloud_AWS_V3.0.0/Middleware/ARM/trusted-firmware-m/toolchain_GNUARM.cmake \

sliu1314

0 REPLIES 0