跳到正文
cccskills
免费在 GitHub 公开

specialized

Specialized hardware interfaces and system reliability for Zephyr RTOS. Covers LVGL GUI development, Audio I2S/Codecs, Watchdog timers, and Fault Injection. Trigger when building human-machine interfaces (HMI), audio devices, or high-reliability mission-critical systems.

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

查看安装方法

包含的文件(8)

  • SKILL.md3.3 KB
  • assets/watchdog_health_map_template.h428 B
  • references/audio_i2s.md1.8 KB
  • references/fault_injection.md1.5 KB
  • references/lvgl_gui.md2.1 KB
  • references/watchdog_reliability.md1.9 KB
  • scripts/watchdog_window_check.py1.2 KB
  • skill-meta.yaml536 B

SKILL.md(原文)

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

Zephyr Specialized Hardware & Reliability

Integrate complex peripherals and build resilient systems that recover gracefully from unexpected failures.

Core Workflows

1. LVGL GUI Development

Build sophisticated graphical user interfaces for LCD and TFT displays.

  • Reference: lvgl_gui.md
  • Key Tools: Widgets, Styles, Double Buffering, native_sim simulator.

2. Audio I2S & Codecs

Implement high-quality digital audio streaming and codec management.

  • Reference: audio_i2s.md
  • Key Tools: CONFIG_I2S, DMA streaming, Ping-pong buffering.

3. Watchdog & Reliability

Ensure your system never hangs in the field using hardware watchdog timers.

4. Fault Injection & Resilience

Test your system's ability to recover from unexpected software and hardware errors.

  • Reference: fault_injection.md
  • Key Tools: Chaos testing, k_oops(), Reset reason diagnostics.

Quick Start (Watchdog Feed)

# Enable watchdog support
CONFIG_WATCHDOG=y
// Feed the dog in your main loop
while (1) {
    // Perform application work
    wdt_feed(wdt_dev, wdt_channel);
    k_sleep(K_MSEC(1000));
}

Professional Patterns (Reliability & UX)

  • Safe Boot Animation: Use a simple, non-interactive LVGL screen to show system status while critical subsystems (e.g., cloud connectivity) are initializing.
  • Zero-Pop Audio: Always use volume ramping when starting or stopping I2S streams to protect hardware and improve user experience.
  • Bitmask Health Monitoring: Use a bitmask to track the health of all background threads; the watchdog monitor only feeds the timer if ALL bits are set periodically.

Automation Tools

Examples & Templates

Validation Checklist

  • GUI render loop maintains target frame behavior without starving control tasks.
  • I2S audio stream starts/stops without underruns or audible artifacts.
  • Watchdog feed policy resets the system when health criteria are not met.
  • Fault-injection scenarios produce expected reset reason and recovery behavior.

Resources

  • References:
    • lvgl_gui.md: GUI widgets and performance tuning.
    • audio_i2s.md: Audio streaming and DMA patterns.
    • watchdog_reliability.md: Watchdog setup and health checks.
    • fault_injection.md: System resilience and chaos testing.
  • Scripts:
    • watchdog_window_check.py: Feed-window timing checker.
  • Assets:
    • watchdog_health_map_template.h: Health-mask template header.

评价

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

评论

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

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

提交后会立即公开。请勿填写邮箱、电话等个人信息。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 的全部技能

报告此技能的问题