docs : arduino_101 : build steps are incorrect

The build steps as they are written imply that you will always need to
source the zephyr-env.sh file before flashing.  This is not the case.

Change-Id: I2cffd5ee4b190dee8304f1843727926c7467f5ed
Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
This commit is contained in:
Dan Kalowsky 2016-02-12 16:54:07 -08:00 committed by Anas Nashif
commit 8b10ed80cd

View file

@ -248,8 +248,12 @@ checkout copy of Zephyr, and run:
$ source ./zephyr-env.sh $ source ./zephyr-env.sh
$ cd $ZEPHYR_BASE/samples/hello_world/nanokernel $ cd $ZEPHYR_BASE/samples/hello_world/nanokernel
$ make pristine && make BOARD=arduino_101_sss ARCH=arc $ make pristine && make BOARD=arduino_101_sss ARCH=arc
# Once the image has been built, flash it with:
.. code-block:: console
$ make BOARD=arduino_101_sss flash $ make BOARD=arduino_101_sss flash
.. note:: .. note::
@ -264,13 +268,19 @@ processor.
Flashing an x86 Kernel Flashing an x86 Kernel
====================== ======================
# Make sure the binary image has been built. # Make sure the binary image has been built. Change directories to your local
checkout copy of Zephyr, and run:
.. code-block:: console .. code-block:: console
$ source ./zephyr-env.sh $ source ./zephyr-env.sh
$ cd $ZEPHYR_BASE/samples/hello_world/nanokernel $ cd $ZEPHYR_BASE/samples/hello_world/nanokernel
$ make pristine && make BOARD=arduino_101 ARCH=x86 $ make pristine && make BOARD=arduino_101 ARCH=x86
# Once the image has been built, flash it with:
.. code-block:: console
$ make BOARD=arduino_101 flash $ make BOARD=arduino_101 flash
.. note:: .. note::