You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Hex format: MakeCode no longer stores metadata in micro:bit flash #381
Hex files generated by the MakeCode Editor have embedded meta-data inside the .hex file. This is a JSON encoded blob with various data about the script, and also the source code program. This may be compressed, and it is stored inside the flash memory of the micro:bit (but only if space is available in the flash memory).
I believe MakeCode no longer attemps to save the metadata to the micro:bit flash as it did in earlier versions, and it goes straight into the "other data records" in the Universal Hex file.
Activity
carlosperate commentedon Aug 22, 2022
We could also add a link to https://github.com/Microsoft/pxt/blob/v8.2.6/docs/source-embedding.md
carlosperate commentedon Aug 22, 2022
The link to the Universal Hex spec could be change from the GitHub repo to https://tech.microbit.org/software/spec-universal-hex/.
carlosperate commentedon Aug 22, 2022
Thanks to @maehw for noticing this and also mentioning the MakeCode source embedding info.