Description
Describe the bug
Display and selection of com port is mixed up in what looks like a cartesian join the variant options.
The official STM32 core has multi layered board selection for example you first select "Generic STM32F1 Series" then you select the specific "Board part number" which is the variant. You can also select the COM port separately as shown in the below image:
However in the new IDE2.0 the port is duplicated for every possible variant. which suggests your unique key is not unique.
What is also strange is that if you select any of them they all get selected and the same when deselecting
To Reproduce
Steps to reproduce the behavior:
- Add additional boards URL "https://github.com/stm32duino/BoardManagerFiles/raw/master/STM32/package_stm_index.json"
- Install STM32 core
- attach board (I am using Generic STM32F103RET6)
- Select a generic series
- Look at ports
Expected behavior
As variant selection is another menu option the COM port selection should only show com ports and only once.
Desktop (please complete the following information):
Windows 10
Did further investigating, the com ports showing the STM32F103 items does not change even if you select a different generic series .