Version for PsychicHttp - not working due to websockets problems
This commit is contained in:
@@ -14,34 +14,29 @@
|
||||
platform = espressif32
|
||||
board = esp32dev
|
||||
framework = arduino
|
||||
|
||||
; Serial monitor settings
|
||||
monitor_speed = 115200
|
||||
monitor_filters = esp32_exception_decoder
|
||||
|
||||
board_build.filesystem = littlefs
|
||||
|
||||
; Use a larger app partition (pick ONE):
|
||||
board_build.partitions = huge_app.csv ; 3MB app, 1MB FS, no OTA
|
||||
; board_build.partitions = no_ota.csv ; 2MB app, 2MB FS, no OTA
|
||||
; board_build.partitions = min_spiffs.csv ; 1.9MB app + OTA, 190KB FS
|
||||
|
||||
; 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 =
|
||||
; Async Web Server and dependencies
|
||||
https://github.com/ESP32Async/ESPAsyncWebServer
|
||||
https://github.com/ESP32Async/AsyncTCP
|
||||
; PsychicHttp - robust HTTP server with WebSocket support
|
||||
hoeken/PsychicHttp @ ^2.1.0
|
||||
|
||||
; ArduinoJson for configuration/commands
|
||||
ArduinoJson
|
||||
ArduinoJson @ ^7.0.0
|
||||
|
||||
; Upload settings (adjust port as needed)
|
||||
; upload_port = /dev/ttyUSB0
|
||||
; upload_speed = 921600
|
||||
|
||||
; Extra scripts for LittleFS
|
||||
extra_scripts =
|
||||
pre:scripts/download_xterm.py
|
||||
|
||||
Reference in New Issue
Block a user