abcminiuser / lufa

LUFA - the Lightweight USB Framework for AVRs.
http://www.lufa-lib.org
1.04k stars 325 forks source link

Make CDC Bootloader Arduino compatible #86

Open NicoHood opened 8 years ago

NicoHood commented 8 years ago

Fixes #42

Reset mechanism works like this: https://github.com/NicoHood/HoodLoader2/wiki/How-to-use-reset

Arduino will also use this new mechanism in the caternia2 bootloader: https://github.com/facchinm/Arduino_avrusb_firmware/blob/master/Caterina2/Caterina2.c

I'd also like to include this fix, but I am not sure if it is correct. I think a prescaler is not required: https://github.com/abcminiuser/lufa/commit/4a09da20989dfe0c41dc1272fa6dce1e11539c15#commitcomment-17570839