Giter VIP home page Giter VIP logo

micro-bit's Introduction

microbit

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

Modify firmware

  • Change line 12 in source/main.cpp to point to your dependant application UUID

Compile firmware

  • Ensure you have the dependancies listed in the Dockerfile
  • Set the target $ yt target bbc-microbit-classic-gcc
  • Compile the firmware $ yt build

Flash firmware

  • Compile the firmware
  • Connect the micro:bit to your computer using the USB cable
  • Drag 'n' drop the compiled firmware from /build/bbc-microbit-classic-gcc/source/micro-bit-combined.hex to the mounted micro:bit

Getting started

  • Note: Take a look at the edge-node-manager if you havn't already done so
  • Create a new dependant application called microbit from the Dependant Applications tab accessed from the side bar
  • Add the dependent application resin remote to your local workspace using the useful shortcut in the dashboard UI, for example:
$ git remote add resin [email protected]:gh_josephroberts/microbit.git
  • Retrive the dependent application UUID from the Resin dashboard, for example: If your dependant application URL is https://dashboard.resinstaging.io/apps/13829/devices the UUID is 14495
  • Set the dependent application UUID on line 82 in application/application.go to point to your dependant application, for example: initApplication(14495, board.MICROBIT)
  • Make sure you add, commit and push the change to the edge-node-manager application
  • Add, commit and push the microbit application to your RPi3, for example:
$ git add src/main.c
$ git commit -m "Set the application UUID"
$ git push resin master
  • Turn on your micro:bit dependent device within range of the RPi3 gateway device and watch it appear on the Resin dashboard

micro-bit's People

Contributors

jbaldwinroberts avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.