I have been using IDE 1.8.19 for a long time and typically do NOT install updates suggested at startup. I recently installed IDE 2.1.1 and found I had a problem with the lack of compatibility with ESP Data Upload. So I reinstalled 1.8.19.
Somewhere along my path, I installed
C:\Users\iabar\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11\libraries\ESPmDNS\src
I'm focusing on the _2.0.11 libraries
Did these get installed because I tried IDE 2.x or because I accepted the updates when I reinstalled IDE 1.8.19?
I'm trying to write up the procedure and not sure of the source for this version of lib.
Hi @iabarryb. Regarding the libraries under the folder at this path:
These are bundled with the esp32 boards platform. They are installed an updated as part of that platform via the Arduino Boards Manager, rather than individually as is the case with the standalone libraries located under the sketchbook folder that you manage via the Arduino Library Manager.
So if the libraries were updated then you performed an update of the entire esp32 boards platform, which likely occurred at this point:
Since this is a 3rd party boards platform, it is necessary to add a special URL to the Additional Boards Manager URLs" field in the Arduino IDE preferences. That URL is provided in the esp32 platform's official documentation here:
Boards Manager allows you to select the specific version of the platform you want to install, and installing that specific platform version will also install specific versions of all the platform's bundled libraries. So if your project has a dependency on a specific version of one of those libraries, you can specify that the project user should make sure to install the version of the platform that contains the correct libraries.
I hope my explanation made things clear. If you still have any questions let us know and we'll try to provide further information on the subject.
Thanks. Exactly the answer I was looking for. I've been doing Ard/ESP for a reasonably long time and often avoid the updates, but this is an opportunity to make things better. I'm using the ESPmDNS with an IoT and its working well. Particularly now that I have the updated libs & tools.