Add OTA debug environment, rewrite file from UI
This commit is contained in:
parent
69611e8bfd
commit
926649004c
|
@ -20,22 +20,24 @@ board = esp12e
|
||||||
framework = arduino
|
framework = arduino
|
||||||
upload_speed = 921600
|
upload_speed = 921600
|
||||||
monitor_speed = 74880
|
monitor_speed = 74880
|
||||||
lib_deps =
|
lib_deps =
|
||||||
ropg/ezTime@^0.8.3
|
ropg/ezTime@^0.8.3
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue