diff --git a/fix_stm_linebreak.sh b/fix_stm_linebreak.sh new file mode 100755 index 0000000..f31c953 --- /dev/null +++ b/fix_stm_linebreak.sh @@ -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 {} +