doc: getting_started: Windows build doc fixes

Correct 2 items in the Windows Getting Started doc:

 * dtc-msys2 is now an upstream Chocolatey package
 * Add instructions to clone and build Ninja for MSYS2

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
Carles Cufi 2018-02-12 13:55:45 +01:00 committed by Anas Nashif
parent ff22490d56
commit d0c2be7c8a
1 changed files with 12 additions and 3 deletions

View File

@ -59,18 +59,17 @@ packages from their respective websites.
choco feature enable -n allowGlobalConfirmation
#. Install CMake and DTC:
#. Install CMake:
.. code-block:: console
choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System'
choco install dtc-msys2 --version 1.4.4
#. Install the rest of the tools:
.. code-block:: console
choco install git python ninja gperf
choco install git python ninja dtc-msys2 gperf
#. Close the Command Prompt window.
@ -212,6 +211,16 @@ environment for Windows. Follow the steps below to set it up:
pacman -Syu
pacman -S git cmake make gcc dtc diffutils ncurses-devel python3 gperf
#. Compile :program:`Ninja` from source (Ninja is not available as
an MSYS2 package) and install it:
.. code-block:: console
git clone git://github.com/ninja-build/ninja.git && cd ninja
git checkout release
./configure.py --bootstrap
cp ninja.exe /usr/bin/
#. From within the MSYS2 MSYS Shell, clone a copy of the Zephyr source
into your home directory using Git. (Some Zephyr tools require
Unix-style line endings, so we'll configure Git for this repo to