cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX 4.16 bug with MDK V5 projects

Osto
Senior
Posted on September 08, 2016 at 13:00

Hi,

When generating projects for existing MDK V5, the CubeMX produces a second entry for system_stm32f4xx.c in the project/Drivers/CMSIS. This results in linking error because of a lot multiple defined functions.

Best regards,

Osto
4 REPLIES 4
slimen
Senior
Posted on September 08, 2016 at 18:10

Hi,

I cannot reproduce the reported issue using CubeMx 4.16, then using 4.16.1.

Can you please describe clearly (in details) the steps that you have followed.

Regards

Osto
Senior
Posted on September 19, 2016 at 17:35

Hi,

Try to use STM32F407VGT6.

Regards,

Osto

Jeanne Joly
Senior III
Posted on May 05, 2017 at 11:02

Hi

Ostovary.M

,

Yes, there are 2 identical files (one in Src, the other in Drivers\CMSIS\Device\ST\STM32F4xx\Source\Templates).

However, it does not lead to any linking or compilation errors under Keil as you can see below :

0690X00000606cCQAQ.png

If I miss something, don't hesitate to tell me.

BR. Eric

Posted on May 05, 2017 at 11:04

Just for your information, I am using CubeMX 4.20.1.

Don't hesitate to upgrade CubeMX with the latest release.

Eric.