aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorgdisirio <gdisirio@110e8d01-0319-4d1e-a829-52ad28d1bb01>2018-10-06 08:00:50 +0000
committergdisirio <gdisirio@110e8d01-0319-4d1e-a829-52ad28d1bb01>2018-10-06 08:00:50 +0000
commitb3202ad14163f0f46d224bcde225dec52a45848f (patch)
tree91cc0a14acb1b658d516b8c7cf144f92e941154c /tools
parentaaa6abebeef05bb1e9a69e5c97d42bb373968412 (diff)
downloadChibiOS-b3202ad14163f0f46d224bcde225dec52a45848f.tar.gz
ChibiOS-b3202ad14163f0f46d224bcde225dec52a45848f.tar.bz2
ChibiOS-b3202ad14163f0f46d224bcde225dec52a45848f.zip
Removed old generator.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12335 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'tools')
-rw-r--r--tools/updater/update_mcuconf_stm32f767xx.sh29
1 files changed, 0 insertions, 29 deletions
diff --git a/tools/updater/update_mcuconf_stm32f767xx.sh b/tools/updater/update_mcuconf_stm32f767xx.sh
deleted file mode 100644
index 6fb28199b..000000000
--- a/tools/updater/update_mcuconf_stm32f767xx.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/bash
-if [ $# -eq 2 ]
- then
- if [ $1 = "rootpath" ]
- then
- find $2 -name "mcuconf.h" -exec bash update_mcuconf_stm32f767xx.sh "{}" \;
- else
- echo "Usage: update_mcuconf_stm32f767xx.sh [rootpath <root path>]"
- fi
-elif [ $# -eq 1 ]
-then
- declare conffile=$(<$1)
- if egrep -q "STM32F767_MCUCONF" <<< "$conffile" || egrep -q "STM32F777_MCUCONF" <<< "$conffile"
- then
- echo Processing: $1
- egrep -e "\#define\s+[a-zA-Z0-9_()]*\s+[a-zA-Z0-9_]" <<< "$conffile" | sed -r 's/\#define\s+([a-zA-Z0-9_]*)(\([^)]*\))?\s+/\1=/g' > ./values.txt
- if ! fmpp -q -C conf.fmpp -S ../ftl/processors/conf/mcuconf_stm32f767xx
- then
- echo
- echo "aborted"
- exit 1
- fi
- cp ./mcuconf.h $1
- rm ./mcuconf.h ./values.txt
- fi
-else
- echo "Usage: update_mcuconf_stm32f767xx.sh [rootpath <root path>]"
- echo " update_mcuconf_stm32f767xx.sh <configuration file>]"
-fi