AnsweredAssumed Answered

Bug Report: CubeMX Corrupts File Links in OpenSTM32

Question asked by Cube2 on Sep 23, 2015
Latest reply on Oct 15, 2015 by Cube2
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.

Outcomes