Files
James Bateman (hp-laptop)andClaude Opus 4.8 c2a004d6f1 Rename project to butterfly-edfa-rack; broaden descriptions beyond Koheron
The repo bridges both instruments (Koheron CTL200 seed + Agiltron M511
EDFA), so 'koheron-esp32-bridge' was too narrow. Align the repo name and
descriptions to the identifier the whole stack already uses
(butterfly_edfa_rack): README title, Makefile/platformio headers, and the
homeassistant/ copies. Device id, MQTT topics and entity ids are
unchanged, so no reflash or lost HA history. Sibling HA repo renamed to
butterfly-edfa-rack-homeassistant.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-10-02 16:33:51 +01:00

26 lines
829 B
INI

; 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