I have a bunch of
ATMEGA16U2 in my drawer and I need to make a small production of custom boards with Arduino-based firmware.
After a Google search I learn the
ATMEGA16U2 is often hosted on the Arduino boards as USB converter and there some hacks to reprogram it. But this is not my goal... I'm trying to understand how to compile and download the firmware using Arduino IDE and this MCU as target.
I guess (also from this old question) I need to update both the bootloader and the specification of the board.
before reinvent the wheel are you aware of a ready-to-use porting for
ATMEGA16U2? I did a search find nothing relevant
what is the official guide to update the files (bootloader + boards.txt) to support a new MCU? I find forum threads only