Skip to content

Commit

Permalink
doc: clean up blank lines in getting started docs
Browse files Browse the repository at this point in the history
code blocks had unnecessary blank lines

Change-Id: I7fae271db0e7e975d717ccf7b0f7b686251405c0
Signed-off-by: David B. Kinder <[email protected]>
  • Loading branch information
dbkinder committed Mar 27, 2017
1 parent 5c642e8 commit 9d0c020
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 29 deletions.
11 changes: 0 additions & 11 deletions doc/getting_started/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ To build an example application follow these steps:
.. code-block:: console
$ export ZEPHYR_GCC_VARIANT=zephyr
$ export ZEPHYR_SDK_INSTALL_DIR=<sdk installation directory>
#. Navigate to the main project directory:
Expand All @@ -90,7 +89,6 @@ To build an example application follow these steps:
.. code-block:: console
$ cd $ZEPHYR_BASE/samples/hello_world
$ make
The above invocation of make will build the :ref:`hello_world` sample application
Expand Down Expand Up @@ -138,7 +136,6 @@ follow the steps below to build with any custom or 3rd party cross-compilers:
.. code-block:: console
$ unset ZEPHYR_GCC_VARIANT
$ unset ZEPHYR_SDK_INSTALL_DIR
#. We will use the `GCC ARM Embedded`_ compiler for this example, download the
Expand All @@ -165,11 +162,8 @@ follow the steps below to build with any custom or 3rd party cross-compilers:
.. 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
The above will build the sample using the toolchain downloaded from
Expand All @@ -180,15 +174,10 @@ Alternatively, you can use the existing support for GCC ARM Embedded:
.. code-block:: console
$ export GCCARMEMB_TOOLCHAIN_PATH="~/gcc-arm-none-eabi-5_3-2016q1/"
$ export ZEPHYR_GCC_VARIANT=gccarmemb
$ cd zephyr-project
$ source zephyr-env.sh
$ cd $ZEPHYR_BASE/samples/hello_world
$ make BOARD=arduino_due
Running a Sample Application in QEMU
Expand Down
2 changes: 0 additions & 2 deletions doc/getting_started/installation_linux.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ Follow these steps to install the SDK on your Linux host system.
.. code-block:: console
$ chmod +x zephyr-sdk-<version>-setup.run
$ ./zephyr-sdk-<version>-setup.run
There is no need for `sudo` if the SDK is installed in the current
Expand All @@ -129,7 +128,6 @@ Follow these steps to install the SDK on your Linux host system.
.. code-block:: console
$ export ZEPHYR_GCC_VARIANT=zephyr
$ export ZEPHYR_SDK_INSTALL_DIR=<sdk installation directory>
To use the same toolchain in new sessions in the future you can set the
Expand Down
17 changes: 1 addition & 16 deletions doc/getting_started/installation_mac.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,9 @@ the brew command line.
.. code-block:: console
$ brew install gettext qemu help2man mpfr gmp coreutils wget python3 dfu-util
$ brew tap homebrew/dupes
$ brew install grep --with-default-names
$ pip3 install ply
.. code-block:: console
$ brew install crosstool-ng
Alternatively you can install the latest version of :program:`crosstool-ng`
Expand All @@ -73,17 +67,11 @@ latest version usually supports the latest released compilers.

.. code-block:: console
$ wget
http://crosstool-ng.org/download/crosstool-ng/crosstool-ng-1.22.0.tar.bz2
$ wget http://crosstool-ng.org/download/crosstool-ng/crosstool-ng-1.22.0.tar.bz2
$ tar xvf crosstool-ng-1.22.0.tar.bz2
$ cd crosstool-ng/
$ ./configure
$ make
$ make install
.. _setting_up_mac_toolchain:
Expand Down Expand Up @@ -117,9 +105,7 @@ When mounted, the file system of the image will be available under
.. code-block:: console
$ cd /Volumes/CrossToolNG
$ mkdir build
$ cd build
Setting the Toolchain Options
Expand Down Expand Up @@ -185,7 +171,6 @@ and use the target location where the toolchain was installed, type:
.. code-block:: console
$ export ZEPHYR_GCC_VARIANT=xtools
$ export XTOOLS_TOOLCHAIN_PATH=/Volumes/CrossToolNG/x-tools
Expand Down

0 comments on commit 9d0c020

Please sign in to comment.