add script to fix CRLF newline characters generated by CubeMX and TouchGFX Designer

This commit is contained in:
Leonard Gies 2025-04-11 00:26:51 +02:00
parent 692ac54fe8
commit f7c1838efd
Signed by: l.gies
GPG Key ID: 6F6FB9338EE44F71

6
fix_stm_linebreak.sh Executable file
View File

@ -0,0 +1,6 @@
# CubeMX and TouchGFX Designer generate code using CRLF as newline characters
# this command converts all newline characters from CRLF to LF
BASEDIR=$(dirname "$0")
find "$BASEDIR" -type f -exec dos2unix {} +