Compile MicroPython code for Micro Bit locally

ID: compile-micropython-code-for-micro-bit-locally

Compile MicroPython code for Micro Bit locally by Ciro Santilli 37 Updated +Created
To use a prebuilt firmware, you can just use uflash, tested on Ubuntu 22.04:
git clone https://github.com/bbcmicrobit/micropython
cd micropython
git checkout 7fc33d13b31a915cbe90dc5d515c6337b5fa1660
uflash examples/led_dance.py
What that does is:
To build your own firmware see:

New to topics? Read the docs here!