Unfortunately, I cannot give you an answer to your actual question.
But I have noticed that your platformio.ini
contains duplicate or contradictory entries.
bblanchon/ArduinoJson@^6.21.0
bblanchon/ArduinoJson@^6.21.0
khoih-prog/STM32_PWM @ ^1.0.1
khoih-prog/STM32_PWM @ 1.0.1
Please also note that the khoi-prog/STM32_PWM
repository is archived and no longer maintained (see github.com/khoih-prog/STM32_PWM).
For better readability, please use preformatted-text when posting the content of a file.