Hi @yahya_abdelrazek. The installation of the "esp32" boards platform failed due to timeout occurred during the download.
The duration of the timeout that causes Arduino IDE to cancel a download is configurable. You should be able to work around this problem by configuring a higher timeout value. I'll provide instructions you can follow to do that:
- Select File > Quit from the Arduino IDE menus if it is running.
All Arduino IDE windows will close. - Open the file at the following path in any text editor:
- If you are using Linux:
(where/home/<username>/.arduinoIDE/arduino-cli.yaml<username>is your Linux username)
The .arduinoIDEfolder may be hidden by default in your file manager and terminal.
- If you are using macOS:
(where/Users/<username>/.arduinoIDE/arduino-cli.yaml<username>is your macOS username)
The .arduinoIDEfolder is hidden by default. You can make it visible by pressing the Command+Shift+. keyboard shortcut.
- If you are using Windows:
(whereC:\Users\<username>\.arduinoIDE\arduino-cli.yaml<username>is your Windows username)
- If you are using Linux:
- Add the following content to the
arduino-cli.yamlfile (or replace the existing content if equivalent content is already present in the file):
ⓘ I arbitrarily chose a timeout value of 12000 seconds. You can adjust this as needed.network: connection_timeout: 12000s - Save the file.
- Start Arduino IDE.
Now try installing/updating the "esp32" boards platform again, just the same as you did before. Hopefully this time it will be successful.