35 lines
901 B
INI
35 lines
901 B
INI
; PlatformIO Project Configuration File
|
|
;
|
|
; Build options: build flags, source filter
|
|
; Upload options: custom upload port, speed and extra flags
|
|
; Library options: dependencies, extra library storages
|
|
; Advanced options: extra scripting
|
|
;
|
|
; Please visit documentation for the other options and examples
|
|
; https://docs.platformio.org/page/projectconf.html
|
|
|
|
[env]
|
|
platform = espressif32
|
|
framework = arduino
|
|
lib_deps =
|
|
https://github.com/me-no-dev/ESPAsyncWebServer.git
|
|
me-no-dev/AsyncTCP@^1.1.1
|
|
ayushsharma82/AsyncElegantOTA@^2.2.7
|
|
arduino-libraries/Arduino_JSON@^0.1.0
|
|
build_flags =
|
|
'-D ELEGANTOTA_USE_ASYNC_WEBSERVER=1'
|
|
monitor_speed = 115200
|
|
|
|
[env:esp32cam]
|
|
board = esp32cam
|
|
|
|
[env:lolin32]
|
|
board = lolin32
|
|
|
|
[env:odyssey]
|
|
board = seeed_xiao_esp32s3
|
|
platform_packages = toolchain-riscv32-esp @ 8.4.0+2021r2-patch5
|
|
build_flags =
|
|
'-D ARDUINO_USB_CDC_ON_BOOT=1'
|
|
'-D ARDUINO_USB_MODE=0'
|