Please correct AVR board packages documentation

That folder is not used in any way by Arduino IDE 1.x, so it is not relevant.

As for Arduino IDE 2.x, that is expected. This folder is dedicated to the storage of the logs generated while the IDE runs.

Only for some definitions of "fresh".

If you delete that folder, you will remove the following things:

  • boards platforms you installed via Boards Manager and the "Arduino AVR Boards" platform automatically installed on the first run
  • the "built-in" fundamental libraries that are installed on the first run
  • cached archive files from the platform and library installations

If that is all you wanted to "freshen", then mission accomplished. However, significant files are stored in other folders, so this will not achieve a true simulation of a fresh installation. We already have an example of that in this topic alone. If you wanted to simulate a "fresh" installation to test the automatic first run installation of the "Arduino AVR Boards" platform, deleting C:\Users\xyz\AppData\Local\Arduino15 would not be sufficient since the database file where the theia:initializedLibsAndPackages flag data is defined is stored in a different folder, and so you would find that deleting C:\Users\xyz\AppData\Local\Arduino15 will not cause Arduino IDE to perform that first run installation again.

Then you must delete the C:\Users\xyz\AppData\Roaming\arduino-ide folder.

Because you didn't clear the flag that tells Arduino IDE it already performed the automatic first run installation of the "Arduino AVR Boards" platform.

1 Like