Skip to content

Commit b4538ff

Browse files
committed
doc: Update installation instructions for Zephyr SDK 0.16.0
This commit updates the Zephyr SDK installation instructions for the Zephyr SDK 0.16.0 release. Note that the distribution bundle archive format has been changed from `tar.gz` to `tar.xz` for Linux and macOS, and from `zip` to `7z` for Windows. Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent 5797fbc commit b4538ff

File tree

3 files changed

+44
-44
lines changed

3 files changed

+44
-44
lines changed

doc/develop/getting_started/index.rst

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ The current minimum required version for the main dependencies are:
166166
.. code-block:: console
167167
168168
choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System'
169-
choco install ninja gperf python git dtc-msys2 wget unzip
169+
choco install ninja gperf python git dtc-msys2 wget 7zip
170170
171171
#. Close the window and open a new ``cmd.exe`` window **as a regular user** to continue.
172172

@@ -502,8 +502,8 @@ that are used to emulate, flash and debug Zephyr applications.
502502
.. code-block:: bash
503503
504504
cd ~
505-
wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.15.2/zephyr-sdk-0.15.2_linux-x86_64.tar.gz
506-
wget -O - https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.15.2/sha256.sum | shasum --check --ignore-missing
505+
wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.16.0/zephyr-sdk-0.16.0_linux-x86_64.tar.xz
506+
wget -O - https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.16.0/sha256.sum | shasum --check --ignore-missing
507507
508508
If your host architecture is 64-bit ARM (for example, Raspberry Pi), replace ``x86_64``
509509
with ``aarch64`` in order to download the 64-bit ARM Linux SDK.
@@ -512,7 +512,7 @@ that are used to emulate, flash and debug Zephyr applications.
512512

513513
.. code-block:: bash
514514
515-
tar xvf zephyr-sdk-0.15.2_linux-x86_64.tar.gz
515+
tar xvf zephyr-sdk-0.16.0_linux-x86_64.tar.xz
516516
517517
.. note::
518518
It is recommended to extract the Zephyr SDK bundle at one of the following locations:
@@ -524,15 +524,15 @@ that are used to emulate, flash and debug Zephyr applications.
524524
* ``/opt``
525525
* ``/usr/local``
526526

527-
The Zephyr SDK bundle archive contains the ``zephyr-sdk-0.15.2`` directory and, when
527+
The Zephyr SDK bundle archive contains the ``zephyr-sdk-0.16.0`` directory and, when
528528
extracted under ``$HOME``, the resulting installation path will be
529-
``$HOME/zephyr-sdk-0.15.2``.
529+
``$HOME/zephyr-sdk-0.16.0``.
530530

531531
#. Run the Zephyr SDK bundle setup script:
532532

533533
.. code-block:: bash
534534
535-
cd zephyr-sdk-0.15.2
535+
cd zephyr-sdk-0.16.0
536536
./setup.sh
537537
538538
.. note::
@@ -546,7 +546,7 @@ that are used to emulate, flash and debug Zephyr applications.
546546

547547
.. code-block:: bash
548548
549-
sudo cp ~/zephyr-sdk-0.15.2/sysroots/x86_64-pokysdk-linux/usr/share/openocd/contrib/60-openocd.rules /etc/udev/rules.d
549+
sudo cp ~/zephyr-sdk-0.16.0/sysroots/x86_64-pokysdk-linux/usr/share/openocd/contrib/60-openocd.rules /etc/udev/rules.d
550550
sudo udevadm control --reload
551551
552552
.. group-tab:: macOS
@@ -559,8 +559,8 @@ that are used to emulate, flash and debug Zephyr applications.
559559
.. code-block:: bash
560560
561561
cd ~
562-
wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.15.2/zephyr-sdk-0.15.2_macos-x86_64.tar.gz
563-
wget -O - https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.15.2/sha256.sum | shasum --check --ignore-missing
562+
wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.16.0/zephyr-sdk-0.16.0_macos-x86_64.tar.xz
563+
wget -O - https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.16.0/sha256.sum | shasum --check --ignore-missing
564564
565565
If your host architecture is 64-bit ARM (Apple Silicon, also known as M1), replace
566566
``x86_64`` with ``aarch64`` in order to download the 64-bit ARM macOS SDK.
@@ -569,7 +569,7 @@ that are used to emulate, flash and debug Zephyr applications.
569569

570570
.. code-block:: bash
571571
572-
tar xvf zephyr-sdk-0.15.2_macos-x86_64.tar.gz
572+
tar xvf zephyr-sdk-0.16.0_macos-x86_64.tar.xz
573573
574574
.. note::
575575
It is recommended to extract the Zephyr SDK bundle at one of the following locations:
@@ -581,15 +581,15 @@ that are used to emulate, flash and debug Zephyr applications.
581581
* ``/opt``
582582
* ``/usr/local``
583583

584-
The Zephyr SDK bundle archive contains the ``zephyr-sdk-0.15.2`` directory and, when
584+
The Zephyr SDK bundle archive contains the ``zephyr-sdk-0.16.0`` directory and, when
585585
extracted under ``$HOME``, the resulting installation path will be
586-
``$HOME/zephyr-sdk-0.15.2``.
586+
``$HOME/zephyr-sdk-0.16.0``.
587587

588588
#. Run the Zephyr SDK bundle setup script:
589589

590590
.. code-block:: bash
591591
592-
cd zephyr-sdk-0.15.2
592+
cd zephyr-sdk-0.16.0
593593
./setup.sh
594594
595595
.. note::
@@ -610,29 +610,29 @@ that are used to emulate, flash and debug Zephyr applications.
610610
.. code-block:: console
611611
612612
cd %HOMEPATH%
613-
wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.15.2/zephyr-sdk-0.15.2_windows-x86_64.zip
613+
wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.16.0/zephyr-sdk-0.16.0_windows-x86_64.7z
614614
615615
#. Extract the Zephyr SDK bundle archive:
616616

617617
.. code-block:: console
618618
619-
unzip zephyr-sdk-0.15.2_windows-x86_64.zip
619+
7z x zephyr-sdk-0.16.0_windows-x86_64.7z
620620
621621
.. note::
622622
It is recommended to extract the Zephyr SDK bundle at one of the following locations:
623623

624624
* ``%HOMEPATH%``
625625
* ``%PROGRAMFILES%``
626626

627-
The Zephyr SDK bundle archive contains the ``zephyr-sdk-0.15.2`` directory and, when
627+
The Zephyr SDK bundle archive contains the ``zephyr-sdk-0.16.0`` directory and, when
628628
extracted under ``%HOMEPATH%``, the resulting installation path will be
629-
``%HOMEPATH%\zephyr-sdk-0.15.2``.
629+
``%HOMEPATH%\zephyr-sdk-0.16.0``.
630630

631631
#. Run the Zephyr SDK bundle setup script:
632632

633633
.. code-block:: console
634634
635-
cd zephyr-sdk-0.15.2
635+
cd zephyr-sdk-0.16.0
636636
setup.cmd
637637
638638
.. note::

doc/develop/getting_started/installation_linux.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -232,10 +232,10 @@ Follow these steps to install the Zephyr SDK:
232232

233233
.. code-block:: bash
234234
235-
wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.15.2/zephyr-sdk-0.15.2_linux-x86_64.tar.gz
236-
wget -O - https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.15.2/sha256.sum | shasum --check --ignore-missing
235+
wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.16.0/zephyr-sdk-0.16.0_linux-x86_64.tar.xz
236+
wget -O - https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.16.0/sha256.sum | shasum --check --ignore-missing
237237
238-
You can change ``0.15.2`` to another version if needed; the `Zephyr SDK
238+
You can change ``0.16.0`` to another version if needed; the `Zephyr SDK
239239
Releases`_ page contains all available SDK releases.
240240

241241
If your host architecture is 64-bit ARM (for example, Raspberry Pi), replace
@@ -246,13 +246,13 @@ Follow these steps to install the Zephyr SDK:
246246
.. code-block:: bash
247247
248248
cd <sdk download directory>
249-
tar xvf zephyr-sdk-0.15.2_linux-x86_64.tar.gz
249+
tar xvf zephyr-sdk-0.16.0_linux-x86_64.tar.xz
250250
251251
#. Run the Zephyr SDK bundle setup script:
252252

253253
.. code-block:: bash
254254
255-
cd zephyr-sdk-0.15.2
255+
cd zephyr-sdk-0.16.0
256256
./setup.sh
257257
258258
If this fails, make sure Zephyr's dependencies were installed as described
@@ -271,9 +271,9 @@ If you relocate the SDK directory, you need to re-run the setup script.
271271
* ``/opt``
272272
* ``/usr/local``
273273

274-
The Zephyr SDK bundle archive contains the ``zephyr-sdk-0.15.2`` directory and, when
274+
The Zephyr SDK bundle archive contains the ``zephyr-sdk-0.16.0`` directory and, when
275275
extracted under ``$HOME``, the resulting installation path will be
276-
``$HOME/zephyr-sdk-0.15.2``.
276+
``$HOME/zephyr-sdk-0.16.0``.
277277

278278
If you install the Zephyr SDK outside any of these locations, you must
279279
register the Zephyr SDK in the CMake package registry by running the setup

doc/develop/toolchains/zephyr_sdk.rst

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ Install Zephyr SDK on Linux
6565

6666
.. code-block:: bash
6767
68-
wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.15.2/zephyr-sdk-0.15.2_linux-x86_64.tar.gz
69-
wget -O - https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.15.2/sha256.sum | shasum --check --ignore-missing
68+
wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.16.0/zephyr-sdk-0.16.0_linux-x86_64.tar.xz
69+
wget -O - https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.16.0/sha256.sum | shasum --check --ignore-missing
7070
71-
You can change ``0.15.2`` to another version if needed; the `Zephyr SDK
71+
You can change ``0.16.0`` to another version if needed; the `Zephyr SDK
7272
Releases`_ page contains all available SDK releases.
7373

7474
If your host architecture is 64-bit ARM (for example, Raspberry Pi), replace
@@ -79,13 +79,13 @@ Install Zephyr SDK on Linux
7979
.. code-block:: bash
8080
8181
cd <sdk download directory>
82-
tar xvf zephyr-sdk-0.15.2_linux-x86_64.tar.gz
82+
tar xvf zephyr-sdk-0.16.0_linux-x86_64.tar.xz
8383
8484
#. Run the Zephyr SDK bundle setup script:
8585

8686
.. code-block:: bash
8787
88-
cd zephyr-sdk-0.15.2
88+
cd zephyr-sdk-0.16.0
8989
./setup.sh
9090
9191
If this fails, make sure Zephyr's dependencies were installed as described
@@ -105,9 +105,9 @@ If you relocate the SDK directory, you need to re-run the setup script.
105105
* ``/opt``
106106
* ``/usr/local``
107107

108-
The Zephyr SDK bundle archive contains the ``zephyr-sdk-0.15.2`` directory and, when
108+
The Zephyr SDK bundle archive contains the ``zephyr-sdk-0.16.0`` directory and, when
109109
extracted under ``$HOME``, the resulting installation path will be
110-
``$HOME/zephyr-sdk-0.15.2``.
110+
``$HOME/zephyr-sdk-0.16.0``.
111111

112112
.. _toolchain_zephyr_sdk_install_macos:
113113

@@ -119,8 +119,8 @@ Install Zephyr SDK on macOS
119119
.. code-block:: bash
120120
121121
cd ~
122-
wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.15.2/zephyr-sdk-0.15.2_macos-x86_64.tar.gz
123-
wget -O - https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.15.2/sha256.sum | shasum --check --ignore-missing
122+
wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.16.0/zephyr-sdk-0.16.0_macos-x86_64.tar.xz
123+
wget -O - https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.16.0/sha256.sum | shasum --check --ignore-missing
124124
125125
If your host architecture is 64-bit ARM (Apple Silicon, also known as M1), replace
126126
``x86_64`` with ``aarch64`` in order to download the 64-bit ARM macOS SDK.
@@ -129,7 +129,7 @@ Install Zephyr SDK on macOS
129129

130130
.. code-block:: bash
131131
132-
tar xvf zephyr-sdk-0.15.2_macos-x86_64.tar.gz
132+
tar xvf zephyr-sdk-0.16.0_macos-x86_64.tar.xz
133133
134134
.. note::
135135
It is recommended to extract the Zephyr SDK bundle at one of the following
@@ -142,15 +142,15 @@ Install Zephyr SDK on macOS
142142
* ``/opt``
143143
* ``/usr/local``
144144

145-
The Zephyr SDK bundle archive contains the ``zephyr-sdk-0.15.2`` directory and, when
145+
The Zephyr SDK bundle archive contains the ``zephyr-sdk-0.16.0`` directory and, when
146146
extracted under ``$HOME``, the resulting installation path will be
147-
``$HOME/zephyr-sdk-0.15.2``.
147+
``$HOME/zephyr-sdk-0.16.0``.
148148

149149
#. Run the Zephyr SDK bundle setup script:
150150

151151
.. code-block:: bash
152152
153-
cd zephyr-sdk-0.15.2
153+
cd zephyr-sdk-0.16.0
154154
./setup.sh
155155
156156
.. note::
@@ -171,13 +171,13 @@ Install Zephyr SDK on Windows
171171
.. code-block:: console
172172
173173
cd %HOMEPATH%
174-
wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.15.2/zephyr-sdk-0.15.2_windows-x86_64.zip
174+
wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.16.0/zephyr-sdk-0.16.0_windows-x86_64.7z
175175
176176
#. Extract the Zephyr SDK bundle archive:
177177

178178
.. code-block:: console
179179
180-
unzip zephyr-sdk-0.15.2_windows-x86_64.zip
180+
7z x zephyr-sdk-0.16.0_windows-x86_64.7z
181181
182182
.. note::
183183
It is recommended to extract the Zephyr SDK bundle at one of the following
@@ -186,15 +186,15 @@ Install Zephyr SDK on Windows
186186
* ``%HOMEPATH%``
187187
* ``%PROGRAMFILES%``
188188

189-
The Zephyr SDK bundle archive contains the ``zephyr-sdk-0.15.2`` directory and, when
189+
The Zephyr SDK bundle archive contains the ``zephyr-sdk-0.16.0`` directory and, when
190190
extracted under ``%HOMEPATH%``, the resulting installation path will be
191-
``%HOMEPATH%\zephyr-sdk-0.15.2``.
191+
``%HOMEPATH%\zephyr-sdk-0.16.0``.
192192

193193
#. Run the Zephyr SDK bundle setup script:
194194

195195
.. code-block:: console
196196
197-
cd zephyr-sdk-0.15.2
197+
cd zephyr-sdk-0.16.0
198198
setup.cmd
199199
200200
.. note::

0 commit comments

Comments
 (0)