Skip to content

Commit b54f1a9

Browse files
ozhurakinashif
authored andcommitted
doc/getting_started: mention ZEPHYR_TOOLCHAIN_VARIANT=llvm
Mention that host installed clang can be used for native_posix. Signed-off-by: Oleg Zhurakivskyy <[email protected]>
1 parent 2211935 commit b54f1a9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/getting_started/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ Set Up a Toolchain
156156
In some specific configurations like non-MCU x86 targets on Linux,
157157
you may be able to re-use the native development tools provided by
158158
your operating system instead of an SDK by setting
159-
``ZEPHYR_TOOLCHAIN_VARIANT=host``.
159+
``ZEPHYR_TOOLCHAIN_VARIANT=host`` for gcc or
160+
``ZEPHYR_TOOLCHAIN_VARIANT=llvm`` for clang.
160161

161162
If you want, you can use the SDK host tools (such as OpenOCD) with a
162163
different toolchain by keeping the :envvar:`ZEPHYR_SDK_INSTALL_DIR`

0 commit comments

Comments
 (0)