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

What is the best way to merge two existing examples with SEGGER Embedded studio?

Hello,

I was wondering what is the best option/way to merge two functionalities which are developed in different examples of the nRF52 sdk12.2.

For instance, I would be interested on mergin into one project the ble_app_beacon_pca10040s132 and the twi_sensor_pca10040 examples, how can I do it with SEGGER Embedded studio?

I would like to do in the simplest way so that I don't mess up libraries, dependencies and so on

Any suggestions?

Thanks in advance

  • Hi,

    I don’t think there are any specific guidelines on how to do this. I recommend starting with the BLE example, and then add the TWI to the BLE example. Add the relevant project files to the project in SES, add the relevant TWI paths to the “User Include Directories”. Also, configure the sdk_config.h to enable the resources that TWI uses.

Related