diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2017-05-27 10:55:23 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2017-05-27 11:01:19 +0200 |
commit | a819d3cbddbb5294b98b2fd6590f9fff13491d85 (patch) | |
tree | a529b8260f7f8a8d589de3f4dcdb278fea08ab25 /fix-stm32cubemx-files | |
parent | 46b7f97720293e098fa26eb5269b481c45819deb (diff) | |
download | radio-controller-a819d3cbddbb5294b98b2fd6590f9fff13491d85.tar.gz radio-controller-a819d3cbddbb5294b98b2fd6590f9fff13491d85.tar.bz2 radio-controller-a819d3cbddbb5294b98b2fd6590f9fff13491d85.tar.xz radio-controller-a819d3cbddbb5294b98b2fd6590f9fff13491d85.zip |
o Moving generated code to under bsp/. Renaming to match PCB.
Diffstat (limited to 'fix-stm32cubemx-files')
-rwxr-xr-x | fix-stm32cubemx-files | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/fix-stm32cubemx-files b/fix-stm32cubemx-files deleted file mode 100755 index da25c95..0000000 --- a/fix-stm32cubemx-files +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -find stm32cubemx -type f |while read file -do - cat $file | dos2unix | sed -e 's,[\t ]*$,,g' > $file.tmp - cnt=$(diff $file.tmp $file | wc -l) - - if [[ $cnt -gt 0 ]] - then - echo Fixed $file - mv $file.tmp $file - else - rm $file.tmp - fi -done |