Files
esp32-debug-dongle/platformio.ini

43 lines
946 B
INI

; PlatformIO Project Configuration File
; ESP32 Debug Dongle - Web Serial Terminal with Bluetooth
;
; Build and upload:
; pio run -t upload
;
; Upload filesystem (LittleFS with web files):
; pio run -t uploadfs
;
; Monitor serial output:
; pio device monitor
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
; Serial monitor settings
monitor_speed = 115200
monitor_filters = esp32_exception_decoder
; Build flags
build_flags =
-DCORE_DEBUG_LEVEL=3
-DCONFIG_BT_ENABLED=1
-DCONFIG_BLUEDROID_ENABLED=1
; Partition scheme with space for LittleFS
board_build.partitions = default.csv
board_build.filesystem = littlefs
; Libraries
lib_deps =
; PsychicHttp - robust HTTP server with WebSocket support
hoeken/PsychicHttp @ ^2.1.0
; ArduinoJson for configuration/commands
ArduinoJson @ ^7.0.0
; Upload settings (adjust port as needed)
; upload_port = /dev/ttyUSB0
; upload_speed = 921600