STM32U5 FreeRTOS MPU Support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-23 7: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.
- Labels:
-
STM32CubeMX
-
STM32U5 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-06 6: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-28 6:34 AM
Hi @Sarra.S , do you have an update on this topic / ticket ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-06 6:50 AM
I will keep you updated @clemens!
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.
