compile 309 Bytes
Newer Older
1
#!/bin/bash
2

3
mv -n *.dat *.inc *.h Inc/
4 5
[ -f ./build ] && rm ./build
[ -f src/encrypt.c ] && sed -i src/encrypt.c -e "s/\(\s\)init(/\1_init(/g"
6
cp -r /home/sr/PhD/research/lwc/compare/templates/f7/Drivers Drivers/
7 8 9 10 11 12 13 14

make
EXIT_CODE=$?

mv build/f7.bin .
mv build/f7.hex . 
mv build/f7.elf .

Enrico Pozzobon committed
15 16
exit $EXIT_CODE

17 18