跳到正文
cccskills
免费在 GitHub 公开

zephyr-module

Creating and integrating out-of-tree Zephyr modules. Covers module.yml configuration, Kconfig and CMake integration within a module, and West manifest inclusion. Trigger when developing reusable libraries, driver packages, or external software components for Zephyr.

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

查看安装方法

包含的文件(6)

  • SKILL.md2.3 KB
  • assets/module_yml_template.yml196 B
  • references/module_definition.md1.0 KB
  • references/west_integration.md687 B
  • scripts/module_manifest_check.py1.9 KB
  • skill-meta.yaml455 B

SKILL.md(原文)

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

Zephyr Modules

Extend the Zephyr RTOS with reusable, out-of-tree modules that integrate seamlessly with the build system.

Core Workflows

1. Defining a Module

Create the directory structure and metadata required for auto-discovery.

  • Reference: module_definition.md
  • Key Tools: zephyr/module.yml, zephyr/Kconfig, zephyr/CMakeLists.txt.

2. West Manifest Integration

Adding your module to a workspace for distribution and versioning.

3. Library Wrapping (Glue Code)

Wrapping external C/C++ libraries as Zephyr modules.

Quick Start (module.yml)

build:
  cmake: .
  kconfig: zephyr/Kconfig

Validation Checklist

  • west update fetches module source from manifest without conflicts.
  • west build -t list_modules shows the module as discovered.
  • Module Kconfig options appear and can be enabled in build configuration.
  • Module sources are compiled and linked into the target application as expected.

Automation Tools

Examples & Templates

Resources

  • References:
    • module_definition.md: Structure and module.yml specification.
    • west_integration.md: Manifest configuration and discovery tools.
  • Scripts:
    • module_manifest_check.py: Module manifest consistency checker.
  • Assets:
    • module_yml_template.yml: Minimal zephyr/module.yml 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日 更新

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.

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

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日 更新

查看 beriberikix 的全部技能

报告此技能的问题