Skip to main content

flash

Flash firmware to an ESP32 device

설치로 이동

소스 정보

저장소
laurigates/mcu-tinkering-lab
최근 소스 활동
2026년 4월 6일 11:17
감지된 SKILL.md 언어
영어
스타
7
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
flash
description
Flash firmware to an ESP32 device
argument-hint
[project-name] [port]
allowed-tools
Bash(just:*), Bash(esptool*), Bash(ls:*)
# Flash Firmware to ESP32 Device Flash compiled firmware to an ESP32 device. Flashing runs natively (not in container). ## Parse Arguments $ARGUMENTS may contain: - Project name (first word) - Serial port (second word, or auto-detected) ## Available Projects - `robocar-main` or `main`, `robocar-cam` or `cam` - `webserver`, `i2s-audio` or `audio`, `telegram` - `kids-audio`, `xbox`, `wifitest` ## Port Auto-Detection Ports are auto-detected by `tools/esp32.just`: - USB-serial adapters (CH340/CP2102): `ls /dev/cu.usbserial-*` - ESP32-S3 native USB: detected by Espressif VID `0x303a` - Override with: `PORT=/dev/... just <module>::flash` ## Flash Commands Based on $ARGUMENTS: - `robocar-main`: `just robocar::flash-main` - `robocar-cam`: `just robocar::flash-cam` - `webserver`: `just webserver::flash` - `i2s-audio`: `just i2s-audio::flash` - `telegram`: `just telegram::flash` - `kids-audio`: `just kids-audio::flash` - `xbox`: `just xbox::flash` - `wifitest`: `just wifitest::flash` ## ESP32-CAM Note For ESP32-CAM projects (robocar-cam, webserver, i2s-audio, telegram): - Remind the user: "Connect GPIO0 to GND before flashing" - After successful flash: "Disconnect GPIO0 from GND and reset the device" ## Error Handling If flashing fails: 1. Check if port exists and is accessible 2. Suggest checking USB connection 3. For permission errors, suggest: `sudo chmod 666 /dev/xxx`
GitHub에서 보기