Skip to content

Setup instructions

James Geddes edited this page Feb 13, 2023 · 1 revision

Setup notes for the compiler toolchain for the BBC micro:bit

These brief notes are by JG.

  1. QEMU can be installed with homebrew:

    brew install qemu

    I think the command we will need is qemu-system-arm, with some flags.

  2. The GNU compiler collection for ARM is needed for cross-compilation to the ARM Cortex. (The built-in gcc is actually clang.)

    brew install gcc-arm-embedded

    Note that it installs to /Applications/ArmGNUToolchain/. Then, for example, the compiler is arm-none-eabi-gcc. (Which ended up in my path, somehow.)

  3. Mike Spivey's Digital Systems course labs are available from a mercurial repository:

    brew install hg
    hg clone https://spivey.oriel.ox.ac.uk/hg/digisys

Clone this wiki locally