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

nRF52840 BLE_APP_BLINKY app, unable to compilation error

Hi,

I am trying to test ble_app_blinky app. I am using VS Code for the development IDE and while compiling the application using MAKE I am running into Cannot file Source folder and Cannot find Include folder for various files.

My system is Windows 10 and I am using nRFSDK 16.0.0

I am attaching the screenshot for your reference. Please have a look and help me out.

Thank you!

error.jpeg

Parents
  • Hi,

    These errors are due to the makefile not finding the mentioned files.
    The makefile from the Blinkey project is using relative paths, and I suspect that your sparkfun_mini branch might be causing this fault, even though I do not immediately see why this should be the case.
    Have you made any other modifications to the Ble Blinkey SDK example, other than creating the sparkfun_mini directory branch?
    Especially, have you made any modifications to the make file itself? If you have, it would be of great help for the debugging if you could post it here.

    Could you attempt to compile the Blinkey project from the pca10056 path, and let me know if you receive any errors in doing so?

    Best regards,
    Karl

  • One more change, I forgot to mention is this one. Added ifdef for sparkfun board. If this helps.

    --

    Thanks & Regards,

    Hardik

  • Hello Hardik,

    Could you shorten your path lengths, and give this another try?
    Windows 10 has a max path length of 260 characters, which just might cause some problems here.
    Please shorten your path lengths, give this another try, then get back to me with the results.

    If it does not work, do you think you could share the entire project code?
    It would be beneficial for me to see the whole code, in order to properly debug.

    Best regards,
    Karl

Reply Children
Related