2026-03-25 2:59 AM
Hello everyone!
I’ve been struggling for a while with TrustZone projects on the NUCLEO-U575ZI-Q. I’ve tried both the STM32CubeU5 example projects (Templates/TrustZoneEnabled/ and Examples/GPIO/GPIO_IOToggle_TrustZone/) and my own CubeMX-generated project, but I can’t get any of them to run successfully. I'm using STM32CubeIDE.
I've tried running the example projects, this is the error I get when building:
make: *** No rule to make target '/home/Drivers/STM32U5xx_HAL_Driver/Src/stm32u5xx_hal.c', needed by 'Drivers/STM32U5xx_HAL_Driver/stm32u5xx_hal.o'. Stop.
I've set the Option bytes correctly, Secure Area 2 is set to NonSecure and TZEN bit is set to 1.
I've also generated a project with CubeMX:
Questions:
Any guidance or pointers would be greatly appreciated.
2026-04-13 8:34 AM
dear @GreatMachinist
Have you tried to use " Getting started with STM32 MCU's and Arm®TrustZone® development - Application note"
BR
Lobna