Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Identify MakeCode hex files via UICR #7

Open
microbit-carlos opened this issue Feb 27, 2019 · 1 comment
Open

Identify MakeCode hex files via UICR #7

microbit-carlos opened this issue Feb 27, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@microbit-carlos
Copy link
Collaborator

We can check if a hex file is MakeCode by looking at the magic number on the UICR. This can then be used by the Python Editor to inform the user.

@microbit-carlos microbit-carlos added the enhancement New feature or request label Feb 27, 2019
@microbit-carlos
Copy link
Collaborator Author

microbit-carlos commented Jun 16, 2020

As the MakeCode hex files add metadata to RAM after the EoF record the IntelHex library throws an error before microbit-fs is able to run any analysis on the hex file (UICR) data:

There is data after an EOF record at record xxxxx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant