mirror of
https://github.com/espressif/arduino-esp32
synced 2024-09-21 10:28:04 +00:00
Update OTA Command for IDE 2.0
This commit is contained in:
parent
d4e20294e5
commit
7dc8ca4e1e
@ -246,4 +246,9 @@ tools.esptool_py.upload.network_pattern={network_cmd} -i "{serial.port}" -p "{ne
|
||||
## Upload Sketch Through OTA (Arduino IDE 2.x)
|
||||
## -------------------------------------------
|
||||
tools.esp_ota.upload.protocol=network
|
||||
tools.esp_ota.upload.pattern={cmd} -i "{upload.port.address}" -p "{upload.port.properties.port}" "--auth={upload.field.password}" -f "{build.path}/{build.project_name}.bin"
|
||||
## Following command does not work currently, because port properties are lost and auth dialog does not permit empty fields
|
||||
#tools.esp_ota.upload.field.password=Password
|
||||
#tools.esp_ota.upload.field.password.secret=true
|
||||
#tools.esp_ota.upload.pattern={cmd} -i "{upload.port.address}" -p "{upload.port.properties.port}" "--auth={upload.field.password}" -f "{build.path}/{build.project_name}.bin"
|
||||
## So we do basic default OTA on port 3232 and no auth
|
||||
tools.esp_ota.upload.pattern={cmd} -i "{upload.port.address}" -f "{build.path}/{build.project_name}.bin"
|
||||
|
Loading…
Reference in New Issue
Block a user