2024-08-23 07:37 AM
Versions:
STM32CubeMX 6.12.0
FreeRTOS X-Cube-FREERTOS 1.1.10 (FreeRTOS Kernel 10.5.1)
STM32U5 MCU Package 1.6.0
Although STM32CubeMX now has support for FreeRTOS, it does not appear to recognise the FreeRTOS support (https://www.freertos.org/Security/04-FreeRTOS-MPU-memory-protection-unit) for the Cortex-M33 MPU:
It also does not include mpu_wrappers.c, which means I cannot enable configENABLE_MPU in FreeRTOSConfig.h manually without also copying this from the canonical FreeRTOS kernel release.
I have, in fact, manually imported mpu_wrappers.c and turned on configENABLE_MPU. Everything appears to work quite nicely.
Why is this option not supported?
What, if any, dragons have I unearthed by turning it on?
If the there are no dragons, then clearly this is an oversight and should be included in later releases. It adds a frustrating extra step to upgrading FreeRTOS versions with CubeMX.
2024-09-06 06:42 AM
Hello @BCowp.1 ,
Thank you for your feedback
I've reported this request to the CubeMX team ( Internal Ticket: Ticket 190405). I'll keep you updated if there are any updates
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.