Skip to main content
manuel239955
Associate II
September 23, 2015
Question

Bug Report: CubeMX Corrupts File Links in OpenSTM32

  • September 23, 2015
  • 2 replies
  • 712 views
Posted on September 23, 2015 at 12:49

Hello,

there seems to be a serious problem with project re-generation with CubeMX.

After regenerating a project, the linked files (for example HAL and configuration files, like main.c) point to the wrong direction;

The file links still has the right name (''adc.c'' for example) but points to/opens a wrong file (for example, all file links generated by CubeMX point to the first file found, like adc.c or startup_stm32f746xx.s. Is this a known bug? This prevents using CubeMX in our projects.

if it matters:

- using a STM32f7 Discovery board

- STM32CubeMX V4.10.0

- settings: .c/.h seperately added in their own pair

- all used libs copied

It does not matter if i unload/delete the project beforehand and reimport it afterwards, the project links are wrong in the regenereated project. It happens especially if you add/remove peripheral in cubeMX, as the file links are getting adjusted then.

if there is no solution, i have to use CubeHAL without CubeMX.

    This topic has been closed for replies.

    2 replies

    stm32cube-t
    ST Employee
    October 9, 2015
    Posted on October 09, 2015 at 14:52

    Dear user,

    we do not reproduce your issue with 4.10 and 4.1 latest release (please see attached file for reference). Can you share your file showing the issue?

    Thank you

    ________________

    Attachments :

    ref.project.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtgT&d=%2Fa%2F0X0000000aVh%2Fme.d.y3Wly2DkGo3434z3ffzi16_4ehgKfYcq70._Vc&asPdf=false
    manuel239955
    Associate II
    October 15, 2015
    Posted on October 15, 2015 at 14:13

    I tried ot reproduce it with a new project. Oddly, i cant, though it happened all the time with another one. Thank you anyway.