Skip to content
Permalink
Browse files

doc: fix build command on Windows for VEGAboard

The path was changed during generating Ninja-based build system,
so the path of link script file was wrong when testing the
cross-compiler. Fix it by giving the absolute path for link script.

Signed-off-by: Howard Liu <howardliu7874@hotmail.com>
  • Loading branch information...
howardliu7874 authored and MaureenHelm committed Jun 26, 2019
1 parent 1e29d40 commit f91d8386a3b5c2c8eefba803b1ec41fd0da2d6e7
Showing with 1 addition and 1 deletion.
  1. +1 −1 boards/riscv32/rv32m1_vega/doc/index.rst
@@ -573,7 +573,7 @@ Windows (run this in a ``cmd`` prompt, from the Zephyr directory)::

# Use CMake to generate a Ninja-based build system:
type NUL > empty.ld
cmake -GNinja -DBOARD=rv32m1_vega_ri5cy -DCMAKE_REQUIRED_FLAGS=-Wl,-dT=empty.ld ..
cmake -GNinja -DBOARD=rv32m1_vega_ri5cy -DCMAKE_REQUIRED_FLAGS=-Wl,-dT=%cd%\empty.ld ..

# Build the sample
ninja

0 comments on commit f91d838

Please sign in to comment.
You can’t perform that action at this time.