Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d1c10d9

Browse files
Fix ArduinoOTA uploads in Arduino IDE 2.0
1 parent da66b2b commit d1c10d9

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

‎platform.txt

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -250,9 +250,6 @@ tools.esptool_py.upload.network_pattern={network_cmd} -i "{serial.port}" -p "{ne
250250
## Upload Sketch Through OTA (Arduino IDE 2.x)
251251
## -------------------------------------------
252252
tools.esp_ota.upload.protocol=network
253-
## Following command does not work currently, because port properties are lost and auth dialog does not permit empty fields
254-
#tools.esp_ota.upload.field.password=Password
255-
#tools.esp_ota.upload.field.password.secret=true
256-
#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"
257-
## So we do basic default OTA on port 3232 and no auth
258-
tools.esp_ota.upload.pattern={cmd} -i "{upload.port.address}" -f "{build.path}/{build.project_name}.bin"
253+
tools.esp_ota.upload.field.password=Password
254+
tools.esp_ota.upload.field.password.secret=true
255+
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"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /