Skip to main content
AZver.2
Associate II
June 15, 2020
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".

  • June 15, 2020
  • 4 replies
  • 1306 views

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
June 15, 2020

​Hello @AZver.2​ 

Could you please share you ioc file?

Thanks

Khouloud

AZver.2
AZver.2Author
Associate II
June 16, 2020
Khouloud ZEMMELI
ST Employee
June 16, 2020

​Thanks for your feedback, it will be internally checked

Regards,

Khouloud

Khouloud ZEMMELI
ST Employee
September 22, 2020

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.