Skip to main content
AZver.2
Associate II
Jun 15, 2020 1:51 PM UTC
Question

STM32CubeMX Version 5.6.1, project for STM32F407VGT6. Generate code for IAR v7.50. When compiling, it gives errors to the file "mpu_armv7.h".

The project has not changed anything. If you comment __MPU_PRESENT in the file ", then all OK. Where in CubeMX you can configure options MPU (enable, disable)?

This topic has been closed for replies.

4 replies

Khouloud ZEMMELI
ST Employee
Jun 15, 2020 2:57 PM UTC

​Hello @AZver.2​ 

Could you please share you ioc file?

Thanks

Khouloud

AZver.2
AZver.2Author
Associate II
Jun 16, 2020 6:55 AM UTC
Khouloud ZEMMELI
ST Employee
Jun 16, 2020 3:43 PM UTC

​Thanks for your feedback, it will be internally checked

Regards,

Khouloud

Khouloud ZEMMELI
ST Employee
Sep 22, 2020 9:45 AM UTC

After check:

Can you try with 6.0.0 version. In your project it's not a good idea to add the Device startup component as it has been generated by CubeMX.

If you want to use the ARM CMSIS Pack, you need to take care of which components you want to use.

CMSIS Pack conflicts with CMSIS files coming with STM32 MCU package.