Skip to content

balena-io-experimental/micro-bit

Repository files navigation

microbit

edge-node-manager compatible firmware for the micro:bit

Getting started

  • Ensure you have Docker installed on your local machine and the daemon is running
  • Sign up on resin.io
  • Work through the getting started guide
  • Create a dependent application called microbit
  • Set these variables in the Fleet Configuration dependent application side tab
    • RESIN_SUPERVISOR_DELTA=1
    • RESIN_HOST_TYPE=microbit
  • Clone this repository to your local workspace
  • Add the dependent application resin remote to your local workspace
  • Retrieve the dependent application ID from the Dependent Applications page on the Resin dashboard
  • Change line 3 in source/main.cpp #define APP_ID 1234567890 to point to your dependent application ID e.g. #define APP_ID 540116
  • Run the provisioning script $ ./provision.sh, this will generate the initial firmware micro-bit-combined.hex
  • Connect the micro:bit to your computer using a USB cable
  • Copy micro-bit-combined.hex to your micro:bit
  • Push code to resin as normal :)