Additional boards

Is there anyway to download http://arduino.esp8266.com/stable/package_esp8266com_index.json, and not have it go to the url everytime the IDE starts ?

Just check if there is any update, the package was already downloaded the first time.

Just copy this LINK and paste it into the additional boards box.

Maybe you are doing something different. Open your settings/preferences and click where circled in RED


Now paste that URL in this

Hi @mocallins. Just to make sure what @MaximoEsfuerzo already wrote is clear, I'll provide some additional information:

The package index file from that URL provides the data on which versions of the "esp8266" boards platform are available for installation via the Arduino IDE Boards Manager. The reason Arduino IDE periodically downloads this file is so that it can check to see if a newer version of the platform than the one you have installed is available, and if so notify you of the available update.

So if you configure Arduino IDE to refrain from periodically downloading this file, you might end up using an outdated version of the platform that is missing significant bug fixes or enhancements.

If you aren't interested in keeping the platform updated, it is possible to accomplish that. If you would like instructions for doing that, please tell us which version of Arduino IDE you are using (e.g., "2.3.6")? The version is shown on the window title bar and also in the dialog that opens when you select Help > About (or Arduino IDE > About Arduino IDE for macOS users) from the Arduino IDE menus. I ask for this information because the procedure is different between Arduino IDE 1.x and 2.x.

1 Like

I don't think i stated it clearly.
I already have the json file, and have it update in Preferences.
It seems like the IDE goes to that link everytime, and it takes some time to check.
I just wanted to eliminate the check.
and download whatever the latest info it is getting, and not have it check.
I would think i would get another notification, if i ran into a problem, then i could go check for updates.

I am using IDE 2.1.1 on a Windows machine.

I explained why this happens. Please read my previous reply carefully to understand.

You certainly won't get a notification. You might get some other indication of a problem, such as valid code failing to compile. However, the symptoms of bugs can also be very subtle. Furthermore, you are unlikely to see an indication of a missing enhancement.

Those two goals are somewhat contradictory. The only way for Arduino IDE to obtain the "latest info" is by downloading the latest version of the package index file.

That said, I'll provide instructions you can follow to disable Arduino IDE's automatic updates check which causes the periodic download of the package index file:

  1. Press the Ctrl+Shift+P keyboard shortcut (Command+Shift+P for macOS users) to open the "Command Palette".
    A menu will appear on the editor toolbar:
  2. Select the "Preferences: Open Settings (UI)" command from the menu.
    You can scroll down through the list of commands to find it or type the name in the field.
    A "Settings" tab will open in the Arduino IDE main panel.
  3. Type arduino.checkForUpdates in the "Search Settings" field of the "Settings" tab.
  4. Uncheck the box under the "Arduino: Check For Updates" setting.
  5. Close the Preferences tab by clicking its X icon.

If you disable the automatic update check, make sure to periodically do a manual check for newer versions of Arduino IDE and your installed boards platforms and libraries.

You can check for new versions of Arduino IDE by selecting Help > Check for Arduino IDE Updates from the Arduino IDE menus.

You can check for new versions of boards platforms and libraries by the following procedure:

  1. Press the Ctrl+Shift+P keyboard shortcut (Command+Shift+P for macOS users) to open the "Command Palette".
  2. Select the "Arduino: Update Indexes" command from the menu.
    A notification will appear at the bottom right corner of the Arduino IDE window to indicate the progress of downloading the index files.
  3. Wait for the index file downloads to finish.
  4. Select Tools > Board > Boards Manager... from the Arduino IDE menus to open the "Boards Manager" view in the left side panel.
  5. Select "Updatable" from the "Type" menu in the Boards Manager view.
    A list of installed boards platforms for which updates are available will be listed.
  6. Click the "UPDATE" button on the entry for any platform you wish to update.
  7. Select Tools > Manage Libraries... from the Arduino IDE menus to open the "Library Manager" view in the left side panel.
  8. Select "Updatable" from the "Type" menu in the Library Manager view.
    A list of installed libraries for which updates are available will be listed.
  9. Click the "UPDATE" button on the entry for any library you wish to update.