Step 4 : Install the Zephyr Software Development Kit (SDK)

  • In this program, you are going to learn

  • How to ?

Topics in this section,

  • Download and verify the Zephyr SDK bundle

$ cd ~
$ wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.16.4/zephyr-sdk-0.16.4_linux-x86_64.tar.xz
$ wget -O - https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.16.4/sha256.sum | shasum --check --ignore-missing
  • Extract the Zephyr SDK bundle archive:

$ tar xvf zephyr-sdk-0.16.4_linux-x86_64.tar.xz
  • Run the Zephyr SDK bundle setup script:

$ cd zephyr-sdk-0.16.4
$ ./setup.sh
  • Install udev rules, which allow you to flash most Zephyr boards as a regular user:

$ sudo cp ~/zephyr-sdk-0.16.4/sysroots/x86_64-pokysdk-linux/usr/share/openocd/contrib/60-openocd.rules /etc/udev/rules.d
$ sudo udevadm control --reload