32blit / 32blit-sdk

32blit SDK
https://32blit.com
MIT License
197 stars 69 forks source link

Minor firmware blit flashing improvements #785

Closed Daft-Freak closed 1 year ago

Daft-Freak commented 2 years ago

First half: fixes some issues with failed flashes. Second half: use file size from headers instead of the actual file size.

A side effect of this is that you can append extra data to the end of a .blit and the flashing code ignores it (at least when loading from the SD card). Previously it would get flashed, but would likely get another .blit flashed on top of it later.

Gadgetoid commented 1 year ago

I should probably prep a release at some point to sweep up all these changes!

Thank you, and sorry for the continued lack of attention here- I think burnout is slowly grinding me down :sob: