Changes in preferences not saving

I am trying to add boards to the IDE and after I paste the url's and hit "OK" nothing happens, if I go back to preferences again the urls are gone, not all but the new ones I just added.

I am trying to add adafruit and seeed studio boards ( rp2040)

Which version of the IDE are you using ?

Latest, 2.0.3 I believe. Tried uninstalling and reinstalling but nothing changed.

That is not how you install a board in 2.0

Click on the Boards Manager in the left hand pane of the IDE and enter the board name in the Filter prompt.

Select INSTALL for the board that you want to install from the list shown

Job done

The Additional boards manager URLs prompt in Preferences will still be empty if you look at it but the boards will work

I'm reasonably sure that one still needs the additional board urls for e.g. the seeed in the opening post (or any other non-Arduino board).

Topic moved to the dedicated IDE2.0 section of the forum.

I believe I need the url in order to see the boards from the board manager. At least thats how I did it with the esp8266 and esp32

Here is my Additional Boards Manager URLS prompt from the Preferences page of 2.0.3

Not a URL in sight and all of my boards, including ESP32 and ESP8266 work fine

Which version of the IDE were you using when you did that ?

I am not 100% sure is the same version but it was just a few weeks ago. I can’t find any of the boards I need to install on the board manager.

Adafruit QT Py
Seeed Xiao rp2040
Attiny88

Nothing shows up

They don't show for me either, if that is any consolation

Please post the URLs that you want to add

1 Like

This is one of them.

https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json

I was able to install them on another computer.

Is the other computer running the same version of the IDE ?

Even though, unlike 1.x, Arduino IDE 2.x does recognize installed 3rd party boards platforms even when you don't have their package index URL in your "Additional Boards Manager URLs" preferences, the package index URL is required for you to get updates of those boards platforms, so it is strongly recommended to add those URLs to the preference. I will guess you will discover you are using some outdated platform versions once you do that.

The need to add the capability to detect this situation and communicate the problem to the user is tracked here:

OK, I understand what you are saying, but from the very first time that I installed 2.0 the URLs have not been there. Should they not be automatically populated if they are present in 1.x.x, which they are ?

The IDE looks for installed board packages in C:\Users\yourUsername\AppData\Local\Arduino15\packages (windows system). If they were installed using 1.8.x, they will be there and hence they are visible in 2.0.

You can try to add them to the configuration file. For windows C:\Users\yourUsername\.arduinoIDE\arduino-cli.yaml

The first few lines should be something like this

board_manager:
  additional_urls:
  - https://arduino.esp8266.com/stable/package_esp8266com_index.json
  - https://raw.githubusercontent.com/sparkfun/Arduino_Boards/master/IDE_Board_Manager/package_sparkfun_index.json

Replace / add what you need, save the file and restart the IDE.

1 Like

Arduino IDE 1.x and 2.x use completely different preference stores, so the only way that could happen is if the developers created a system that migrates this preference from Arduino IDE 1.x's preference.txt file to Arduino IDE 2.x's arduino-cli.yaml file. No such system was ever created:

"Should" is subjective, but if you are asking whether it is expected that Arduino IDE 2.x would automatically populate this preference, the answer is: no. The user must transfer the URLs.

We discussed the creation of such a system, but decided the resources would be better invested in creating a system that detects missing URLs and notifies the user of the situation. The reason is that system will provide value throughout the entire lifespan of the Arduino IDE project, instead of being something that is only of value during the migration period.

This solved my problem! Thank you all, for your input.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.