cancel
Showing results for 
Search instead for 
Did you mean: 

bug in CubeMX, all versions

trzeci
Associate II

Code generated by CubeMX use Windows line-endings, which generate huge problems under other operating systems (repository, editors, etc.). You have to strip CR-LFs after every code generation.
Somebody should use standard method of platform-independent text file generation (StringBuffer and System.lineSeparator()).

2 REPLIES 2
TDK
Guru

What are these huge problems that it causes? Why do you need to strip CRLF on every line? Compilers don't have an issue with line endings.

If you feel a post has answered your question, please click "Accept as Solution".
trzeci
Associate II

repository, editors, every Linux script interprets this as a double new-line, etc.

please use commonly known standards