2017-11-02 08:28 AM
Hello,
after upgrading CubeMX to version 4.0 on linux I noticed a bug in the generation of ./Makefile. The '# paths' section includes *.c files next to the directories and the '# sources' section includes some files twice. You can find an example makefile at
. This leads to compile time errors likebuild/stm32f1xx_hal_timebase_TIM.o: In function `HAL_InitTick':
~/workspace/test107/Src/stm32f1xx_hal_timebase_TIM.c:79: multiple definition of `HAL_InitTick'
�?�?�?�?�?
Please have a look if you can recreate this.
Kind regards,
Ludwig
#bug-report2018-04-29 03:56 PM
Has this issue been resolved?
We are having a weird situation where one CubeMX installation generates correct Makefile files but another generates files as described in this issue. According to the About screen, we are running the same version.
Thoughts?
2018-04-29 05:58 PM
I ended up removing the files from the build as I don't need them for my current project. I will investigate this issue further and will post my results if I have any luck
2018-05-04 10:34 AM
It appears that the problem is board specific. Generating the make file
for the F4 discovery is a problem. Other configurations work just fine.
On Sun, Apr 29, 2018, 3:59 PM Cameron Moore <st-microelectronics@jiveon.com>
2018-06-04 01:02 AM
Hello
Horsthemke.Ludwig
,
Issue is fixed in CubeMX 4.0 (will be available this week).
Regards,
Houda