edge-node-manager compatible firmware for the nRF51822-DK
- Ensure you have Docker installed on your local machine and the daemon is running
- Ensure you have the nRF5x command line tools installed and in your path
- Sign up on resin.io
- Work through the getting started guide
- Create a dependent application called
nrf51822dk
- Set these variables in the
Fleet Configuration
dependent application side tabRESIN_SUPERVISOR_DELTA=1
RESIN_HOST_TYPE=nrf51822dk
- Clone this repository to your local workspace
- Add the dependent application
resin remote
to your local workspace - Retrieve the dependent application ID from the Resin dashboard, for example: If your dependent application URL is
https://dashboard.staging.io/apps/13829/devices
the ID is14495
- Change line 33 in
source/main.c
#define APP_ID "1234567890"
to point to your dependent application ID e.g.#define APP_ID "14495"
- Connect the nRF51822-DK to your computer using a USB cable
- Run the provisioning script
$ ./provision.sh
, this will generate the initial firmware and flash the nRF51822-DK - Push code to resin as normal :)