Update Zephyr SDK

Update Zephyr SDK #

There is an active development community behind Zephyr OS. They frequently release updates and patch. We need to keep our own SDK instance updated with these releases.

Commands #

1
2
3
4
5
6
7
8
9
# Go the Workspace
cd ${HOME}/Workspace

# Configure the Environment
source ./env.sh

# West command for update 
# - This would force update all the repositories
west update -f always

This is typically the case since we configured it this way. For more information look at Zephyr OS : Getting Started on Manjaro (Arch Linux) .

Here is a more verbose version:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# Go the Workspace
cd ${HOME}/Workspace

# Configure the Environment
source ${HOME}/Workspace/zephyr/zephyr-env.sh

# Configure the Compiler and Tool-chain
export ZEPHYR_TOOLCHAIN_VARIANT=cross-compile
export CROSS_COMPILE=/usr/bin/arm-none-eabi-

# West command for update 
# - This would force update all the repositories
west update -f always