ZephyrInstallation  
Suche: 

Kinder

Informatik und Computer

Elektronik

Segeln

Musik

Lego

Kochen

4x4 Wohnmobil

4x4 Wohnmobil V2.0

Bootsanhänger

Andere Basteleien

Linksammlung

Projekte

Merkzettel

Impressum


User
Password

Installation Zephyr on kubuntu 24.04

Based on https://docs.zephyrproject.org/latest/develop/getting_started/index.html

Install dependencies

sudo apt install --no-install-recommends git cmake ninja-build gperf \
 ccache dfu-util device-tree-compiler wget python3-dev python3-venv python3-tk \
 xz-utils file make gcc gcc-multilib g++-multilib libsdl2-dev libmagic1

Create workspace directory

~/entwicklung/workspaces/zephyr43
cd ~/entwicklung/workspaces/zephyr43

Create virtual Environment

python3 -m venv $(pwd)/.venv
source .venv/bin/activate

Install west

pip install west
west config --global update.auto-cache ~/.cache/west

Get Zephyr Source Code

west init -m https://github.com/zephyrproject-rtos/zephyr --mr v4.3-branch

Option A: Install necessary parts, modules, ...

west update cmsis_6 segger hal_stm32 mbedtls

Option B: Install all

west update

Install Python dependencies using west packages

west packages pip --install

Install the sdk

west sdk install
******************************************************************************************

Additional helpers

Activate venv

Put this file start_zephyr.sh into ~/entwicklung/ides/zephyrproject and make it executable

chmod u+x start_zephyr.sh