Burn.sh 236 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 #!/bin/sh #make the hex file make all #erase the memory sudo dfu-programmer atmega16u2 erase #rewrite the ROM sudo dfu-programmer atmega16u2 flash USB_gadget.hex #reset sudo dfu-programmer atmega16u2 reset #clean repository make clean