47 lines
1.5 KiB
INI
47 lines
1.5 KiB
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
|
|
|
|
[platformio]
|
|
extra_configs = upload_params.ini
|
|
|
|
[env:esp32-evb]
|
|
platform = espressif32
|
|
board = esp32-evb
|
|
framework = arduino
|
|
build_flags = -DBOARD1 -DRELAY1 -DWIFI -DWEB_SERVER -DNET_FAIL_SAFE -DWEB_OTA_UPDATE -DLOCAL_ACL -DLOCAL_ACL_API -DLATCH_DOOR
|
|
lib_deps =
|
|
ottowinter/ESPAsyncWebServer-esphome@^3.0.0
|
|
ayushsharma82/WebSerial@^1.4.0
|
|
ayushsharma82/AsyncElegantOTA@^2.2.7
|
|
bblanchon/ArduinoJson@^6.21.2
|
|
|
|
[env:mcu-esp32s]
|
|
platform = espressif32
|
|
framework = arduino
|
|
board = nodemcu-32s
|
|
build_flags = -DBOARD2 -DBUZZER -DRELAY1 -DWIFI -DWEB_SERVER -DNET_FAIL_SAFE -DWEB_OTA_UPDATE -DLOCAL_ACL -DLOCAL_ACL_API -DLATCH_DOOR
|
|
lib_deps =
|
|
ottowinter/ESPAsyncWebServer-esphome@^3.0.0
|
|
ayushsharma82/WebSerial@^1.4.0
|
|
ayushsharma82/AsyncElegantOTA@^2.2.7
|
|
bblanchon/ArduinoJson@^6.21.2
|
|
|
|
[env:mcu-esp32s-ota]
|
|
platform = espressif32
|
|
framework = arduino
|
|
board = nodemcu-32s
|
|
build_flags = -DBOARD2 -DBUZZER -DRELAY1 -DWIFI -DWEB_SERVER -DNET_FAIL_SAFE -DWEB_OTA_UPDATE -DLOCAL_ACL -DLOCAL_ACL_API -DLATCH_DOOR
|
|
lib_deps =
|
|
ottowinter/ESPAsyncWebServer-esphome@^3.0.0
|
|
ayushsharma82/WebSerial@^1.4.0
|
|
ayushsharma82/AsyncElegantOTA@^2.2.7
|
|
bblanchon/ArduinoJson@^6.21.2
|
|
extra_scripts = platformio_upload.py
|
|
|