Closed
Description
Describe the bug
Com port selection for IDE is not working because CLI is returning multiple rows t, It should look like this when you connect an STM32 board:
What is also strange is that if you select any of them they all get selected and the same when deselecting
With just one bluepill connected CLI returns multiple rows:
c:\Program Files (x86)\Arduino_CLI>arduino-cli board list --format json
[
{
"address": "COM5",
"protocol": "serial",
"protocol_label": "Serial Port (USB)",
"boards": [
{
"name": "Maple Mini",
"FQBN": "stm32duino:STM32F1:mapleMini",
"VID": "0x1EAF",
"PID": "0x0004"
},
{
"name": "Maple (RET6)",
"FQBN": "stm32duino:STM32F1:mapleRET6",
"VID": "0x1EAF",
"PID": "0x0004"
},
{
"name": "Generic STM32F103C series",
"FQBN": "stm32duino:STM32F1:genericSTM32F103C",
"VID": "0x1EAF",
"PID": "0x0004"
},
{
"name": "Generic STM32F103T series",
"FQBN": "stm32duino:STM32F1:genericSTM32F103T",
"VID": "0x1EAF",
"PID": "0x0004"
},
{
"name": "Generic STM32F103Z series",
"FQBN": "stm32duino:STM32F1:genericSTM32F103Z",
"VID": "0x1EAF",
"PID": "0x0004"
},
{
"name": "Microduino Core STM32 to Flash",
"FQBN": "stm32duino:STM32F1:microduino32_flash",
"VID": "0x1EAF",
"PID": "0x0004"
},
{
"name": "Generic STM32F103R series",
"FQBN": "stm32duino:STM32F1:genericSTM32F103R",
"VID": "0x1EAF",
"PID": "0x0004"
},
{
"name": "HYTiny STM32F103TB",
"FQBN": "stm32duino:STM32F1:hytiny-stm32f103t",
"VID": "0x1EAF",
"PID": "0x0004"
},
{
"name": "Maple (Rev 3)",
"FQBN": "stm32duino:STM32F1:maple",
"VID": "0x1EAF",
"PID": "0x0004"
},
{
"name": "Generic STM32F103V series",
"FQBN": "stm32duino:STM32F1:genericSTM32F103V",
"VID": "0x1EAF",
"PID": "0x0004"
}
]
}
]
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)
- Look at ports or run CLI list
Expected behavior
If multiple uC are using the same PID/VID then should it be somthing Generic and Unique from the CLI like "STM32F103 Series"
Desktop (please complete the following information):
Windows 10