Description
Describe the problem
Changing board does not update partition scheme selection in the GUI - IDE 2.0.4
To reproduce
Example using ESP32 board manager installed.
Using Menu/Tools/Board/esp32/ select any board
Then view the partition schemes available for that board under Menu/Tools/Partition Scheme.
Note the list.
Now select a different board
The partition schemes do not update correctly from the boards.txt file.
Used process monitor to ensure the correct boards.txt is being read when the IDE first starts.
Expected behavior
The GUI should update and present the specific list of partition schemes for the selected board. It does not.
One can also test this by editting the boards.txt and adding some custom schemes. They will not appear in the GUI. However, these feature works perfectly in IDE 1.8.19
Arduino IDE version
2.0.4-nightly-20221208
Operating system
Windows
Operating system version
11
Additional context
No response
Issue checklist
- I searched for previous reports in the issue trackerI verified the problem still occurs when using the latest nightly buildMy report contains all necessary details
Activity
per1234 commentedon Dec 10, 2022
Hi . Thanks for taking the time to submit an issue.
Even though your report implies that the Tools > Partition Scheme menu never reflects differences in the menu options from one board to another, my experiment showed this is not so:
So in fact the menu does reflect the correct options from the unmodified board definition.
The problem becomes more clear from your statement here:
I see we have another report about this at #1030.
It is best to have only a single issue per subject so we can consolidate all relevant discussion to one place, so I'll go ahead and close this in favor of the other.
If you end up with additional information to share, feel free to comment in the other thread.
[-]Changing board does not update partition scheme selection - IDE 2.0.4[/-][+]Changing board does not update partition scheme selection[/+]boards.txt
are not picked up #1030illigtr commentedon Dec 10, 2022
Adrianotiger commentedon Dec 15, 2022
Boards info are cached in:
%APPDATA%\arduino-ide\Local Storage\leveldb
If you delete the *.ldb files inside this folder it works (at least for the partition schemes). But you need to set again all settings for your board.