Use yotta to build.
Use target bbc-microbit-classic-gcc-nosd:
yt target bbc-microbit-classic-gcc-nosd
Run yotta update to fetch remote assets:
Start the build with either yotta:
…or use the Makefile:
The result is a microbit-micropython hex file (i.e.
found in the build/bbc-microbit-classic-gcc-nosd/source from the root of the
The Makefile does some extra preprocessing of the source, which is needed only
if you add new interned strings to
qstrdefsport.h. The Makefile also puts
the resulting firmware at build/firmware.hex, and includes some convenience
Preparing firmware and a Python program¶