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

.. tab-set::

   .. tab-item:: Install the Zephyr Software Development Kit (SDK)

        * In this program, you are going to learn

        .. panels::
                :container: container pb-4
                :column: col-lg-12 p-2
                :card: shadow

                * How to ?


.. panels::
        :container: container pb-4
        :column: col-lg-12 p-2
        :card: shadow

        Topics in this section,

                * :ref:`Install the Zephyr SDK <zephyr_rpi_step4_0>`

                
.. _zephyr_rpi_step4_0:

.. tab-set::

   .. tab-item:: Install the Zephyr SDK

        * Download and verify the Zephyr SDK bundle

        .. code-block:: c

                $ 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:

        .. code-block:: c

                $ tar xvf zephyr-sdk-0.16.4_linux-x86_64.tar.xz

        * Run the Zephyr SDK bundle setup script:

        .. code-block:: c

                $ cd zephyr-sdk-0.16.4
                $ ./setup.sh

        * Install udev rules, which allow you to flash most Zephyr boards as a regular user:

        .. code-block:: c

                $ 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