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

nRF5x Eclipse virtual folders?

We're in the process of standardizing on an Eclipse development environment for the nRF5x series. One debate we are having is whether to use virtual folders or disable "linked resources." Right now, our thinking is that using real folders makes it easier to work with git repositories and share projects. However, I'd like to hear from the experts out there!

Thanks,

Calvin

  • Hi Calvin, I don't have an expert answer on this as I'm only familiar with makefile managed projects. The reason I chose to use linked resources in the tutorial was to keep the SDK file structure instead of copying the source files into the workspace, thus allowing the existing SDK makefiles to be used. The virtual folders are just placeholders to keep the source files organized in the project view.

    You can have version control on the SDK directory, which also includes your project files. You can then distribute the SDK and users can import projects as explained in the tutorial. Examples can also be built from the command line for developers that might prefer that. There doesn’t seem to be any difference between using linked resources and copy everything to the workspace when it comes to version control. Eclipse does detect the git repos for 'linked' projects. Although, I have not used the Git plugins enough to know if there are any limitations.

    image description

Related