2020-06-25 6:27 AM
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.
2026-03-02 8:22 AM - edited 2026-03-02 8:35 AM
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.