PlatformIO firmware for ESP32 + 2x TMC2209 (UART, StallGuard sensorless homing) driving NEMA 17 steppers. HTTP API with mDNS discovery (positioner.local). Python side: async httpx client, PositionerMixin with 6 MCP tools including measure_pattern_3d which orchestrates the full theta/phi sweep — serpentine scan path, per-point S21 capture, progress reporting, WebSocket broadcast. Web UI gains positioner REST endpoints (status, move, home). New measure_antenna_range prompt for guided workflow.
14 lines
313 B
INI
14 lines
313 B
INI
[env:esp32]
|
|
platform = espressif32
|
|
board = esp32dev
|
|
framework = arduino
|
|
lib_deps =
|
|
wifwaf/ESPAsyncWebServer @ ^3.6.0
|
|
teemuatlut/TMCStepper @ ^0.7.3
|
|
waspinator/AccelStepper @ ^1.64
|
|
bblanchon/ArduinoJson @ ^7.3.0
|
|
monitor_speed = 115200
|
|
build_flags =
|
|
-DCORE_DEBUG_LEVEL=3
|
|
-DBOARD_HAS_PSRAM=0
|