Hi @UKHeliBob. Please provide the exact contents of the File > Preferences > Additional Boards Manager URLs field for each IDE version. 1.8.13 and 2.x use separate preferences storage systems, so make sure to get them from each IDE individually.
FYI, Arduino IDE 2.0.0-beta.12 is significantly outdated at this point, so beta testing reports from that version may no longer be relevant. I recommend beta testers use the nightly build from the links at this table:
or at least the latest release, which is available for download from the "Assets" section of this page:
I have repeated the steps outlined in my original post using rc1 and
CLI Version: 0.20.1 [abb21449]
Copyright © 2021 Arduino SA
and got the same results, ie the board in 1.8.13 is changed to a Yun and ESP32 boards are not available unless the Boards Manager is opened and closed even if no actions are taken
Here is the Additional Boards list from 1.8.13
and for the nightly build
There is the problem. This is an old URL that is no longer being maintained. It doesn't contain the 2.0.1 version of the "esp32" boards platform. So the solution is to use the package index URL specified by the official ESP32 documentation here:
This is the sequence of events that was occurring:
- Start Arduino IDE 2.x
- Arduino IDE 2.x downloads https://dl.espressif.com/dl/package_esp32_index.json on startup, replacing the previous copy of
package_esp32_index.json with the outdated one.
- Start Arduino IDE 1.8.13
- The classic Arduino IDE only recognizes boards platforms if they are present in one of the installed package index files. Since the outdated version of
package_esp32_index.json does not contain
esp32:firstname.lastname@example.org, it does not recognize its installation and you don't see it in the Tools > Board menu.
- Open Boards Manager in Arduino IDE 1.8.13
- The classic Arduino IDE's Boards Manager downloads https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json, replacing the previous copy of
package_esp32_index.json with the up to date one.
- Close Boards Manager.
esp32:email@example.com is now present in the installed package index, the classic Arduino IDE now recognizes the installed platform and shows it in the Tools > Board menu.
Since this behavior of "no package index, no platform" is kind of confusing, Arduino IDE 2.x recognizes platforms even when they are not present in any installed package index.
Thanks for the full explanation of what caused the problem
I have substituted the out of date link to the ESP32 boards in 2.0 with the same link as used by 1.8.13 and tried my test steps again and all is OK
You're welcome. I'm glad to hear it is working now.
I appreciate your feedback. The development on the IDE is very active right now (other than the inevitable lull to come during Christmas holiday) so this is definitely a good time for the community to get involved.
I am going to try 2.0 as my "daily driver" now that I have got Auto Formatting working closer to how I like it so there may be more feedback
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.