This is a new project, made from scratch. It's a very basic blinky, only toggles the buzzer pins.
Everything else is untouched. If this doesn't work, I don't know what will.
The only options left would be the stm32 being defective or a crappy counterfeit?
I'll keep trying for a while, but it's a very slow process, needing local testing, uploading the tests, waiting for feedback, etc, I could run 1000 tests in 15 minutes, so consider letting me to debug it remotely if it keeps failing.
Otherwise, I can't spend much more time with this...