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
1 changed files with 8 additions and 6 deletions

View File

@ -25,17 +25,19 @@ lib_deps =
paulstoffregen/OneWire@^2.3.7 paulstoffregen/OneWire@^2.3.7
milesburton/DallasTemperature@^3.11.0 milesburton/DallasTemperature@^3.11.0
build_flags = ${common_env_data.build_flags} 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] [env:esp12e_debug]
extends = env:esp12e extends = env:esp12e
build_type = debug build_type = debug
build_flags = ${common_env_data.build_flags} build_flags = ${common_env_data.build_flags} -D BUILD_DEBUG=1
-D BUILD_DEBUG=1
[env:esp12e_ota] [env:esp12e_ota]
extends = env:esp12e extends = env:esp12e
upload_protocol = espota upload_protocol = espota
upload_port = 192.168.2.4 upload_port = 192.168.2.4
build_flags = ${common_env_data.build_flags} build_flags = ${common_env_data.build_flags} -D BUILD_DEBUG=0
-D BUILD_DEBUG=0
[env:esp12e_ota_debug]
extends = env:esp12e_ota
build_flags = ${common_env_data.build_flags} -D BUILD_DEBUG=1