Skip to main content
godlyblade
Associate II
December 6, 2019
Solved

STM32CubeMX regenerates unchanged header and source files (macOS and Windows)

  • December 6, 2019
  • 1 reply
  • 805 views

I have mentioned, that the STM32CubeMX code generator regenerates header and source files even if there are no changes. This is very annoying, because my version control system always wants to check in the "new" files...

I have mentioned this behavior in the macOS Catalina and the Windows 10 version. After I created a new project, this behavior was gone immediately. But I don't want to recreate all my projects now...

Best regards!

This topic has been closed for replies.
Best answer by godlyblade

Okay this issue seems to be my fault... The cross platform switch results in different line endings (CRLF / LF). I only had to setup my git configs. Topic can be closed!

Best regards

1 reply

godlyblade
godlybladeAuthorBest answer
Associate II
December 7, 2019

Okay this issue seems to be my fault... The cross platform switch results in different line endings (CRLF / LF). I only had to setup my git configs. Topic can be closed!

Best regards