Optiboot / optiboot

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

optiboot_x: doesn't pass restart cause info to application #292

Open WestfW opened 4 years ago

WestfW commented 4 years ago

We went to some efforts to have optiboot leave as much of the restart cause (MCUSR) untouched as possible in optiboot. But the Mega-0 and "Xtiny" architectures do things differently, and the code currently does not make any such efforts.

(we're not entirely sure it's possible to do as well as normal optiboot, but we CAN do better.)

mcuee commented 1 year ago

Somehow the new MCUSR is called RSTCTRL.