Skip to main content
Osto
Senior
September 8, 2016
Question

CubeMX 4.16 bug with MDK V5 projects

  • September 8, 2016
  • 3 replies
  • 745 views
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
    This topic has been closed for replies.

    3 replies

    slimen
    Visitor II
    September 8, 2016
    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
    OstoAuthor
    Senior
    September 19, 2016
    Posted on September 19, 2016 at 17:35

    Hi,

    Try to use STM32F407VGT6.

    Regards,

    Osto

    Jeanne Joly
    Associate
    May 5, 2017
    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

    Jeanne Joly
    Associate
    May 5, 2017
    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.