summaryrefslogtreecommitdiff
path: root/fix-stm32cubemx-files
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2017-05-27 10:55:23 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2017-05-27 11:01:19 +0200
commita819d3cbddbb5294b98b2fd6590f9fff13491d85 (patch)
treea529b8260f7f8a8d589de3f4dcdb278fea08ab25 /fix-stm32cubemx-files
parent46b7f97720293e098fa26eb5269b481c45819deb (diff)
downloadradio-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-xfix-stm32cubemx-files15
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