doc: Edit the application development common procedures.
Corrected the :envvar: markup. Rewrote the text to be less patronizing. Change-Id: I09ec541ae41ad682106dc73a6e4495216dfa34d3 Signed-off-by: L.S. Cook <leonax.cook@intel.com> Signed-off-by: Rodrigo Caballero <rodrigo.caballero.abraham@intel.com>
This commit is contained in:
parent
08c09978d2
commit
2f99a3183b
1 changed files with 49 additions and 0 deletions
49
doc/application/apps_common_procedures.rst
Normal file
49
doc/application/apps_common_procedures.rst
Normal file
|
@ -0,0 +1,49 @@
|
|||
.. _apps_common_procedures:
|
||||
|
||||
Common Procedures
|
||||
#################
|
||||
|
||||
Instructions that are common to many procedures are provided here
|
||||
and referred to from the procedures that require them.
|
||||
|
||||
Procedures
|
||||
**********
|
||||
|
||||
* `Setting Environment Variables`_
|
||||
|
||||
Setting Environment Variables
|
||||
=============================
|
||||
|
||||
Set environment variables every time you open a terminal console to work on
|
||||
|codename| applications.
|
||||
|
||||
Steps
|
||||
-----
|
||||
|
||||
1. In a shell terminal console, enter an :command:`export` command that is
|
||||
consistent with your toolchain.
|
||||
|
||||
a) For a Yocto toolchain:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ export ZEPHYR_GCC_VARIANT=yocto
|
||||
$ export YOCTO_SDK_INSTALL_DIR=<yocto-installation-path>
|
||||
|
||||
Go to Step 2.
|
||||
|
||||
b) For an Xtools toolchain:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ export ZEPHYR_GCC_VARIANT=xtools
|
||||
$ export XTOOLS_TOOLCHAIN_PATH=/opt/otc_viper/x-tools/
|
||||
$ export QEMU_BIN_PATH=/usr/local/bin
|
||||
|
||||
2. Navigate to the |codename| installation directory and enter:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ source zephyr-env.sh
|
||||
|
||||
To set the environment variable :envvar:`$(ZEPHYR_BASE)`.
|
Loading…
Add table
Add a link
Reference in a new issue