Update platformio.ini

Add ESP32-PoE Support
This commit is contained in:
klahus1 2022-07-12 13:37:13 +02:00 committed by GitHub
parent 98d4dbf770
commit ad4a4bcba9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,8 @@ build_flags =
${env.build_flags} ${env.build_flags}
-D=${PIOENV} -D=${PIOENV}
-DCOMPONENT_EMBED_FILES=webapp_dist/index.html.gz:webapp_dist/zones.json.gz:webapp_dist/favicon.ico:webapp_dist/js/app.js.gz -DCOMPONENT_EMBED_FILES=webapp_dist/index.html.gz:webapp_dist/zones.json.gz:webapp_dist/favicon.ico:webapp_dist/js/app.js.gz
-DOLIMEX_UEXT_MOD_NRF24LR
-DOLIMEX_ESP32_POE_LAN
lib_deps = lib_deps =
https://github.com/me-no-dev/ESPAsyncWebServer.git https://github.com/me-no-dev/ESPAsyncWebServer.git
@ -31,7 +33,8 @@ lib_deps =
extra_scripts = extra_scripts =
pre:auto_firmware_version.py pre:auto_firmware_version.py
board = esp32dev ;board = esp32dev
board = esp32-poe
board_build.partitions = partitions_custom.csv board_build.partitions = partitions_custom.csv
board_build.filesystem = littlefs board_build.filesystem = littlefs
monitor_filters = time, colorize, log2file, esp32_exception_decoder monitor_filters = time, colorize, log2file, esp32_exception_decoder
@ -39,4 +42,4 @@ monitor_port = COM4
monitor_speed = 115200 monitor_speed = 115200
upload_protocol = esptool upload_protocol = esptool
upload_port = COM4 upload_port = COM4