Uf2loader support for UF2 files with 'holes' in them

@pelrun, @cathiele has developed a version of uf2loader that supports UF2 files with ‘holes’ in them, like those generated for zeptoforth. Could @cathiele’s changes to uf2loader be adopted as part of the stock UF2 loader, so a special version of uf2loader is not needed for use with zeptoforth?

This would be of great use for updating zeptoforth to support uf2loader, as it would avoid the need for a special uf2loader or UF2 files with large ranges of filler bytes in them. Then the specializations of zeptoforth to support uf2loader would just be reducing the size of the ‘blocks’ storage to leave room for uf2loader. (Updating the zeptoforth flash driver to support partitions would not require special builds in and of itself.)

Looking at it is on my todo list, I just haven’t had time, energy (or even access to a PC) for over a week. Not exactly the best environment to do code review :face_with_spiral_eyes:

1 Like