cancel
Showing results for 
Search instead for 
Did you mean: 

Jumping to random file after pressing Run button

GeneralTao
Associate II

Hello. When I press to Run (Run main.c) button, STM32CubeIDE opens random file, possibly, from current repository, for example: startup_stm32l452xx.s, core_cm4.h etc...

Code is loading successful, but this side effect bothers me.

I would like to disable this function. How can I do it?

If you need more information about this behavior please, ask.

Thank you for reading.

230 REPLIES 230
PHolt.1
Senior III

That linked workaround works for me.

A bit of a bodge indeed :)

You have to do both steps otherwise you get this popup

It works to stop the startup...s file only however. That file pops up when you do a project build (F11). It does not prevent other files popping up when you do e.g. a restart with 

Those other files are whatever piece of code the CPU was running when the above button was pressed. Mostly it is a particular piece of FreeRTOS code (in my case) and in principle you could do the same "suppression exercise" on that.