I am trying to run FreeRTOS (10.2) on cortex-M33 in this facing an issue at the end of vRestoreContextOfFirstTask while trying to jump at EXC_RETURN (0xFFFFFFBC) which is leading to an Exception. I am getting INVPC hard fault is set. I am using the freertos in non secure mode. What should be correct value of EXE_RETURN ?
If this question is actual, the solution is simple: just add #define config RUN_FREERTOS_SECURE_ONLY 1 to your FreeRTOSConfig h. M33's runs in secure mode after reset by default.