From 8b10ed80cd9288bd3e82e1aafd43e35ec33d9653 Mon Sep 17 00:00:00 2001 From: Dan Kalowsky Date: Fri, 12 Feb 2016 16:54:07 -0800 Subject: [PATCH] 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 --- doc/board/arduino_101.rst | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/doc/board/arduino_101.rst b/doc/board/arduino_101.rst index 91fe8334616..01f5d824e14 100644 --- a/doc/board/arduino_101.rst +++ b/doc/board/arduino_101.rst @@ -248,8 +248,12 @@ checkout copy of Zephyr, and run: $ source ./zephyr-env.sh $ cd $ZEPHYR_BASE/samples/hello_world/nanokernel - $ 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 .. note:: @@ -264,14 +268,20 @@ processor. 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 $ source ./zephyr-env.sh $ cd $ZEPHYR_BASE/samples/hello_world/nanokernel $ make pristine && make BOARD=arduino_101 ARCH=x86 - $ make BOARD=arduino_101 flash + +# Once the image has been built, flash it with: + + .. code-block:: console + + $ make BOARD=arduino_101 flash .. note::