uf2
uf2 copied to clipboard
converting .bin file to .UF2
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.
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
- 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
I updated the Python implementation in another package that's available on PyPI (see: https://github.com/microsoft/uf2/issues/42#issuecomment-1551077808), as another option.