Skip to main content
godlyblade
Associate II
Dec 6, 2019 3:12 PM UTC
Solved

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

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.
godlyblade
godlybladeBest answer
Associate II
Dec 7, 2019 9:39 AM UTC

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
Dec 7, 2019 9:39 AM UTC

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