Skip to content

Commit f1b8b05

Browse files
committed
README update about upload tool timeout
1 parent 5f83887 commit f1b8b05

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ With InternalStorage the sketch binary size is limited to half of the available
6969

7070
For upload the 'OTA programmer' technique can be configured.
7171

72+
The upload tool in IDE gas a timeout 10 seconds. For some sketch size, MCU or library it is too short. To set longer timeout, [download](https://github.com/arduino/arduinoOTA/releases) newer version of the tool, replace the 1.3.0 arduinoOTA executable and in platform.local.txt add the -t option in seconds.
73+
7274
## OTA Upload from IDE without 'network port'
7375

7476
Some networking libraries don't have the UDP.beginMulticast function and can't start a MDNS service to propagate the network port for Arduino IDE. And sometimes the MDNS port is not detected for the good libraries too. Arduino IDE doesn't yet allow to enter the IP address.
@@ -188,6 +190,13 @@ platform.txt in my_boards and the fake programmer tool definition in platform.lo
188190

189191
The wrong upload command from AVR boards platform.txt is used. Did you copy `extras/avr/platform.local.txt` next to platform.txt as required?
190192

193+
### Upload fails after 10 seconds
194+
195+
If upload fails with `Flashing sketch ... Error flashing the sketch` after 10 seconds, the problem is the 10 seconds timeout of IDE's upload tool.
196+
197+
To set longer timeout, [download](https://github.com/arduino/arduinoOTA/releases) newer version of the tool, replace the 1.3.0 arduinoOTA executable and in platform.local.txt add the -t option in seconds.
198+
199+
191200
### Upload returns OK but the sketch is not replaced.
192201

193202
The final loading of the uploaded binary is in some cases not under control of the ArduinoOTA library.

0 commit comments

Comments
 (0)