Skip to main content Link Search Menu Expand Document (external link)

micro:bit Filesystem

microbit-fs logo

Manipulate files in a micro:bit MicroPython Intel Hex file.

Quick Guide API View it on GitHub


This is the documentation for the micro:bit Filesystem library.

This library can be used to add files with Python code (or any other content) into a MicroPython hex file, ready to be loaded into a micro:bit.

The reverse process is also supported, being able to read the files encoded in the MicroPython filesystem from a hex file.

As part of the micro:bit V2 release this library can also generate Universal Hex files to create a singe hex that can be loaded in any micro:bit board.

  • ⬆️ The header at the top contains a search bar
  • ⬅️ The menu on the left shows you the available documentation pages
  • ⬇️ If you’d like to contribute to the docs there is an edit link at the footer

Other Documentation