Browse Source

doc: update docs with 0.12.1 SDK

Update documentation with new SDK version.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
pull/31496/head
Anas Nashif 5 years ago
parent
commit
13fdb9e73d
  1. 12
      doc/getting_started/index.rst
  2. 14
      doc/getting_started/installation_linux.rst

12
doc/getting_started/index.rst

@ -292,14 +292,14 @@ to build Zephyr applications. @@ -292,14 +292,14 @@ to build Zephyr applications.
.. code-block:: bash
cd ~
wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.11.4/zephyr-sdk-0.11.4-setup.run
wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.12.1/zephyr-sdk-0.12.1-x86_64-linux-setup.run
#. Run the installer, installing the SDK in :file:`~/zephyr-sdk-0.11.4`:
#. Run the installer, installing the SDK in :file:`~/zephyr-sdk-0.12.1`:
.. code-block:: bash
chmod +x zephyr-sdk-0.11.4-setup.run
./zephyr-sdk-0.11.4-setup.run -- -d ~/zephyr-sdk-0.11.4
chmod +x zephyr-sdk-0.12.1-x86_64-linux-setup.run
./zephyr-sdk-0.12.1-x86_64-linux-setup.run -- -d ~/zephyr-sdk-0.12.1
.. note::
It is recommended to install the Zephyr SDK at one of the following locations:
@ -312,7 +312,7 @@ to build Zephyr applications. @@ -312,7 +312,7 @@ to build Zephyr applications.
* ``/usr/zephyr-sdk[-x.y.z]``
* ``/usr/local/zephyr-sdk[-x.y.z]``
where ``[-x.y.z]`` is optional text, and can be any text, for example ``-0.11.4``.
where ``[-x.y.z]`` is optional text, and can be any text, for example ``-0.12.1``.
If installing the Zephyr SDK outside any of those locations, please read: :ref:`zephyr_sdk`
@ -323,7 +323,7 @@ to build Zephyr applications. @@ -323,7 +323,7 @@ to build Zephyr applications.
.. code-block:: bash
sudo cp ~/zephyr-sdk-0.11.4/sysroots/x86_64-pokysdk-linux/usr/share/openocd/contrib/60-openocd.rules /etc/udev/rules.d
sudo cp ~/zephyr-sdk-0.12.1/sysroots/x86_64-pokysdk-linux/usr/share/openocd/contrib/60-openocd.rules /etc/udev/rules.d
sudo udevadm control --reload
.. group-tab:: macOS

14
doc/getting_started/installation_linux.rst

@ -240,19 +240,19 @@ Follow these steps to install the Zephyr SDK: @@ -240,19 +240,19 @@ Follow these steps to install the Zephyr SDK:
.. code-block:: console
wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.11.3/zephyr-sdk-0.11.3-setup.run
wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.12.1/zephyr-sdk-0.12.1-x86_64-linux-setup.run
(You can change *0.11.3* to another version if needed; the `Zephyr
(You can change *0.12.1* to another version if needed; the `Zephyr
Downloads`_ page contains all available SDK releases.)
#. Run the installation binary, installing the SDK at
:file:`~/zephyr-sdk-0.11.3`:
:file:`~/zephyr-sdk-0.12.1`:
.. code-block:: console
cd <sdk download directory>
chmod +x zephyr-sdk-0.11.3-setup.run
./zephyr-sdk-0.11.3-setup.run -- -d ~/zephyr-sdk-0.11.3
chmod +x zephyr-sdk-0.12.1-x86_64-linux-setup.run
./zephyr-sdk-0.12.1-x86_64-linux-setup.run -- -d ~/zephyr-sdk-0.12.1
You can pick another directory if you want. If this fails, make sure
Zephyr's dependencies were installed as described in `Install Requirements
@ -272,7 +272,7 @@ installed it. @@ -272,7 +272,7 @@ installed it.
* ``/usr/zephyr-sdk[-x.y.z]``
* ``/usr/local/zephyr-sdk[-x.y.z]``
where ``[-x.y.z]`` is optional text, and can be any text, for example ``-0.11.3``.
where ``[-x.y.z]`` is optional text, and can be any text, for example ``-0.12.1``.
If you install the Zephyr SDK outside any of those locations, then it is
required to register the Zephyr SDK in the CMake package registry during
@ -283,7 +283,7 @@ installed it. @@ -283,7 +283,7 @@ installed it.
containing multiple Zephyr SDKs, allowing for automatic toolchain selection,
for example: ``ZEPHYR_SDK_INSTALL_DIR=/company/tools``
* ``/company/tools/zephyr-sdk-0.11.3``
* ``/company/tools/zephyr-sdk-0.12.1``
* ``/company/tools/zephyr-sdk-a.b.c``
* ``/company/tools/zephyr-sdk-x.y.z``

Loading…
Cancel
Save