develop/west/index.html · develop/west/index.rst 공식 원문 ↗

Zephyr 3.7.0 · Develop · West

West: Zephyr 메타 도구

West는 Zephyr workspace의 여러 저장소를 관리하고 build·flash·debug 명령을 확장하는 command-line 메타 도구입니다.

Official pathdevelop/west/index.html
Source filedevelop/west/index.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

본문 기준: Zephyr 3.7.0 LTS3 · 이후 유지보수 패치는 별도입니다.

Part 1

요약·해설

West가 해결하는 다중 Git 저장소 관리 문제, extension command, 기본 명령 형식과 15개 하위 문서의 탐색 순서를 소개합니다.

Repositories

manifest 기반 다중 관리

Extensions

build · flash · debug

CLI

west command options args

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 059529BE9D39B3F31B57CA8D10DB53ECAD32928C74DE46D5DAD93B9CA2DC5DA5
.. _west:

West (Zephyr's meta-tool)
#########################

The Zephyr project includes a swiss-army knife command line tool named
``west``\ [#west-name]_. West is developed in its own `repository`_.

West's built-in commands provide a multiple repository management system with
features inspired by Google's Repo tool and Git submodules. West is also
"pluggable": you can write your own west extension commands which add
additional features to west. Zephyr uses this to provide conveniences for
building applications, flashing and debugging them, and more.

Like ``git`` and ``docker``, the top-level ``west`` command takes some common
options, a sub-command to run, and then options and arguments for that
sub-command::

  west [common-opts] <command> [opts] <args>

Since west v0.8, you can also run west like this::

  python3 -m west [common-opts] <command> [opts] <args>

You can run ``west --help`` (or ``west -h`` for short) to get top-level help
for available west commands, and ``west <command> -h`` for detailed help on
each command.

.. toctree::
   :maxdepth: 1

   install.rst
   release-notes.rst
   troubleshooting.rst
   basics.rst
   built-in.rst
   workspaces.rst
   manifest.rst
   config.rst
   extensions.rst
   build-flash-debug.rst
   sign.rst
   zephyr-cmds.rst
   why.rst
   moving-to-west.rst
   without-west.rst

For details on west's Python APIs, see :ref:`west-apis`.

.. rubric:: Footnotes

.. [#west-name]

   Zephyr is an English name for the Latin `Zephyrus
   <https://en.wiktionary.org/wiki/Zephyrus>`_, the ancient Greek god of the
   west wind.

.. _repository:
   https://github.com/zephyrproject-rtos/west

Part 3

한국어 전문 번역

West: Zephyr의 메타 도구

Zephyr project에는 west라는 다목적 command-line 도구가 포함됩니다. West는 Zephyr와 분리된 전용 저장소에서 개발됩니다.

West의 내장 명령은 Google Repo 도구와 Git submodule에서 아이디어를 얻은 다중 저장소 관리 시스템을 제공합니다. 또한 west는 plug-in 방식으로 확장할 수 있어 사용자가 추가 기능을 수행하는 extension command를 작성할 수 있습니다.

Zephyr는 extension을 이용해 application build, board flash, debugger 실행 같은 편의 명령을 제공합니다.

git이나 docker처럼 최상위 west 명령 뒤에 공통 option, 실행할 하위 명령, 그 하위 명령의 option과 argument를 차례로 씁니다.

west [common-opts] <command> [opts] <args>

West v0.8부터는 Python module 형식으로도 실행할 수 있습니다.

python3 -m west [common-opts] <command> [opts] <args>

west --help 또는 짧게 west -h를 실행하면 사용 가능한 west 명령의 최상위 도움말을 볼 수 있습니다. 각 명령의 자세한 도움말은 west <command> -h로 확인합니다.

West 문서 지도

West의 Python API는 별도 West API 문서에서 자세히 설명합니다.

이름의 유래

Zephyr는 서풍의 신을 뜻하는 라틴어 Zephyrus의 영어식 이름입니다. 도구 이름 west는 이 서풍에서 따왔습니다.

Source

출처

영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.