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
drjafet
December 9, 2022, 8:49pm
10
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:
opened 03:56PM - 15 Jun 22 UTC
closed 01:20PM - 24 May 23 UTC
type: enhancement
topic: code
criticality: medium
### Describe the request
If an [Arduino boards platform](https://arduino.gith⦠ub.io/arduino-cli/dev/platform-specification/) was installed via [`core install`](https://arduino.github.io/arduino-cli/dev/commands/arduino-cli_core_install/) (as indicated by it being located under `<directories.data>/packages` AKA [`github.com/arduino/arduino-cli/arduino/cores/packagemanager.PackageManager.PackagesDir`](https://github.com/arduino/arduino-cli/blob/813cfe73a466245222d6cd0aef2d181a91c56d3e/arduino/cores/packagemanager/package_manager.go#L44)), but that platform is not listed in [the primary package index](https://downloads.arduino.cc/packages/package_index.json) and additional [package indexes](https://arduino.github.io/arduino-cli/dev/package_index_json-specification/) configured via the `board_manager.additional_urls` [configuration key](https://arduino.github.io/arduino-cli/dev/configuration/#configuration-keys):
- Print a warning when this may be significant (e.g., [`core upgrade`](https://arduino.github.io/arduino-cli/dev/commands/arduino-cli_core_upgrade/))
- Make this information available via the gRPC interface (e.g., add an `index_url` field to [the `Platform` message](https://arduino.github.io/arduino-cli/dev/rpc/commands/#platform))
π The user will be aware that Boards Platform updates are will not be available due to their configuration.
### Describe the current behavior
Arduino CLI's `core` commands use the Arduino Boards Manager system to provide installation and updates of Arduino boards platforms. Arduino maintains a primary package index that provides all official and partner platforms. A huge number of 3rd party platforms are also available. In order to access these, the user must add the URL to the platform's package index to their Arduino CLI configuration.
After a platform is installed, it remains usable even if the additional package index URL is removed from the Arduino CLI configuration. However, the presence of this URL is required for the valuable update capability to work. Users without an in depth understanding of the fairly complex and esoteric Boards Manager system may not be aware of this and thus feel no need to maintain a list of URLs in their configuration.
There are several scenarios that would make this especially likely to occur:
- The platform was installed via a different tool (Arduino IDE 1.x, Arduino IDE 2.x, and Arduino CLI all use separate preference files).
- An ephemeral configuration mechanism ([environment variable](https://arduino.github.io/arduino-cli/dev/configuration/#environment-variables) or [command line flag](https://arduino.github.io/arduino-cli/dev/configuration/#command-line-flags)) was used to configure the URL during the platform installation.
π The problem is not communicated to the user. They may miss out on important advancements made in later releases of the platform or else be confused when the Arduino CLI update capability does not seem to work.
### Arduino CLI version
nightly-20220615 Commit: 813cfe7 Date: 2022-06-15T01:36:01Z
### Operating system
All
### Operating system version
N/A
### Additional context
This capability will likely be of greatest value for use in Arduino IDE 2.x, whose users are less likely to understand the technical details of the Boards Manager system, and also are most likely to have missing package index URLs after migrating from Arduino IDE 1.x. However, Arduino CLI is the most appropriate place for the code that will detect this condition, so the work should start here, followed by communicating the information to the IDE user via its GUI.
#### Related:
- https://forum.arduino.cc/t/post-here-for-ide-2-0-rc/937541/3
- https://forum.arduino.cc/t/suggestion-improve-library-manager/847666/9
- https://forum.arduino.cc/t/board-manager-missing-pololu-boards/698567/3
- https://forum.arduino.cc/t/boardmanager-does-not-know-esp32-8266-boards/698286
- https://github.com/arduino/arduino-ide/issues/1524
### Issue checklist
- [X] I searched for previous requests in [the issue tracker](https://github.com/arduino/arduino-cli/issues?q=)
- [X] I verified the feature was still missing when using the latest [nightly build](https://arduino.github.io/arduino-cli/dev/installation/#nightly-builds)
- [X] My request contains all necessary details
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:
opened 03:01PM - 04 Oct 22 UTC
topic: code
type: imperfection
### Describe the problem
I have version 1.8.16 installed on my computer, which β¦ includes a number of URLs listed in the preferences "Additional Boards Manager URL's" section.
When I installed version 2.0, it correctly lists all those boards as installed under the Tools>Board menu option. However the URL's are missing under preferences.
### To reproduce
Have a previous version of Arduino installed.
Have some unique boards URL references listed under preferences "Additional Boards Manager URL's" section
Install version 2.0
Check that the boards are found under the Board menu option in version 2.
Now open up the preference dialog box.
Note that those URL's for those specific boards are not listed here.
### Expected behavior
The URL's listed in a previous version need to be listed in version 2.0 preferences "Additional Boards Manager URL's" section.
### Arduino IDE version
2.0
### Operating system
Linux
### Operating system version
20.04
### Additional context
_No response_
### Issue checklist
- [X] I searched for previous reports in [the issue tracker](https://github.com/arduino/arduino-ide/issues?q=)
- [X] I verified the problem still occurs when using the latest [nightly build](https://github.com/arduino/arduino-ide#nightly-builds)
- [X] My report contains all necessary details
"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.
drjafet
December 10, 2022, 9:22pm
18
This solved my problem! Thank you all, for your input.
system
Closed
June 8, 2023, 9:22pm
19
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.