aboutsummaryrefslogtreecommitdiffstats
path: root/tools/edit_aid/rebalance_prio.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/edit_aid/rebalance_prio.sh')
-rwxr-xr-xtools/edit_aid/rebalance_prio.sh13
1 files changed, 0 insertions, 13 deletions
diff --git a/tools/edit_aid/rebalance_prio.sh b/tools/edit_aid/rebalance_prio.sh
deleted file mode 100755
index c831684b8..000000000
--- a/tools/edit_aid/rebalance_prio.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/bash
-FILES=`find -name 'mcuconf.h'`
-for i in $FILES
-do
- cp $i ${i}_backup
- cat ${i}_backup | \
- sed -e 's/\(#define STM32_I2C_I2C[0-9]_IRQ_PRIORITY\)\([ ]*\)\([0-9]*\)/\1\25/' | \
- sed -e 's/\(#define STM32_I2C_I2C[0-9]_DMA_PRIORITY\)\([ ]*\)\([0-9]*\)/\1\23/' | \
- sed -e 's/\(#define STM32_ADC_IRQ_PRIORITY\)\([ ]*\)\([0-9]*\)/\1\26/' | \
- sed -e 's/\(#define STM32_ADC_ADC[0-9]_IRQ_PRIORITY\)\([ ]*\)\([0-9]*\)/\1\26/' | \
- sed -e 's/\(#define STM32_ADC_ADC[0-9]_DMA_IRQ_PRIORITY\)\([ ]*\)\([0-9]*\)/\1\26/' > $i
- rm ${i}_backup
-done