2024-04-20 11:14 PM - edited 2024-04-20 11:16 PM
Hello,
I am working on STM32H743VIT6 MCU. when I generate the code, I get MPU_Config(void) function instead of MX_GPIO_init(void) with no GPIO configuration. How can I fix this?
Thank you in advance
Solved! Go to Solution.
2024-04-21 12:54 AM - edited 2024-04-21 12:55 AM
Salam @Afsd24
For this cortex-M7 device, it is recommended to preconfigure the MPU. So, on the last versions of CubeMX when you select this MCU and a few other cortex-M7 MCUs and Click on start project you will receive this message:
Clicking Yes will generate a configuration of the MPU on the function MPU_Config(void). If you don't want, you just have to answer No to this message.
Best Regards.
STTwo-32
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.
2024-04-20 11:22 PM
Hello,
Could you please provide which CubeMx version you are using?
Could you please attach your .ioc file?
2024-04-21 12:06 AM
2024-04-21 12:51 AM
Hi,
(i also use the devEbox H743 board)
so just dont use the MPU , if you dont know how to use :
2024-04-21 12:54 AM - edited 2024-04-21 12:55 AM
Salam @Afsd24
For this cortex-M7 device, it is recommended to preconfigure the MPU. So, on the last versions of CubeMX when you select this MCU and a few other cortex-M7 MCUs and Click on start project you will receive this message:
Clicking Yes will generate a configuration of the MPU on the function MPU_Config(void). If you don't want, you just have to answer No to this message.
Best Regards.
STTwo-32
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.
2024-04-21 01:13 AM
Thank you for your help. it works properly now
2024-04-21 01:14 AM
Salam,
Thank you for your help it works properly now