A template for c++ processes living in zephyr userspace
clone this repo into a folder, which will be the root of the project. west will clone the zephyr folder and other modules into this folder. if you dont want west to clutter your workspace, spend a subfolder for your project
my-app/ <-**create this folder in your workspace and execute the clone from here**
├─ user_space_zephyr_template <- **rename this folder to application or whatever fits you best**
├─ zephyr/
├─ modules/
│ ├─ hal_xy
│ ├─ mbedtls
├─ other
its good practice to start with a venv when handling python in a specific context. by using a venv your system python will not be affected by tools you install for zephyr and other app specific tools
python3 -m venv .venv #ubuntu will tell you what dependencies you have to install before it works
activate your venv
source .venv/bin/activate
pip install west
go to the root folder of your app (the one containig this cloned repo) and execute
west init
west update
follow the getting started guide
change to the application folder and run west build