How to make a Release configuration of CubeMX generated project?
Hello Tarek,
Checked on the Nucleo Board. There is no such problem at all. Just created project with Cube MX, compiled, downloaded and ran. Reset button resets the program and it starts again. With connecting to the USB port without using debugger it works without using debugger as well. Don’t even need Release configuration
Update: as soon as I disconnected internal debug interface on the Nucleo board form the µC (opened CN2), it started to behave the same way, i.e. does not start upon power on.
Did you try your basic project on the same/similar or on your own board?