#!/bin/bash DIR="target/thumbv7em-none-eabihf/release" cargo objcopy --release -- -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