cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE release configuration issue

xgn
Associate II

Hello.

Having an issue regarding Release configuration on STM32CubeIDE v1.12.0.

I set up a new Build configuration "Release" with particular Debug level and Optimization level parameters set to None.

When I build this configuration and try to Run, I get back "No source available at .. random function name from code()" error and the code on the MCU is not working properly.

Seems it is trying to debug anyways, which I do not want (only load the code). Can't see where to deselect debug options more. As per "Startup" settings all parameters like "Set breakpoint at: main" and "Resume", etc, are grayed-out.

For the case ST-Link v2 is being used along with GDB option in the settings.

0 REPLIES 0