STM32 programming through CP2102


I have a problem with configuring my platformio config file.

I have a STM32F103 Bluepill and had a ST-LINK.

I want to program my STM32F103 with CP2102 (USB to UART bridge) the same way I do it through the Arduino IDE.

How do I configure platformio to work with the CP2102?


board = ...
upload_protocol = stlink