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

facing problem in integrating ble_app_buttonless_dfu service in ble_app_blinky example

hi,

i am trying to integrate nRF SDK 15.3's  ble_app_buttonless_dfu service in ble_app_blinky example,

after adding all source files and and preprocessor definitions while compiling i am facing error in sdk_config.h file 

where "#define BLE_ADV_SOC_OBSERVER_PRIO 1" is defined and error is "expected ')' before numeric constant".

but when i added ble_app_buttonless_dfu in "ble_app_uart" i am not getting this error.

please help me with this i am planing to use it on my other project where i have used "ble_app_blinky" as base code.

please help,

thank you.

Parents Reply
  • Hi Sigurd,

    Thanks for the solution. I was facing the same issue.

    Can you give some insight as why this is happening just in case it occurred in the future in a different scenario? In the absence of a header file, errors such as  "unknown type name", "undefined ref", etc. are thrown not "expected ')' before numeric constant". Why would adding 

    #include "nrf_sdh_soc.h"
    resolve the error "expected ')' before numeric constant"?

Children
No Data
Related