Build instructions
I try to keep up with the latest Arduino IDE releases. These notes was updated when 1.6.5 was current.
Check out this repository under your sketchbook (normally ~/Arduino).
Check out the BLE library from Nordic:
cd ~/sketchbook
git clone https://github.com/cheong2k/ble-sdk-arduino libraries/BLE
HEAD was revision 577a652c4250b0494a826d7b2c0a2d165e2f5d42
at the time of writing.
Check out the RedBearLab hardware library
cd ~/sketchbook
git clone https://github.com/RedBearLab/Blend
ln -s Blend/Arduino/hardware/blend hardware/blend
HEAD was revision 1f06450c95dc4ddb4499a07d84618f8362d5a74b
at the time of writing.