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

Segger can't recognize the emPro file that's being opened in the solution. Are there any hardcoded paths somewhere?

Hello


Sorry this is a basic question and I shouldn't be bothering you with this but I have already dealt with a number of issues with Segger so I couldn't resist.

- I have been using ble_app_hrs_freertos_pca10056_s140.emProject for my project except I removed the existing code and replaced it with mine. Now I had to restart my PC and ever since I haven't been able to open the same project. I created a new folder, cloned my project off github into it and tried running...to no avail!

Following is what I see upon selecting the .emPro file into Segger. It looks like there's this path hardcoded somewhere but much to my surprise, it looks for uart_pca10056.emPro which is not even the file I'm trying to open - where is it getting it from?

On a plus side, I was able to load the existing sample from the nRF SDK. Can someone please help clarify the confusion?

Parents
  • Hi 

    Did you put the example in a different folder after you cloned it?

    Many of the paths in the SES project files are relative, and if you put the example in a different folder level they will fail.

    For instance it is fine to move a project from one of the example subfolders to another, but if you move an example up or down a level it won't work. 

    Best regards
    Torbjørn

  • Yes I cloned in a different folder. Where are the paths hardcoded that it looks for when emPro file is opened? 

    I still can't understand how my current project's emPro file seems to be dependent on this X project cause if I remove that, it says it won't open the project since this X project is missing.

  • Hi 

    If you open the emProject file in a text editor you can more easily see all the folders being referenced, and whether or not they are relative or absolute folder references. 

    Are you able to share your emProject file with me so I can have a look at it?

    If you want I can make this case private, in case you don't want to share your project files in a public case. 

    Best regards
    Torbjørn

Reply
  • Hi 

    If you open the emProject file in a text editor you can more easily see all the folders being referenced, and whether or not they are relative or absolute folder references. 

    Are you able to share your emProject file with me so I can have a look at it?

    If you want I can make this case private, in case you don't want to share your project files in a public case. 

    Best regards
    Torbjørn

Children
Related