West
Workspace concepts
configuration file
.west/config 配置文件,定义了manifest repository等。
manifest file
west.yml 描述了管理的其他git仓库。可以用manifest.file覆盖。执行west update可以更新所有git仓库。
Built-in commands
west help: 查看支持的命令。west <command> -h: for detailed help.west update -r: sync的时候会rebase local commits.west compare: compare the state of the workspace against the manifest.west diffwest statuswest forall -c <command>: 对所有仓库执行某个shell命令。west grepwest list: 所有project信息。west manifest: 管理manifest文件。
Workspaces
Topologies supported
- star topology, zephyr is the manifest repository
- star topology, a Zephyr application is the manifest repository
- forest topology, freestanding manifest repository
West Manifests
Configuration
- System:
/etc/westconfig - Global:
~/.westconfig - local:
<REPO_DIR>/.west/config
通过west config --system/global/local可以设置。