Trouble updating LVGL

Hi @KurtE. The timeout at which Arduino IDE cancels 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:

  1. Select File > Quit from the Arduino IDE menus if it is running.
    All Arduino IDE windows will close.
  2. Open the file at the following path in any text editor:
    C:\Users\<username>\.arduinoIDE\arduino-cli.yaml
    
    (where <username> is your Windows username)
  3. Add the following content to the arduino-cli.yaml file (or replace the existing content if equivalent content is already present in the file):
    network:
      connection_timeout: 300s
    
    I arbitrarily chose a timeout value of 300 s. You can adjust this as needed.
  4. Save the file.
  5. Start Arduino IDE.

Now try updating the library again. Hopefully this time it will be successful.


It might make sense for the Arduino CLI developers to increase the default timeout value from the current 60 s, as was suggested here:

https://github.com/arduino/arduino-cli/issues/2899#issuecomment-2834199190

4 Likes