Can you guide me or share the link of how to create an application either based on the samples with source code as i see there is no information available at https://docs.jaredwolff.com/nrf9160-sdk-setup-linux.html about how to compile and debug an example with source code rather than with pre compiled binaries.
If you’re basing your code off of one of the samples, you can copy & rename the sample itself. So for instance, if you’re basing it off of the
tracker sample you can copy
nfed/samples/tracker to something like
nfed/samples/myproject. It’s a quick and dirty way to get started especially if you’re playing around.
Otherwise I’d recommend using the Zephyr template I put together a while ago.
Running Zephyr Tools: Init Repo (in VSCode using the Zephyr Tools extension) with
https://github.com/circuitdojo/zephyr-template as the address in the directory of your choice. Once you’re in the project directory you can then change the remote to whatever repository you want to use your project in.
In the terminal in VSCode:
git remote rm origin
git remote add origin https://github.com/youruser/yourproject.git
You’ll obviously have to set up your own repo before adding it as a new remote.
I’ll try to get more details on docs.jaredwolff.com. Stay tuned.