STM32 VL DISCOVERY (STM32F100RB) -- ST-Link/V1 -- problem uploading to target

Can you try invoking the platformio packaged stlink with the “-1” flag
See here

The “-1” flag forces stlink to use the V1 protocol. If manually invoking the st-util with the flag works fine then all you have to do is pass the requisite flags in platformio.ini file.