I don’t quite get what you mean about separating out my CMakeLists - my project is my app. Isn’t it?
I’ve pushed the code as it stands here: https://github.com/GeoSpark/DIY-GNSS-v2 if that helps.
I’m not using your VSCode extension, just the Nordic one. Everything has been installed through the NRF Connect Desktop/Toolchain Manager.
The contents of my .west
folder (which lives separately in /home/merseyviking/.local/share/ncs/v2.2.0/
) has just a config
file in it with the contents:
[manifest]
path = nrf
file = west.yml
[zephyr]
base = zephyr
My main motivation for having one central NCS/Zephyr SDK is that I don’t want to have to clone 3.6Gb of SDK every time I create a new project, and on the other hand it seems odd to put your own projects within the SDK folder structure. I suspect I’m thinking of this with the wrong mindset - I am looking at this like I am developing a Linux application: the header files live in /usr/include
, libs in /usr/lib
or wherever, and I create an application in my home directory and tell the toolchain which includes and libs I want to link against in my project.