Skip to main content
在 Manus 中运行任何 Skill
一键导入

vibe-firmware

星标3
分支0
更新时间2026年6月22日 11:58

Take embedded firmware for a small device (ESP32 / RP2040 / STM32 / nRF …) from a plain-language spec to a reproducible build that flashes and runs, driven by an AI coding agent. Use when bringing up a new board, adding a peripheral/driver, wiring a device to a network service, or shipping an update. Key facts this skill encodes: structure the firmware as LAYERED COMPONENTS, not one big main.c — a board-support layer (BSP) is the ONLY place pin numbers + low-level init live and exposes a typed API (i2c bus, PMIC/battery, buttons) so nothing else touches a raw GPIO; ONE COMPONENT PER DOMAIN (display/ui, audio, connectivity…) each with a single public header as its only surface; and a THIN main that wires them via callbacks + a FreeRTOS event queue + a small state machine. Build in a PINNED toolchain (a Docker image / locked SDK) so it's bit-for-bit reproducible; keep board/pin config as CODE (the BSP header) mirroring the PCB net map; ship dual-slot OTA from day one and NEVER publish an update without a real-h

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
4 个文件
SKILL.md
readonly