Help us improve
Share bugs, ideas, or general feedback.
From embedded-dev — RIPER-5 嵌入式固件开发协议
Flashes firmware to ESP32 series chips via ESP-IDF and launches JTAG debug sessions via OpenOCD. Detects serial devices, manages flash/erase operations, and handles failure scenarios.
npx claudepluginhub duncanyoung-1/embedded-dev --plugin embedded-devHow this skill is triggered — by the user, by Claude, or both
Slash command
/embedded-dev:flash-idfThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- 工作区已经具备 ESP-IDF 构建产物,且用户希望烧录到目标板。
Configures and builds ESP-IDF firmware projects: sets target chip, runs idf.py build, and locates build artifacts for flashing.
ESP32-S3 / ESP32-C6 firmware build, flash, WiFi provisioning, and serial monitoring for RuView CSI sensing nodes. Use when setting up physical hardware, reflashing a node, or debugging a device that isn't streaming CSI.
Generates and troubleshoots ESPHome YAML configs for ESP32 devices including sensor/relay/display templates, GPIO pin assignments, WiFi/OTA setups, and fixes for errors like compilation failures or GPIO conflicts.
Share bugs, ideas, or general feedback.
build/ 目录),或包含 artifact_path 的 Project Profile。首次调用时,必须向用户确认以下参数,不得跳过或自动使用探测值:
当 Project Profile 中已记录过上述参数(即非首次),可直接复用,无需再次询问。
/dev/ttyUSB*、/dev/ttyACM*,macOS /dev/cu.usbserial*、/dev/cu.wchusbserial*,Windows COM*。sdkconfig 中的 Flash 大小和分区表配置。build/ 目录中是否存在有效的烧录产物(*.bin、flasher_args.json)。--detect 模式确认。--flash --project <path> 执行烧录,可通过 --port 和 --baud 指定串口参数。--erase-flash。idf.py flash monitor(交互式长运行命令)。--debug 检测并启动 OpenOCD 服务。Project Profile。idf.py 不可用时,返回 environment-missing,提示用户安装 ESP-IDF 并激活环境(v5.x 使用 export.sh,v6.0+ 使用 EIM 激活脚本)。connection-failure。permission-problem,建议添加 dialout 组。build/ 目录不存在或产物缺失时,返回 artifact-missing,推荐 build-idf。target-response-abnormal。ambiguous-context。/dev/ttyUSB0,macOS /dev/cu.usbserial-*,Windows COM3。dialout 组:sudo usermod -aG dialout $USER。idf.py,烧录调度路径本身是跨平台的。Project Profile 中保留或更新 serial_port、baud_rate、idf_target。serial-monitor,需要调试推荐 debug-gdb-openocd。serial-monitor。debug-gdb-openocd。build-idf 编译。