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

DFU + BLE_APP_UART_LIBUARTE How to easily combine the configuration file in "sdk_config.h" and in Project Items?

Hi Nordic Support Team,

I am trying to combine 

..\nRF5_SDK_17.0.2_d674dde\examples\dfu\secure_bootloader\pca10056_s140_ble\ses

and

..\nRF5_SDK_17.0.2_d674dde\examples\ble_peripheral\ble_app_uart\pca10056\s140\ses

together.

I have verified both examples separately to be working, so if I started with "ble_app_uart" examples, to merge them I need to do these steps manually :

1. add the libraries used by the DFU example manually.

2. update the "User Include Directories" under Preprocessor in Project Options.

3. try to build the project, and if it fails because there are some definitions missing, I have to manually trace them back in the "sdk_config.h" from other example projects (in this case : dfu examples) and added those definitions into my target project "sdk_config.h" (eg. ble_app_uart).

I found these steps are quite repetitive and also I might duplicate some configurations or even miss some of the important configurations.

Is there any easier and safer way to merge two configuration files?

Parents Reply Children
No Data
Related