Skip to main content
Associate
October 7, 2026
Question

STM32H563 trustzone and FLASH linker size

Hello everyone,

I'd like to know if anyone has tried setting the size of the FLASH memory in a .ld file so that the unsafe zone is larger than the safe zone, for example, by changing the size of the unsafe zone .ld file to more than half the size of the flash memory and leaving the size of the safe zone .ld file at half the size of the flash memory.