dfu.sh 449 B

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