‹ 首页

specialized

@beriberikix · 收录于 昨天 · 上游提交 2 个月前

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.

适合你,如果使用 Zephyr RTOS 开发需要硬件接口和高可靠性系统的嵌入式工程师。

/ 通过 npx 安装 校验哈希
npx oh-my-skill add beriberikix/zephyr-agent-skills/specialized
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- beriberikix/zephyr-agent-skills/specialized
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify beriberikix/zephyr-agent-skills/specialized
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
58GitHub stars
~634最小装载
~2.4K含声明引用
~2.5K文本包总量
索引托管

怎么用

商店整理自技能原文 · 版本 ed63cdf · 表述以原文为准
它做什么

安装后,Claude 能指导你为 Zephyr RTOS 开发图形界面、音频流、看门狗和故障注入等专用硬件功能。

什么时候触发

当你要构建人机界面(HMI)、音频设备或高可靠性任务关键系统时,Claude 会接管相关指导。

装好后可以这样说
Claude 会提供 GUI 开发指导。
Claude 会给出零爆音音频设置方法。
Claude 会提供看门狗代码示例。
技能原文 SKILL.md作者撰写 · Apache-2.0 · ed63cdf

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](references/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](references/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.

  • Reference: [watchdog_reliability.md](references/watchdog_reliability.md)
  • Key Tools: wdt_feed(), Windowed watchdog, Health checks.
4. Fault Injection & Resilience

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

  • Reference: [fault_injection.md](references/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
  • [watchdog_window_check.py](scripts/watchdog_window_check.py): Verify feed interval timing against watchdog window constraints.
Examples & Templates
  • [watchdog_health_map_template.h](assets/watchdog_health_map_template.h): Starter health-bit definitions for watchdog supervision.
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](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](scripts/):
  • watchdog_window_check.py: Feed-window timing checker.
  • [Assets](assets/):
  • watchdog_health_map_template.h: Health-mask template header.
按 Apache-2.0 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。