| ZephyrInstallation | ||||||
|
Installation Zephyr on kubuntu 24.04Based on https://docs.zephyrproject.org/latest/develop/getting_started/index.html Install dependenciessudo 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 Environmentpython3 -m venv $(pwd)/.venv source .venv/bin/activate Install westpip install west west config --global update.auto-cache ~/.cache/west Get Zephyr Source Codewest 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 allwest update Install Python dependencies using west packageswest packages pip --install Install the sdkwest sdk install ****************************************************************************************** Additional helpersActivate venvPut this file start_zephyr.sh into ~/entwicklung/ides/zephyrproject and make it executable chmod u+x start_zephyr.sh |
|||||