avrdude -v -p m32u4 -P /dev/ttyACM0 -c avrisp -b 19200 -U flash:w:KeyboardMouse.hex # Flashed using a AVR-T32U4, with this ArduinoISP firmware from arduino: # https://github.com/arduino/Arduino/blob/master/build/shared/examples/11.ArduinoISP/ArduinoISP/ArduinoISP.ino # Some more hints: # http://heliosoph.mit-links.info/arduinoisp-reading-writing-fuses-atmega328p/ # https://forum.arduino.cc/index.php?topic=332158.0 # https://petervanhoyweghen.wordpress.com/2012/09/16/arduinoisp-on-the-leonardo/ # http://electronut.in/bootloader-atmega32u4/