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

Segger Studio "Can't find source file" when Build and Debug thread_cli_ftd_uart_pca10056 demo project

Hello,

I'm setting up a dev environment on a new machine. I installed SEGGER Embedded Studio v4.52a and nRF5 SDK v16.0.0 and nRF5 SDK for Thread and Zigbee v4.0.0. For the SDKs I created a folder and extracted them side by side.

I opened the thread_cli_ftd_uart_pca10056 example to test out the setup on a nRF52840-DK. I can build and run the project successfully on the DK.

When I try to Run & Debug the project, SES pops up a bunch of dialogs trying to find files such as cmsis_gcc.h, core_cm4.h, etc in a cmsis folder.

How can I fix this issue? I expected the example projects to work out of the box. I changed no setting in the project and just opened in directly.

Thanks,

Jeremy

  • Hello,

    This happens because some of the pre-compiled libraries include debug symbols that reference source files from the system where the libraries were originally built. It is safe to ignore the warning. Uncheck the "Show this dialog next time" checkbox in the warning message to prevent the warning message from popping up every time you start a new debug session. 

    Best regards,

    Vidar

Related