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

keil differences with or without soft device

Hi

in the SDK 7.1 examples, there are examples about how to use the hardware peripherals, and examples on how to use the BTLE stack, but nothing combined. How do I combine this? What exactly is needed to change in e.g. the Keil target options?

I thought that, for example to use the UART example in combination with the presence of the soft device, just had to add the compiler defines BLE_STACK_SUPPORT_REQD, S110 and SOFTDEVICE_PRESENT, and then adapt the memory areas for Read/Only memory and read/write memory. Or do I also need to change some vector settings or so? Or use other linker files or templates?

Or is there some combined example that I could start from? I just need the bluetooth stack, with a proprietary GATT profile, need to control 1 SPI interface, and need a service routine on 1 single external interrupt pin (like a button interrupt).

Related