Skip to content

Commit

Permalink
doc: fix build command on Windows for VEGAboard
Browse files Browse the repository at this point in the history
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 f91d838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boards/riscv32/rv32m1_vega/doc/index.rst
Expand Up @@ -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
Expand Down

0 comments on commit f91d838

Please sign in to comment.