跳到正文
cccskills
免费在 GitHub 公开

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.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(7)

  • SKILL.md2.5 KB
  • assets/west_manifest_template.yml305 B
  • references/cmake.md2.2 KB
  • references/kconfig.md1.1 KB
  • references/west.md1.4 KB
  • scripts/find_modules.sh735 B
  • skill-meta.yaml503 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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
  • Key Tools: west init, west update, west manifest --resolve, name-allowlist.

2. Kconfig Configuration

Tune software features and hardware parameters.

  • Reference: kconfig.md
  • Key Tools: west build -t menuconfig, symbol searching (/), help (?).

3. Sysbuild & Multi-Image

Configure complex projects like MCUboot + Application.

  • Reference: cmake.md
  • Key Tools: west build --sysbuild, sysbuild.conf.

4. CMake & Project Structure

Core build logic for applications and modules.

  • Reference: 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 update resolves all manifest projects without errors.
  • west build succeeds for at least one known target board.
  • Required Kconfig symbols are present in build/zephyr/.config.
  • scripts/find_modules.sh reports module names that match the current manifest allow-list.

Automation Tools

  • find_modules.sh: Scan your build/ directory to automatically identify which modules you should add to your manifest's name-allowlist.

Examples & Templates

Resources

  • References:
    • west.md: West commands, manifests, and allow-lists.
    • kconfig.md: Project configuration and menuconfig usage.
    • cmake.md: Sysbuild and CMake API integration.
  • Scripts:
    • find_modules.sh: Automated allow-list discovery utility.
  • Assets:
    • west_manifest_template.yml: Base west manifest template.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Custom board bringup for Zephyr RTOS using Hardware Model v2 (HWMv2). Covers directory structure, board.yml metadata, core configuration files (Kconfig, defconfig, CMake), and revision management. Trigger when creating new board definitions or porting Zephyr to custom hardware.

中文简介正在准备中。当前显示原文说明。

beriberikix/zephyr-agent-skills712026年5月19日 更新

Bluetooth Low Energy (BLE) integration for Zephyr RTOS. Covers GATT Services/Characteristics, GAP advertising, connection parameters, power optimization strategies, and the professional Send-When-Idle design pattern. Trigger when adding BLE connectivity, optimizing battery life for wireless devices, or implementing custom GATT profiles.

中文简介正在准备中。当前显示原文说明。

beriberikix/zephyr-agent-skills712026年5月19日 更新

IP networking fundamentals for Zephyr RTOS. Covers IoT protocol selection (LwM2M, CoAP, MQTT), IP stack configuration and trimming (IPv4/IPv6, UDP/TCP), and professional SDK integration as Zephyr modules using West manifests. Trigger when building cloud-connected applications, optimizing network memory usage, or integrating external cloud SDKs.

中文简介正在准备中。当前显示原文说明。

beriberikix/zephyr-agent-skills712026年5月19日 更新

USB and CAN connectivity for Zephyr RTOS. Covers USB device stack configuration (CDC ACM, HID, MSC), CAN controller integration, and professional USB-to-CAN adapter patterns including buffering and protocol packetization. Trigger when adding USB interfaces, implementing CAN bus communication, or building hardware diagnostic tools.

中文简介正在准备中。当前显示原文说明。

beriberikix/zephyr-agent-skills712026年5月19日 更新

Devicetree management for Zephyr RTOS. Covers syntax, bindings, overlays, Hardware Model v2 (HWMv2), and advanced node/property deletion patterns. Trigger when defining hardware topology, creating overlays, or mapping pins and peripherals.

中文简介正在准备中。当前显示原文说明。

beriberikix/zephyr-agent-skills712026年5月19日 更新

Hardware interfacing and peripheral management for Zephyr RTOS. Covers the sensor subsystem (channels, triggers, fetch/get), pin control (Pinctrl) and multiplexing, GPIO management using Devicetree specs, and SoC-level hardware configurations. Trigger when adding new hardware components, configuring pinmux, or developing sensor-based applications.

中文简介正在准备中。当前显示原文说明。

beriberikix/zephyr-agent-skills712026年5月19日 更新

查看 beriberikix 的全部技能

报告此技能的问题