keyboardio / attiny_i2c_bootloader

An I2C bootloader for ATTiny devices based on AVR112.
16 stars 6 forks source link

Share bootloader keys test between Model 01 and Model 100? #7

Closed tlyu closed 2 years ago

tlyu commented 2 years ago

Should the bootloader possibly share the key checking code between Model 01 and Model 100? It looks like the hardware might be similar enough.

That would allow an immediate application start on the Model 01, and have the added benefit of avoiding repeated firmware flashing if the flasher sketch is accidentally restarted.

Maybe the code size was originally too tight to both do that and the Model 01-specific initialization?

obra commented 2 years ago

The key tests post-date the Model 01. I don't think we're all that likely to push a bootloader update for the Model 01, but it wouldn't be bad to have the feature on that side of things.