Tools->Board part number menu does not change #1258
Labels
conclusion: duplicate
Has already been submitted
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
When a board is added or removed, this is shown in the menu Tools->Boards part number sub-menu.
For example, I added a new board, but this change does not show up in this menu, nor does the menu change
if remove a board.
To reproduce
Open the /home/bekr/.arduino15/packages/STMicroelectronics/hardware/stm32/2.3.0/boards.txt
and comment out, e.g., one of these STM32 boards in the STM32 variant file, i.e., boards.txt, by inserting # at the beginning of each line.
Exit, restart IDE, and select Tools->Boards: STM32 Generic G030 series.
Open Tools->Board part number: "some board", and open sub-menu.
The commented board should have disappeared. However, for IDE 2.0, the board has not disappeared as the attached images show; it works as expected in IDE 1.8.19.
As an alternative test, add a new board D1mini G031F6 with the following
definition. Again, this only works in IDE 1.8.9. For this second test,
add a new board by inserting the following text before the Generic G031F6x board.
This new board should be visible in the Tools->Board part Number: "some board" - sub-menu.
Works as expected in IDE 1.8.19 but not yet in IDE 2.0.
Expected behavior
Any addition or removal of boards should be updated in the sub-menu of Tools->Board part number.
Arduino IDE version
Arduino-ide_nightly-20220726_Linux_64bit
Operating system
Linux
Operating system version
Debian 11 (Bullseye)
Additional context
Issue checklist
The text was updated successfully, but these errors were encountered: