EIE4-FYP/demo.sh

7 lines
355 B
Bash
Raw Normal View History

#!/bin/bash
set -e
rm -f demo/*.o demo/*.d demo/demo.bin demo/demo.elf demo/demo.elf.map
python3 demo/demo.py --build-path build/gsd_orangecrab/ --with-cxx
rm -f /mnt/c/Users/suple/Desktop/dfu-util-0.9-win64/gsd.bin && echo "Deleted old Win11 BIN"
mv demo.bin /mnt/c/Users/suple/Desktop/dfu-util-0.9-win64/gsd.bin && echo "Moved new BIN to Win11 Desktop"