Integrate Espressif's QEMU fork for virtual ESP device management: - QemuManager component with 5 MCP tools (start/stop/list/status/flash) - Config auto-detects QEMU binaries from ~/.espressif/tools/ - Supports esp32, esp32s2, esp32s3, esp32c3 chip emulation - Virtual serial over TCP (socket://localhost:PORT) transparent to esptool - Scan integration: QEMU instances appear in esp_scan_ports results - Blank flash images initialized to 0xFF (erased NOR flash state) - 38 unit tests covering lifecycle, port allocation, flash writes
33 lines
762 B
Plaintext
33 lines
762 B
Plaintext
# MCP ESPTool Server Configuration
|
|
|
|
# Project Configuration
|
|
COMPOSE_PROJECT_NAME=mcp-esptool
|
|
|
|
# ESPTool Configuration
|
|
ESPTOOL_PATH=esptool
|
|
ESP_DEFAULT_BAUD_RATE=460800
|
|
ESP_CONNECTION_TIMEOUT=30
|
|
ESP_ENABLE_STUB_FLASHER=true
|
|
ESP_MAX_CONCURRENT_OPERATIONS=5
|
|
ESP_OPERATION_TIMEOUT=300
|
|
|
|
# ESP-IDF Configuration (optional)
|
|
ESP_IDF_PATH=/path/to/esp-idf
|
|
|
|
# MCP Project Roots (colon-separated paths)
|
|
MCP_PROJECT_ROOTS=/home/user/esp_projects:/home/user/Arduino
|
|
|
|
# MCP Integration Settings
|
|
MCP_ENABLE_PROGRESS=true
|
|
MCP_ENABLE_ELICITATION=true
|
|
MCP_LOG_LEVEL=INFO
|
|
|
|
# Development Settings
|
|
DEV_ENABLE_HOT_RELOAD=false
|
|
DEV_MOCK_HARDWARE=false
|
|
DEV_ENABLE_TRACING=false
|
|
|
|
# Production Settings
|
|
PRODUCTION_MODE=false
|
|
PROD_ENABLE_SECURITY_AUDIT=true
|
|
PROD_REQUIRE_CONFIRMATIONS=true |