Here’s how I managed to compile and flash the linked mbed-eddystone code:
- Install Mbed ARM toolchain locally: https://github.com/ARMmbed/mbed-cli
- “git clone” the eddystone repository
- Create new mbed project as instructed above
- Manually copy implementations/mbed/* under new mbed project at root level
- mbed complile -t GCC_ARM -m NRF52_DK
flashing was simple:
nrfjprog --family nrf52 --eraseall
nrfjprog --family nrf52 --program eddystone.hex
nrfjprog --family nrf52 -r
Development shield is required, as the mbed code is compiled with softdevice 2.0 and kickstarter devices have softdevice 3.1.
Beacon starts in connectable configuration mode after reset, led is blinking. Default unlock code is 00112233445566778899AABBCCDDEEFF. The beacon can be configured with nRF Beacon for Eddystone, I didn’t try web-bluetooth based apps.
To restore the RuuviTag afterwards, you need to flash softdevice s132 3.1 and Ruuvi Debug Bootloader,