build-system
Build system management for Zephyr RTOS. Covers West workspace initialization, manifest management, Sysbuild multi-image builds, Kconfig symbols, and CMake integration. Trigger when setting up workspaces, configuring builds, or troubleshooting build-time errors.
适合你,如果使用 Zephyr RTOS 进行嵌入式开发
/ 通过 npx 安装 校验哈希
npx oh-my-skill add beriberikix/zephyr-agent-skills/build-system/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- beriberikix/zephyr-agent-skills/build-system/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify beriberikix/zephyr-agent-skills/build-system安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
58GitHub stars
~495最小装载
~1.7K含声明引用
~1.8K文本包总量
索引托管
怎么用
商店整理自技能原文 · 版本 ed63cdf · 表述以原文为准它做什么
装上后,Claude 可以管理 Zephyr RTOS 的构建系统,包括 West 工作区初始化、manifest 管理、Sysbuild 多镜像构建、Kconfig 配置和 CMake 集成,并指导构建配置与错误排查。
什么时候触发
当用户询问 Zephyr 构建系统相关问题时触发,比如设置工作区、配置构建或排查构建错误。
装好后可以这样说
将返回初始化命令和步骤
会解释 Sysbuild 和修改 sysbuild.conf
会给出常用的排查步骤和命令
技能原文 SKILL.md
Zephyr Build System
Efficiently manage the complex build and configuration stack of Zephyr RTOS.
Core Workflows
1. West Workspace & Manifests
Manage multi-repo projects and dependency allow-lists.
- Reference: [west.md](references/west.md)
- Key Tools:
west init,west update,west manifest --resolve,name-allowlist.
2. Kconfig Configuration
Tune software features and hardware parameters.
- Reference: [kconfig.md](references/kconfig.md)
- Key Tools:
west build -t menuconfig, symbol searching (/), help (?).
3. Sysbuild & Multi-Image
Configure complex projects like MCUboot + Application.
- Reference: [cmake.md](references/cmake.md)
- Key Tools:
west build --sysbuild,sysbuild.conf.
4. CMake & Project Structure
Core build logic for applications and modules.
- Reference: [cmake.md](references/cmake.md)
- Key Tools:
CMakeLists.txt,zephyr_library(),target_sources().
Quick Start (Workspace + Build)
west init -m <manifest-repo-url> zephyr-workspace cd zephyr-workspace west update west build -b native_sim samples/hello_world
Validation Checklist
- [ ]
west updateresolves all manifest projects without errors. - [ ]
west buildsucceeds for at least one known target board. - [ ] Required Kconfig symbols are present in
build/zephyr/.config. - [ ]
scripts/find_modules.shreports module names that match the current manifest allow-list.
Automation Tools
- [find_modules.sh](scripts/find_modules.sh): Scan your
build/directory to automatically identify which modules you should add to your manifest'sname-allowlist.
Examples & Templates
- [west_manifest_template.yml](assets/west_manifest_template.yml): Minimal starter manifest for west workspaces.
Resources
- [References](references/):
west.md: West commands, manifests, and allow-lists.kconfig.md: Project configuration and menuconfig usage.cmake.md: Sysbuild and CMake API integration.- [Scripts](scripts/):
find_modules.sh: Automated allow-list discovery utility.- [Assets](assets/):
west_manifest_template.yml: Base west manifest template.
按 Apache-2.0 许可原样转载,未经改动 · 在 GitHub 查看 →
评论
登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。
…