2026-04-30 3:44 PM
The data sheet for the G474RE says it has a Memory Protection Unit. The article on how to enable/configure it in STM32CubeMX shows a CORTEX_M# node under "System Core". I don't see that node. Thank you.
Solved! Go to Solution.
2026-05-04 1:27 AM
Hello @Eric_S0
Let me thank you for posting and welcome to the ST Community.
Although the STM32G474RE (Cortex-M4) includes a Memory Protection Unit (MPU) at the hardware level, STM32CubeMX does not provide a graphical configuration node (CORTEX_Mx / MPU) for this series under
System Core.
However, the MPU can be fully used by configuring it manually in the application code, using CMSIS or HAL functions (HAL_MPU_ConfigRegion, HAL_MPU_Enable).
Thanks.
Mahmoud
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.
2026-05-04 1:27 AM
Hello @Eric_S0
Let me thank you for posting and welcome to the ST Community.
Although the STM32G474RE (Cortex-M4) includes a Memory Protection Unit (MPU) at the hardware level, STM32CubeMX does not provide a graphical configuration node (CORTEX_Mx / MPU) for this series under
System Core.
However, the MPU can be fully used by configuring it manually in the application code, using CMSIS or HAL functions (HAL_MPU_ConfigRegion, HAL_MPU_Enable).
Thanks.
Mahmoud
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.