esp32-development

仓库创建 2026年7月27日最近提交 22 小时前SkillHot 收录 17 小时前
这个 Skill 做什么

把 ESP32 的固件开发流程讲清楚:用 Arduino CLI 编译、用 esptool 刷入,再到配置 captive portal、选板和用 ESP-NOW 做点对点无线。适合做原型、物联网或需要快速刷机和调试网络的硬件项目。文档列出实际命令与常见坑,能让你少走弯路。

▸ 展开 SKILL.md 英文原文

ESP32 firmware development — compile, flash, captive portals, board selection, ESP-NOW, hardware projects

0
Stars
0
Forks
40
仓库内 Skill
积累中
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/trojan-lord/hermes-cuso/main/skills/esp32-development/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/trojan-lord/hermes-cuso/main/skills/esp32-development/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# ESP32 Development

## Compile & Flash Workflow

### Arduino CLI (preferred for ESP32)
```bash
# Compile
arduino-cli compile --fqbn esp32:esp32:esp32:PartitionScheme=huge_app,FlashMode=qio,FlashSize=4M /path/to/sketch

# Find output binaries
BDIR=$(ls -td ~/.cache/arduino/sketches/*/ | head -1)
ls "$BDIR"/*.bin
```

### Flash with esptool
```bash
# Requires sudo if user not in dialout group
sudo /tmp/esp-venv/bin/esptool.py --port /dev/ttyUSB0 --baud 460800 \
  write_flash \
  0x1000 "$BDIR/sketch.ino.bootloader.bin" \
  0x8000 "$BDIR/sketch.ino.partitions.bin" \
  0xe000 "$BDIR/boot_app0.bin" \
  0x10000 "$BDIR/sketch.ino.bin"
```

### Erase flash (clean wipe)
```bash
sudo esptool.py --por
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有