Interesting that some (?) dfu-util
versions can’t handle the multiple -d
switches. Especially if the right one is already the first one.
The code constructs this command from the data in the board file:
So all hardware IDs are concatinated into this list.
So you could find the file locally (C:\Users\<user>\.platformio\platforms\ststm32\boards\giga_r1_m7.json
and replace that hwids section with just
"hwids": [
[
"0x2341",
"0x0366"
]
]