When i encountered an issue with uploading to an ATTiny, i was referred to the 'boards.txt' file which solved the issue, and then i found that by modifying this file i could easily change the order in which certain options appear in the menu. That was great, now when i select an ESP8285 generic board, 128k SPIFFS is the default selection for the SPIFFS size (which is what i normally use) so chances of me accidentally overwriting the SPIFFS are greatly reduced.
Now i am looking to change the order in which the different packages show up on the list. Understandably i would prefer the boards that i use more often to be nearer to the top, and the ESP32 package with all it's varieties down the bottom. Anybody know in what file this information is kept ?
In other words, 'where are the links to the different boards.txt files stored ?'
I have moved the boards that I use mostly to the top to make them easier to select but be aware that any update to the boards will overwrite your changes
An example from C:\Users\Bob2\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\boards.txt
The packages show up in the same order as in the boards manager, but that is not the same order as in which the repositories are referenced in the preferences.
May it be that they show up in alphabetical order of the core name ? (eg Arduino, ATTiny, ESP32, ESP8266, MicroCore) That is actually fairly likely. Hmm maybe i can rename them....