Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Basic Project Setup - Where to find information?

I am trying to wrap my head around this whole Zephyr thing. "Highly configurable" usually goes hand in hand with "not very friendly to newbies" and I am 200% overwhelmed.

Toolchain was installed, I can build and flash projects from the `samples` folder (tried peripheral_lbs for now, works fine).

However, I now want to create a custom project. And I cant. I just don't get get it. Im so frustrated. All "getting started" guides everywhere say "ye just run this example project - the end".

What I tried:

- Copy an example project to some folder.

- Try yo build it with west -> no success, cause no west repo.

- west init, west update -> inflates project folders to 2.5 GB cause it downloads all of zephyr again. I already have zephyr downloaded somewhere else.

- build does not work cause it cannot find the toolchain.

How do I tell west to find zephyr and toolchain at specific locations?
How do the sample projects know where to find all the necessary dependencies? Because they are in a subfolder?

Related