This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Port 3rd party stack

Hi All,

Is there a way to disable currently running Noric BLE stack and port 3rd party BLE stack also enable new stack on PCA10001 (nrf51822 dev kit). We have our own stack which we wish to port on certain platform.

If this is possible please guide me in this.

Thanks in advance , Satish

Parents
  • The Nordic BLE stack is just the softdevice. If you don't load a softdevice, there's no BLE stack. So it's trivial, don't load a softdevice, build a standalone app linking your own ported stack, put it on the chip. That's all there is to it.

    PS 'trivial' here means if you've ported the stack and have code which uses that stack, it's trivial to build an application which runs your stack, the job of porting a stack over, that's not trivial.

  • well that rather depends on the thing you're trying to port. If it's a library which you build and link application code to and run then just do that, build an application with the library in it and run it. The way Nordic's softdevice works, via SVC calls, is just how they chose to implement it, if you have a library you want to port, then that already has a calling convention, a way of building and being used by an application, so use that and don't really concern yourself with how Nordic's works as you're not going to use it.

Reply
  • well that rather depends on the thing you're trying to port. If it's a library which you build and link application code to and run then just do that, build an application with the library in it and run it. The way Nordic's softdevice works, via SVC calls, is just how they chose to implement it, if you have a library you want to port, then that already has a calling convention, a way of building and being used by an application, so use that and don't really concern yourself with how Nordic's works as you're not going to use it.

Children
No Data
Related