Is CubeMX reliable at generating a "default" config for a discovery board?
Firstly come context:
I have seen some differences in my sandbox project between what CubeMX auto-generates for my STM32H745I-DISCO and working examples I can download from github. Different GPIO settings which seem significant, for example. The ST github demo code works, but the generated code doesn't (even when I add device specific config). I can hot swap the working parts out of github demo code into user sections of generated code to get things to function with the other generated stuff. Which seems not the idea!
I have also created a new project for this specific discovery board and let CubeMX go ahead and generate its idea of a default config for a project. When looking through some of the RAM timings and display settings in the resulting .ioc file (and being reasonably familiar with the normal settings now) what I am getting seems to be totally wrong. SDRAM timings all set to 16 cycles, display dimensions that are nothing like the board I have, or simply zero...
So my questions are:
Is my install borked?
Am I expecting too much?
Should I assume that even when CubeMX is aware of the board it is developing against that this just doesn't go all the way and you are still expected to complete the config for devices on the discovery boards?
Or am I missing something obvious?
I actualy want to use the Pinout & Config stuff in CubeMX and keep this code reasonably portable as I evalute different HW options. But tbh at this point I think I've spent more time troubleshooting this when I could just write this all manually using ST's own examples on github...
