Hi Jun Zhang !
But I should be able to create several TZ configuration and call relevant function BOARD_InitTrustZone_XXXX();
when it need. For example Debug and Release targets might have different access to memory and peripherals and I need to configuration for have strict security settings.
#ifndef NDEBUG
BOARD_InitTrustZone_Release();
#else
BOARD_InitTrustZone_Debug();
#endif
But how I can keep/create few TZ configurations ?
Regards,
Eugene