st-4-esp32/platformio.ini
Ryan Malloy 4c91fd4811 ESP32 ST-4 autoguider library with thread-safe pulse guiding
Port of arduino-st4 (Kevin Ferrare) to ESP32/PlatformIO with:
- FreeRTOS mutex protection at every layer (Pin, Axis, Pulse, Controller)
- Hardware timer pulse guiding with ISR-safe deferred stop pattern
- Backward-compatible serial protocol (57600 baud, #-terminated)
- Extended commands: PULSE, POS?, SYNC, STATUS?, VERSION?
- Optional WiFi/WebSocket control (gated by ST4_WIFI_ENABLED)
- Dead-reckoning position tracker using esp_timer microsecond precision

All 4 examples build clean against esp32dev target.
2026-02-17 19:46:03 -07:00

31 lines
758 B
INI

; ST4-ESP32 PlatformIO library
; For building examples: use 'make' targets (uses pio ci)
; For development/upload: pio run -e <env> (uses symlink lib_deps)
[platformio]
default_envs = serial_compatible
[env]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
lib_deps = symlink://.
[env:basic_gpio]
build_src_filter = +<../examples/basic_gpio/>
[env:serial_compatible]
build_src_filter = +<../examples/serial_compatible/>
[env:pulse_guide]
build_src_filter = +<../examples/pulse_guide/>
[env:wifi_control]
build_flags = -DST4_WIFI_ENABLED
lib_deps =
symlink://.
bblanchon/ArduinoJson@^7.0.0
mathieucarbou/ESPAsyncWebServer@^3.6.0
build_src_filter = +<../examples/wifi_control/>