cancel
Showing results for 
Search instead for 
Did you mean: 

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".

AZver.2
Associate II

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)?

4 REPLIES 4
Khouloud ZEMMELI
ST Employee

​Hello @AZver.2​ 

Could you please share you ioc file?

Thanks

Khouloud

AZver.2
Associate II

Hello

​Thanks for your feedback, it will be internally checked

Regards,

Khouloud

Khouloud ZEMMELI
ST Employee

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.