cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeU5: how to build TFM applications?

GTort.1
Associate II

hi all,

I would like to experiment with the TFM applications contained in the STM32CubeU5 package on my B-U585I-IOT02A board

unfortunately, it seems that STM32CubeIDE is not supported

does anyone have suggestions on how to build the TFM applications, based on free and/or open software, without the need to install trial versions of EWARM?

thanks in advance

Gianluca

1 ACCEPTED SOLUTION

Accepted Solutions
Mohamed Aymen HZAMI
ST Employee

Hello @GTort.1​ and welcome to the community,

you can refer to this post

Mohamed Aymen

View solution in original post

4 REPLIES 4
Mohamed Aymen HZAMI
ST Employee

Hello @GTort.1​ and welcome to the community,

you can refer to this post

Mohamed Aymen

hello @Mohamed Aymen HZAMI​ 

I've downloaded the new version of the package STM32CubeU5 and indeed now it contains STM32Cube IDE projects for both Secure and NonSecure TFM Appli

unfortunately, they do not build!

I attach the errors I get when I try to build the projects

thank you in advance,

Gianluca

UPDATE: I was able to solve by manually running the script prebuild_s.sh in the TFM_Appli_Secure project

would still appreciate a feedback from ST

thanks,

Gianluca

Mohamed Aymen HZAMI
ST Employee

Hello @GTort.1​,

We confirm that the issue you encountered is related to prebuild_s.sh script was not correctly executed.

So, you found the right workaround by executing the script manually.

The compilation is well executed on our side and we do not face this issue.

Could you give you precise your environment and the STM32CubeIDE version?

Mohamed Aymen