How to revision control user application code in NRF Connect SDK with minimal code space.

While creating a new project in VS Code with NRF Connect SDK, I would like to add the application specific files to my private company git repository. The issue is that I am not completely sure which files are absolutely necessary. I would like to include the necessary files and folders to allow the build environment to pull down the additional zephyr repository files.

In my project the Zephyr folder is 22MB on disc, which I'd like to exclude.

Is there a guide that shows which files and folders can be put in a private Git repo, so that upon cloning to a local folder, that the build environment can pull in the additional necessary files from the zephyr project? This would greatly reduce the size of projects on disc.

Nordic has done such a wonderful job of reducing the effort needed to develop NRF projects in zephyr using VS Code. The tutorials, videos, and guides are invaluable. With the addition of this aspect of software development, those developing in a software development process can continue using their tools and processes without exponential growth in their server memory usage.

Parents Reply Children
Related