This is the example repository for the blog post on West workspaces of the "Practical Zephyr" blog series. It's a manifest repository that also contains the application's sources and thus creates a workspace with a "T2 star topology".
Refer to Zephyr's own example workspace application for a more elaborate example.
The following commands show how to build this application, assuming that the Zephyr SDK and host tools are installed:
$ mkdir workspace
$ cd workspace
workspace $ west init -m [email protected]:lmapii/practical-zephyr-manifest-repository.git
workspace $ west update -o=--depth=1 -n
workspace $ west build app --pristine --board nrf52840dk_nrf52840
workspace $ west build app --pristine --board nucleo_f411re
The configured GitHub action also periodically builds the applications using Zephyr's official docker image.
Instead of using "vanilla Zephyr", this repository also contains a dedicated manifest file for the nRF Connect SDK:
$ mkdir workspace
$ cd workspace
workspace $ west init -m [email protected]:lmapii/practical-zephyr-manifest-repository.git --mf west-sdk-nrf.yml
workspace $ west update -o=--depth=1 -n
workspace $ west build app --pristine --board nrf52840dk_nrf52840
Nordic also has their own example application.