STM32CubeIDE generates an empty (bin<1kb) binary when re-generating project from CubeMX
Hello everyone,
For some reason, STM32CubeIDE generates a small binary, almost less than 1kb, after re-generating the project from CubeMX at certain point. Clean and build project didn't work. Project compiles successfully without any issue, however, the same incomplete binary is being generated over and over again. The only way to solve it was to remove the entire project from workspace and from disk, create a new project, generate project from CubeMX, then add my own sources from scratch.
The problem is this workaround doesn't last long as I need to re-generate the project from CubeMX many times and at certain time re-generating project from CubeMX corrupts the entire build and results in that weird binary.
Hopefully someone has something to say about it!
Thanks,
Zaher
