Skip to main content
GTort.1
Associate II
February 15, 2023
Solved

STM32CubeU5: how to build TFM applications?

  • February 15, 2023
  • 2 replies
  • 2247 views

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

This topic has been closed for replies.
Best answer by Mohamed Aymen HZAMI

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

you can refer to this post

Mohamed Aymen

2 replies

Mohamed Aymen HZAMI
ST Employee
February 17, 2023

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

you can refer to this post

Mohamed Aymen

GTort.1
GTort.1Author
Associate II
February 27, 2023

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

GTort.1
GTort.1Author
Associate II
February 28, 2023

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
April 7, 2023

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