doc: Add environment variables to getting_started.rst
Add GCCARMEMB_TOOLCHAIN_PATH and ZEPHYR_GCC_VARIANT to getting_started.rst per ZEP-1027 Change-Id: Ia73697c66562e02a6d93afdac6cc92e327189abe Signed-off-by: Evan Couzens <evanx.couzens@intel.com>
This commit is contained in:
parent
3dc9eb00cf
commit
371e435cae
1 changed files with 5 additions and 2 deletions
|
|
@ -159,11 +159,14 @@ follow the steps below to build with any custom or 3rd party cross-compilers:
|
|||
|
||||
$ source zephyr-env.sh
|
||||
|
||||
#. Build the example project and make sure you supply the CROSS_COMPILE on the
|
||||
command line, enter:
|
||||
#. Build the example project and make sure you supply the CROSS_COMPILE on the command line, enter:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ export GCCARMEMB_TOOLCHAIN_PATH="~/gcc-arm-none-eabi-5_3-2016q1/"
|
||||
|
||||
$ export ZEPHYR_GCC_VARIANT=gccarmemb
|
||||
|
||||
$ cd $ZEPHYR_BASE/samples/hello_world
|
||||
|
||||
$ make CROSS_COMPILE=~/gcc-arm-none-eabi-5_3-2016q1/bin/arm-none-eabi- BOARD=arduino_due
|
||||
|
|
|
|||
Loading…
Reference in a new issue