2025-03-19 2:39 AM
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()).
2025-03-19 4:19 AM
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.
2025-03-19 4:46 AM
repository, editors, every Linux script interprets this as a double new-line, etc.
please use commonly known standards