Flash banner
chayuto chayuto

Flash

Development community

Description

# Flash firmware to connected ESP32-C6 board Activate ESP-IDF, flash, then capture serial logs agentically. Usage: `/flash [project_name]` If no project name given, ask or detect from context. ## Standard flow (works when the project follows the conventions below) ```bash . ~/esp/esp-idf/export.sh 2>/dev/null PORT=$(ls /dev/cu.usbmodem* 2>/dev/null | head -1) idf.py -C projects/<name> -p $PORT flash ~/.espressif/python_env/idf5.5_py3.14_env/bin/python3 \ .claude/bin/agent_monitor.py --po

Installation

Installs to ~/.claude/commands/chayuto-esp32-c6-touch-amoled-1.8-flash.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/chayuto/ESP32-C6-Touch-AMOLED-1.8/HEAD/.claude/commands/flash.md -o ~/.claude/commands/chayuto-esp32-c6-touch-amoled-1.8-flash.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository