CubeMX and C++
Hi all,
once again I stumble across CubeMX being so inflexible in its code generation.
I use CubeMX to generate initialization code but I'm also using C++ and that's where CubeMX has major downsides.
For example it is still not possible to tell CubeMX to generate the MX_XXX_Init function calls anywhere but in main.
Further more an option to add a simple pointer to all HandleTypeDefs which is free to use would help a lot.
From my experience STM HAL drivers are actually working pretty much ok but sometimes the are based on assumptions that a either flawed or don't apply in the project context.
Hence you have to write your own driver.
Just a simple pointer so I can pass additional information together with the handle struct would make life much easier especially when trying to implement a driver as C++ class.
To any ST employee reading this:
Are there any plans to make CubeMX more flexible?
To all users of CubeMX:
What would you really like ST to change in CubeMX?
BR
