Looks like your platform is broken
- close VS Code
- delete
.platformio\packages\framework-arduinoststm32
- delete
.platformio\packages\framework-cmsis
- delete
.platformio\packages\gccarmnoneeabi
- delete
.platformio\platforms\ststm32
- start VS Code
- reinstall the STM32 platform
where .platformio
is located at C:\Users\<username>\
I have followed the steps but the problem is not resolved
Open a Core CLI and execute
mkdir test_project
cd test_project
pio init -b genericSTM32F103C6 --ide=vscode
what’s the output?