Hi, I've been working on a project to make an open source mouse pcb which it mostly is, including the code. You can view it at the link below if interested. since i can't solder smt i hired a guy to assemble the pcb, but he hasn't got back to me after a bereavement. So then I paid for the jlcpcb assembly service and since i'm a linux user decided to change the standard atmel FLIP. I flashed the atmega32u4 successfully over isp with the atmel-dfu bootloader according to the qmk mech keyboards repo instructions. with the halfkay bootloader, the firmware takes up 26% of the flash, so even with a larger bootloader it should be okay I hope. anyway since i'm an elderly script kiddie I don't know how to generate a makefile supporting atmel-dfu. normally i'd just copy a makefile from another project, but all i've found are based around qmk, which is very abstracted and not easy usable.
as an alternative I could flash the firmware over isp, but i don't want to do that every time, and the existing button code to jump to the bootloader will not function due to the different bootloader size.
https://www.overclock.net/forum/...
code is here:
https://www.overclock.net/forum/...
so ideally i'd like someone to point me to a makefile for atmel-dfu that would be compatible with this code. I've tried modifying makefiles in the past, but my text editor seems to screw them up if I do too much.