Hi,
I have lately been studying the article “One chip to flash them all”, the uf2 and uf2-linux bootloader Github repos, to better understand the uf2 file format.
My goal is maybe to embark on a hobby/training programming project to get McAirpos to open MakeCode Arcade uf2 files for the rpi directly, instead of having to download rawElf files.
The greatest benefit, if I understand this correctly, would be that the uf2 files would still contain the MakeCode code and blocks in the file itself, while the rawELFs are stripped of this information(?).
I am also under the impression that the uf2 files have their own included memory area for saved game states and settings, which then can be carried around with the uf2 files, instead of the seperate folders which are created for rawELFs(?).
However, I am just not able to figure out what part of the source code to include and use, just to be able to open the uf2 files and read/run the executables within these files.
Would anyone have an idea if this would be feasible, and could they please point me just a little bit in the right direction and to what part of the uf2 code that would be needed to include/call to make this work?
Any help is greatly appreciated!