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

Is there a getting started from scratch guide for the S132 Softdevice?

I'm trying to create a project from scratch that can use the S132 Softdevice, but I am constantly running into problems trying to get the correct headers, preprocessor macros, c files, etc.

Is there a guide or even just a list of "stuff you need" to use the S132 Softdevice? Starting from one of the samples is NOT an option.

Parents
  • Hi Curtis,

    I am afraid that we do not have a guide or list showing the c-files, headers, preprocessor symbols etc needed when creating a project using the S132 SoftDevice as this will vary from application to application.

    Why is using one of our template projects/examples not an option? They show which headers, c-files and pre-processor symbols needed to use the S132 for many different applications. If you dont want to modify one of the templates/examples, then I strongly suggest that you use them as a reference when creating your custom project.

    If you could you provide some details about your use-case, then I can try to point you in the right direction in terms of which files and defines you need to add.

    Best regards

    Bjørn

  • I'm using the experimental_ble_app_blinky as a starting point to getting my own BLE app up and rolling, but I can't find things that I expected to find. For example, I cannot locate where the Nordic LED Button Service is located, and I can't find any GCC invocation in the Makefile. Also, in the Makefile, it looks like there's a mix of GCC compiler flags (-Wall, -Werror, etc), and Nordic specific preprocessor macros (NRF52, BOARD_PCA10040, etc) all mixed in under CFLAGS. I've been able to change the Device Name, but that's it.

    Basically, I'm running across things that I'm not expecting, like all of the NRF52_PAN_XX flags in the Makefile, and not finding things I'm expecting, like the definitions for the Nordic LED Button Service, and where that service is initialized in main. I'm trying to understand how everything ties together...

Reply
  • I'm using the experimental_ble_app_blinky as a starting point to getting my own BLE app up and rolling, but I can't find things that I expected to find. For example, I cannot locate where the Nordic LED Button Service is located, and I can't find any GCC invocation in the Makefile. Also, in the Makefile, it looks like there's a mix of GCC compiler flags (-Wall, -Werror, etc), and Nordic specific preprocessor macros (NRF52, BOARD_PCA10040, etc) all mixed in under CFLAGS. I've been able to change the Device Name, but that's it.

    Basically, I'm running across things that I'm not expecting, like all of the NRF52_PAN_XX flags in the Makefile, and not finding things I'm expecting, like the definitions for the Nordic LED Button Service, and where that service is initialized in main. I'm trying to understand how everything ties together...

Children
No Data
Related