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

How to move existing nRF9160 Segger project to another directory

I would like to move existing nRF9160 solution created according to nrfConnect Getting Started Guide to another directory under Windows.

Simply moving the folder doesn't work and project cannot be loaded. I've tried replacing all occurrences of old dir string in the new folder using VSCode find and replace, but it dosn't work because invalid paths reappear after Segger starts.

  • Hi

    You'll have to add header files and source code to the directory that the project asks for. To include header files, create a new directory called "include" and add all your header files. Then add your .c files in the "src" directory. This tutorial has a guide on how to create an application/project from scratch if you want to define where these paths are located yourself.

    Best regards,

    Simon