I have some nRF51822 MBED kits and I want to use them for BLE for both peripheral and central roles. I understand that this is possible with the S130 SD and the Nordic SDK (it is apparently not currently possible with mbed's tools). I've read this post which explains how to get up and running with the nRF51 SDK and the mbed board with keil, but I currently can't run keil and was hoping to do it with gcc instead.
I have read this which describes how to use gcc with the nRF51822, but I don't think it works with the mbed boards because it uses Segger's j-link instead of CMSIS-DAP.
I have come across pyOCD, which I understand is an implementation of CMSIS-DAP, and I suspect may hold the solution to my problem. However, I really don't know how to use pyOCD, nor how to put it together with the other parts of the gcc solution to get the whole thing working.
Any guidance would be much appreciated!