[Microbit-Python] Minimal MP-to-hex tool

Nicholas H.Tollervey ntoll at ntoll.org
Wed Apr 20 05:58:25 EDT 2016


Hi Coryan,

The uflash tool already does this. :-)

https://uflash.readthedocs.org/en/latest/

It's what Mu uses and is also a stand-alone tool.

N.


On 20/04/16 10:47, Coryan W-S wrote:
> Hi all,
> 
> I've put together a stripped-down Python script that'll take your
> MicroPython and convert it into a hex file suitable for flashing a
> Micro:Bit. You can run it right from the command line, or import its
> class interface if you want to set up some sort of automated build
> script. It also converts hex files back into their original MicroPython.
> 
> Hope it might be of help to somebody - you can find it here:
> https://github.com/coryanws/MicroLite
> 
> Best,
>  - Coryan
> 
> 
> _______________________________________________
> Microbit mailing list
> Microbit at python.org
> https://mail.python.org/mailman/listinfo/microbit
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/microbit/attachments/20160420/c069e425/attachment.sig>


More information about the Microbit mailing list