Software › MicroPython: Flashing Heart

MicroPython: Flashing Heart

demo Open · freely redistributable

The real MicroPython for BBC micro:bit V2 (version 2.1.1, MIT) — the same runtime the online Python editor ships — booting on the emulated Nordic nRF52833 (Cortex-M4F) and running a short Python program: display.show([Image.HEART, Image.HEART_SMALL], loop=True, delay=350). This is the FULL stock runtime (the codal-microbit-v2 DAL: fibers, system timer, the interrupt-driven LED display driver), not a shim. Its .hex layers the app over the Nordic MBR + S113 SoftDevice; we do NOT ship Nordic's proprietary binary — the 0x0..0x1C000 region is STRIPPED and its SVC ABI is high-level-emulated in JavaScript (microbit-v2-softdevice.js), with the nRF52833 UICR/FICR factory configuration reproduced so the stock boot proceeds. The Python source is CC0; the runtime is MIT. main.py is injected into MicroPython's own flash filesystem with the MIT @microbit/microbit-fs library, the Python editor's own mechanism.

Download ↓

Format: nRF52 flash image (stock MicroPython runtime + main.py in the MicroPython filesystem; SoftDevice HLE'd)  ·  By: MicroPython / Damien George; Lancaster University; script by emulators.org  ·  Licence: MIT (MicroPython + codal-microbit-v2); script CC0

Runs on

Preview

First 512 bytes of file — offset, bytes, ASCII.

00000000  3A 31 30 30 30 30 30 30 30 30 30 30 34 30 30 32  :100000000004002
00000010  30 38 31 30 41 30 30 30 30 31 35 30 37 30 30 30  0810A00001507000
00000020  30 36 31 30 41 30 30 30 30 42 41 0A 3A 31 30 30  0610A0000BA.:100
00000030  30 31 30 30 30 31 46 30 37 30 30 30 30 32 39 30  010001F070000290
00000040  37 30 30 30 30 33 33 30 37 30 30 30 30 30 30 30  7000033070000000
00000050  30 30 30 30 30 35 30 0A 3A 31 30 30 30 32 30 30  0000050.:1000200
00000060  30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30  0000000000000000
00000070  30 30 30 30 30 30 30 30 30 41 35 30 41 30 30 30  000000000A50A000
00000080  30 32 31 0A 3A 31 30 30 30 33 30 30 30 33 44 30  021.:100030003D0
00000090  37 30 30 30 30 30 30 30 30 30 30 30 30 34 37 30  7000000000000470
000000a0  37 30 30 30 30 35 31 30 37 30 30 30 30 44 36 0A  7000051070000D6.
000000b0  3A 31 30 30 30 34 30 30 30 35 42 30 37 30 30 30  :100040005B07000
000000c0  30 36 35 30 37 30 30 30 30 36 46 30 37 30 30 30  0650700006F07000
000000d0  30 37 39 30 37 30 30 30 30 45 43 0A 3A 31 30 30  079070000EC.:100
000000e0  30 35 30 30 30 38 33 30 37 30 30 30 30 38 44 30  05000830700008D0
000000f0  37 30 30 30 30 39 37 30 37 30 30 30 30 41 31 30  7000097070000A10
00000100  37 30 30 30 30 33 43 0A 3A 31 30 30 30 36 30 30  700003C.:1000600
00000110  30 41 42 30 37 30 30 30 30 42 35 30 37 30 30 30  0AB070000B507000
00000120  30 42 46 30 37 30 30 30 30 43 39 30 37 30 30 30  0BF070000C907000
00000130  30 38 43 0A 3A 31 30 30 30 37 30 30 30 44 33 30  08C.:10007000D30
00000140  37 30 30 30 30 44 44 30 37 30 30 30 30 45 37 30  70000DD070000E70
00000150  37 30 30 30 30 46 31 30 37 30 30 30 30 44 43 0A  70000F1070000DC.
00000160  3A 31 30 30 30 38 30 30 30 46 42 30 37 30 30 30  :10008000FB07000
00000170  30 30 35 30 38 30 30 30 30 30 46 30 38 30 30 30  0050800000F08000
00000180  30 31 39 30 38 30 30 30 30 32 39 0A 3A 31 30 30  01908000029.:100
00000190  30 39 30 30 30 32 33 30 38 30 30 30 30 32 44 30  09000230800002D0
000001a0  38 30 30 30 30 33 37 30 38 30 30 30 30 34 31 30  8000037080000410
000001b0  38 30 30 30 30 37 38 0A 3A 31 30 30 30 41 30 30  8000078.:1000A00
000001c0  30 34 42 30 38 30 30 30 30 35 35 30 38 30 30 30  04B0800005508000
000001d0  30 35 46 30 38 30 30 30 30 36 39 30 38 30 30 30  05F0800006908000
000001e0  30 43 38 0A 3A 31 30 30 30 42 30 30 30 37 33 30  0C8.:1000B000730
000001f0  38 30 30 30 30 37 44 30 38 30 30 30 30 38 37 30  800007D080000870
…(1239214 more bytes)