Enable MPU on NUCLEO-G474RE project
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.
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.
Hello
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
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.