cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX on Linux generates code with DOS line endings?

Brad Dvorsky
Associate
Posted on January 24, 2018 at 22:17

I am running the STM32CubeMX on Linux for the L476 and I am surprised to see that the generated code has DOS line endings. Is this by design or did I screw something up?

2 REPLIES 2
Posted on January 25, 2018 at 08:36

It's java app so it is possible they have the same code and behavior.

Posted on January 25, 2018 at 15:06

Right, I did not realize the line endings were DOS when I first pushed so I may have to tweak my git settings to account for the difference. When I pull, I believe the line endings are all converted to Unix by my client, so when I regenerated the Cube code after pulling and saw that there were 700 changes it was baffling.