A recurring big problem with CubeMX (all versions. using v4.7/latest now)....
After making pin mapping and peripheral config changes, I run GENERATE CODE, as often I do. Too often I get this from CubeMX:
"The Code is successfully generated under (mypathname), but EWARM 6.70 project generation have (sic) a problem."
The EWARM 6.70 part is irrelevant - I use a much later version of EWARM.
It's telling me that all the sources were regenerated but it got some unsaid error when regenerating the IAR EWARM project files.
I don't know what I do that causes these errors to begin after many prior error-free sessions. No big changes in file/folder tree arrangement.
If I continue to ignore the error, I can get IAR to build and run with ST-Link OK. I dearly wish the error message would give some semblance of a clue as to the error that occurred.