; PlatformIO project for the Butterfly EDFA Rack bridge (Koheron seed + Agiltron M511 EDFA) on ESP32. ; Board: ESP32-D0WD-V3 (WROOM-32 class) on a CP2102N USB bridge. [env:esp32dev] platform = espressif32 board = esp32dev framework = arduino ; CP2102N enumerates as /dev/ttyUSB0 on this PC. Override at the command line ; with `pio run -t upload --upload-port /dev/ttyXXX` if it moves. upload_port = /dev/ttyUSB0 monitor_port = /dev/ttyUSB0 ; The ESP32's own USB console. The Koheron link is a *separate* hardware UART ; (see src/main.cpp) so the two never collide. monitor_speed = 115200 upload_speed = 460800 ; MQTT client. PubSubClient is small and battle-tested. lib_deps = knolleary/PubSubClient@^2.8 ; Keep WiFi/MQTT credentials out of source control: see include/secrets.h. build_flags = -DCORE_DEBUG_LEVEL=3