Add OTA debug environment, rewrite file from UI

This commit is contained in:
gilex-dev 2024-06-23 15:29:50 +02:00
parent 69611e8bfd
commit 926649004c
Signed by: gilex-dev
GPG Key ID: FBACA726925AFBEB

View File

@ -20,22 +20,24 @@ board = esp12e
framework = arduino
upload_speed = 921600
monitor_speed = 74880
lib_deps =
lib_deps =
ropg/ezTime@^0.8.3
paulstoffregen/OneWire@^2.3.7
milesburton/DallasTemperature@^3.11.0
build_flags = ${common_env_data.build_flags}
-D BUILD_DEBUG=0
build_flags = ${common_env_data.build_flags} -D BUILD_DEBUG=0
[env:esp12e_debug]
extends = env:esp12e
build_type = debug
build_flags = ${common_env_data.build_flags}
-D BUILD_DEBUG=1
build_flags = ${common_env_data.build_flags} -D BUILD_DEBUG=1
[env:esp12e_ota]
extends = env:esp12e
upload_protocol = espota
upload_port = 192.168.2.4
build_flags = ${common_env_data.build_flags}
-D BUILD_DEBUG=0
build_flags = ${common_env_data.build_flags} -D BUILD_DEBUG=0
[env:esp12e_ota_debug]
extends = env:esp12e_ota
build_flags = ${common_env_data.build_flags} -D BUILD_DEBUG=1