changes
This commit is contained in:
parent
0034d2d5e5
commit
4e45ca274d
2 changed files with 49 additions and 1 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -5,4 +5,5 @@
|
||||||
.vscode/ipch
|
.vscode/ipch
|
||||||
include/secrets.h
|
include/secrets.h
|
||||||
.DS_Store
|
.DS_Store
|
||||||
upload_params.ini
|
upload_params.ini
|
||||||
|
platformio.ini
|
47
platformio.dist.ini
Normal file
47
platformio.dist.ini
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
; 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
|
||||||
|
|
Loading…
Reference in a new issue