This section will help you set up the tools and programs needed for developing programs and firmware to flash to the BBC micro:bit using MicroPython.
You will need:
Depending on your operating system, the installation instructions vary. Use the installation scenario that best suits your system.
Yotta will require an ARM mbed account. It will walk you through signing up if you are not registered.
When installing Yotta, make sure you have these components ticked to install.
- mbed serial driver
These steps will cover the basic flavors of Linux and working with the micro:bit and MicroPython. See also the specific sections for Raspberry Pi, Debian/Ubuntu, and Red Hat Fedora/Centos.
Debian and Ubuntu¶
sudo add-apt-repository -y ppa:team-gcc-arm-embedded sudo add-apt-repository -y ppa:pmiller-opensource/ppa sudo apt-get update sudo apt-get install cmake ninja-build gcc-arm-none-eabi srecord libssl-dev pip3 install yotta