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

Build error when merging projects

I am doing rapid development for a project, using the nRF52840 DK. Two key features are USB and BLE central role.

I started with the usb_cdc_acm project and am merging in ble_app_blinky_c.

I added the following information from ble_app_blinky_c:

  1. Component files
  2. sdk_config.h entries
  3. preprocessor include folders
  4. preprocessor defines

I get build errors. It is complaining that NRF_SUCCESS is undefined, and I determined that there is more than one file named nrf_error.h and they are different!

Do I need to change the directory order in the preprocessor include folder list?

Is there something else I am missing?

Parents Reply
  • Is there something wrong with that example?

    I load it and nothing happens. I rebuild the solution in debug mode, build and debug, and it does not break on main or any statement inside main(). NRF_LOG_INFO() is never executed.

    Other 

    Versions:

    Segger Embedded Studio 4.12, build 

    GNU toolchain 7-2018-q2

    nRF5_SDK_15.2.0_9412b96

    nRF52840 DK with PCA10056 1.1.0/2019.6/683776010

Children
Related