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

converting .bin file to .UF2 #57

Open
pblase opened this issue Jul 17, 2021 · 3 comments
Open

converting .bin file to .UF2 #57

pblase opened this issue Jul 17, 2021 · 3 comments

Comments

@pblase
Copy link

pblase commented Jul 17, 2021

Forgive my confusion, but how does this whole thing work? UF2tool isn't a PC executable, it's a c file. I can't run c on a pc to convert a .bin file. Some directions would be greatly appreciated.

@tannewt
Copy link
Collaborator

tannewt commented Jul 20, 2021

In CircuitPython we use uf2conv.py and it's documented here: https://github.com/microsoft/uf2/blob/master/utils/uf2conv.md

One example of our use is here: https://github.com/adafruit/circuitpython/blob/main/ports/atmel-samd/Makefile#L411

@adityathakekar
Copy link

  • I too was facing this issue. Documenting the journey.
  • Check this Arduino repo works great.
  • Uses Make tool UF2-converter
  • Circuit Python is also a great way to implement.
  • Check this guide from Adafruit Circuit python

@vkottler
Copy link

I updated the Python implementation in another package that's available on PyPI (see: #42 (comment)), as another option.

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

No branches or pull requests

4 participants