- #!/bin/bash
- DIR="target/thumbv7em-none-eabihf/release"
- cargo objcopy --release --bin nixie-clock-in-8 -- -O binary $DIR/nixie-clock-in-8.bin
- python2 ./dfu.py -b 0x08000000:$DIR/nixie-clock-in-8.bin -D 0x0483:0xdf11 $DIR/nixie-clock-in-8.dfu
- cargo objcopy --release --bin nixie-clock-in-8-rtic -- -O binary $DIR/nixie-clock-in-8-rtic.bin
- python2 ./dfu.py -b 0x08000000:$DIR/nixie-clock-in-8-rtic.bin -D 0x0483:0xdf11 $DIR/nixie-clock-in-8-rtic.dfu
|