https://github.com/balena-io-experimental/micro-bit
edge-node-manager compatible firmware for the micro:bit
https://github.com/balena-io-experimental/micro-bit
bluetooth-low-energy dfu microbit microcontroller resin
Last synced: 11 months ago
JSON representation
edge-node-manager compatible firmware for the micro:bit
- Host: GitHub
- URL: https://github.com/balena-io-experimental/micro-bit
- Owner: balena-io-experimental
- License: apache-2.0
- Created: 2016-10-18T12:39:57.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-07T13:31:23.000Z (almost 9 years ago)
- Last Synced: 2025-04-30T19:38:13.438Z (about 1 year ago)
- Topics: bluetooth-low-energy, dfu, microbit, microcontroller, resin
- Language: C++
- Size: 8.29 MB
- Stars: 3
- Watchers: 0
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# microbit
edge-node-manager compatible firmware for the micro:bit
### Getting started
- Ensure you have [Docker](https://www.docker.com/) installed on your local machine and the daemon is running
- Sign up on [resin.io](https://dashboard.resin.io/signup)
- Work through the [getting started guide](https://docs.resin.io/raspberrypi3/nodejs/getting-started/)
- 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](application_id.png) page on the Resin dashboard
- Change [line 3](https://github.com/resin-io-projects/micro-bit/blob/master/source/main.cpp#L3) 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 :)