FreeRTOS code generation for non-secure STM32H5
Hi,
I am using STM32CubeMX 6.12.1 to generate a C-based firmware that depends on FreeRTOS. I enabled TrustZone and I have configuration for secure and non-secure part of the firmware.
Everytime, I re-generate the code, the Secure project config is setup with incorrect path to RTOS2. This folder should reside in Secure_Project/Middlewares/RTOS2 and not in Secure_Project/RTOS2.
Also, in the non-secure project, I would have freertos.h and tasks.h included in stm32h5xx_it.c under Core/Src. I know from the CubeMX that the FreeRTOS can only be included in the secure region and not permitted in the non-secure. However, the CubeMX always insert these inclusion under the non-secure project Core for some reason
Kind Regards,
Hani
