Files @ f1a2d85da29b
Branch filter:

Location: therm/flash.sh

Ethan Zonca
Bootloader is now the top menu item, and menu defaults to second item. System resets on flash erase.
#!/bin/bash
#cd build
#st-flash write main.bin 0x8000000
#cd ..


# USB DFU:
dfu-util -a 0 -d 0483:df11 -s 0x08000000:leave -D build/main.bin 
sleep 2
dfu-util -a 1 -s 0x1FFFF800:8 -D optbytes.dat