Hi !
I can see in all RTOS examples on nonsecure side the next code available:
void SystemInit(void)
{
#if ((__FPU_PRESENT == 1) && (__FPU_USED == 1))
SCB->CPACR |= ((3UL << 10 * 2) | (3UL << 11 * 2)); /* set CP10, CP11 Full Access */
#endif /* ((__FPU_PRESENT == 1) && (__FPU_USED == 1)) */
SCB->CPACR |= ((3UL << 0 * 2) | (3UL << 1 * 2)); /* set CP0, CP1 Full Access (enable PowerQuad) */
SCB->NSACR |= ((3UL << 0) | (3UL << 10)); /* enable CP0, CP1, CP10, CP11 Non-secure Access */
}
But it seems to me the same system register can be configured via ConfigTool in TEE section Misc.
I would like to disable all co-processors usage on secure and nonsecure side. Only FPU need on both sides.
Can I do via ConfigTool TEE section only ?
Regards,
Eugene