I’m missing something to make code generated from the latest CubeMX to work correctly in PIO.
It compiles, it runs, but the timings are not correct.
A HAL_Delay(500ms) call takes approx 1.5 seconds when compiled with pio. Runs ok compiled with CubeIDE.
I don’t know how to dump the env of a CubeIDE project neither so I’m kind of stuck there for now. I’m starting to dig more into it but if someone has a clue it is welcome.