Hello,
I can’t find any answer about ST-LINK V3 compatibility with PlatformIO.
Any clue?
Thank you in advance.
Hello,
I can’t find any answer about ST-LINK V3 compatibility with PlatformIO.
Any clue?
Thank you in advance.
Documentation is available as usual.
When setting upload_protocol = stlink
(in supported platforms) in the platformio.ini
, PlatformIO will use its OpenOCD package to upload or debug with an STLink.
Example: Setting upload_protocol = stlink
in a board = blackpill_f103c8
(STM32F103C8) environment will use the board definition’s information from
and the code from
to invoke OpenOCD with -f interface/stlink.cfg -c transport select hla_swd -f target/stm32f1x.cfg
.
As then can be seen in OpenOCD code, the stlink.cfg
file handles all three STLink versions, including V3.
Thus it’s supported by OpenOCD and by extension supported by PlatformIO for uploading and debugging firmwares.