Skip to content

Commit 7dc8ca4

Browse files
authored
Update OTA Command for IDE 2.0
1 parent d4e2029 commit 7dc8ca4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

platform.txt

+6-1
Original file line numberDiff line numberDiff line change
@@ -246,4 +246,9 @@ tools.esptool_py.upload.network_pattern={network_cmd} -i "{serial.port}" -p "{ne
246246
## Upload Sketch Through OTA (Arduino IDE 2.x)
247247
## -------------------------------------------
248248
tools.esp_ota.upload.protocol=network
249-
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"
249+
## Following command does not work currently, because port properties are lost and auth dialog does not permit empty fields
250+
#tools.esp_ota.upload.field.password=Password
251+
#tools.esp_ota.upload.field.password.secret=true
252+
#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"
253+
## So we do basic default OTA on port 3232 and no auth
254+
tools.esp_ota.upload.pattern={cmd} -i "{upload.port.address}" -f "{build.path}/{build.project_name}.bin"

0 commit comments

Comments
 (0)