Optiboot / optiboot

Small and Fast Bootloader for Arduino and other Atmel AVR chips
Other
1.08k stars 396 forks source link

Add support for AVR-USB-MCU-families ATmegaXYu2/4/6 and AT90USBXYZ6/7 eg. Arduino Uno USB-MCU / Micro #326

Closed Virtual-Java closed 2 years ago

Virtual-Java commented 2 years ago

Extended Optiboot functionality to support ten AVR-USB-MCUs:

The Makefile.usbmcus written by me supports the following parameters:

Additionaly I adopted the automakefile created by MCUdude https://github.com/MCUdude to compile all USB-MCUs with selected parameters.

Note: All testing was done with gcc version 5.4. Optiboot for usb-mcus was compiled for and uploaded to Arduino Micro (ATmega32u4) by me only. Other versions haven't been tested so far, but should work too, since the microcontrollers are very similar.

Furthermore I resolved the issues regarding to atmega32u4 support mentioned in #132. THANKS to dmjlambert https://github.com/dmjlambert for contributing his working atmega32u4 variant Although it was based on an old version of optiboot from 2015, it was very helpful in creating and extending optiboot to support all 8-bit AVR-USB-MCUs.