The first thing that comes to mind is to develop a generic application in STM32Cube MX. There you can generate everything for the three development environments, and quickly add typical devices like the wolf run slot machine free website. Well, that’s true, but:
If you look at the examples of applications, created through CubeMX, you will see, that after their automatic creation you still need to finalize them with a file. That is, time is saved but not to the maximum.
You must create a project for each development environment individually, although all three will be in the same working directory.
In today’s Cube MX environment I can not see the possibility of adding work via STemWin, while the texts are faster to output through it (when the article was uploaded to Hubr, but not yet published, I found that the restless STemWin has replaced by TouchGFX, but still the other two points are also weighty).
Actually this is enough to put this option in reserve and look around to see if there are simpler solutions... Turns out there are, and they’re also related to Cube MX. Everyone, who worked with this environment, knows, that it consists of basic code and packages, serving the specific family of controllers.