https://config.qmk.fm use dfu-programmer: sudo dfu-programmer atmega32u4 erase sudo dfu-programmer atmega32u4 flash $path_to_hex sudo dfu-programmer reset