How to set up ST-Link V2 - platform ststm32

Uplading with ST-Link V2 seems to work reliably now.
However, after upload I always have to press the reset button, otherwise it won’t re-initialize the board.

Is there a way to make the st flasher to automatically reset the board after uploading?

Arduino IDE uses for the SMT32F103 devices the “ST-LINK_CLI.exe” command line utility (available under “.platformio\packages\tool-stm32duino\stlink”) to upload the binary. This has the “-Rst” argument which resets the board after upload.
But PlatformIO does not uses this tool for uploading, right?