Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 14 lines (14 sloc) 346 Bytes
for mcu in `grep 'MCU =' Makefile | cut -f 3 -d ' '`
do echo ============= $mcu ==============
cat Makefile |
perl -pe '
s/^MCU = /#MCU = /;
s/^#(MCU = '$mcu')/$1/;
' > /tmp/txtzyme_makefile
# head -60 /tmp/txtzyme_makefile
make clean
make -f /tmp/txtzyme_makefile
mv txtzyme.hex hex/$mcu.hex
done
make clean
rm /tmp/txtzyme_makefile