Skip to main content
jackalope
Associate
February 18, 2026
Question

Enabling TrustZone with an existing project / ioc file

  • February 18, 2026
  • 1 reply
  • 205 views

I see only one other answer to this question, here: Solved: TrustZone Enable afterwards - STMicroelectronics Community

However, others are not answered. Can you confirm that there is a solid reason why the TrustZone cannot be enabled after the project has been created? Does it scramble to ioc file? Was this an issue with previous versions of CubeMX and perhaps no longer an issue? 

Core: M33

1 reply

Jocelyn RICARD
ST Employee
February 24, 2026

Hello @jackalope ,

I don't see any way how you can do this using STM32CubeMX interface.

What I would do is create the new TrustZone Project from scratch, open also old project and update.

Another way could be to keep your non secure project as it is, create a new TrustZone enabled project to generate only the secure part.

Best regards

Jocelyn

jackalope
jackalopeAuthor
Associate
March 6, 2026

I've come to the same conclusion and trying to decide which direction to go. I would assume this is a common and that others have started a project and later given a new requirement for TrustZone. With that said, surely there's some literature or documentation regarding this migration, is there not?