Skip to main content
Senior
September 11, 2024
Question

Random source files opening in CubeIDE when downloading firmware

  • September 11, 2024
  • 2 replies
  • 704 views

Hi,

every time I download the code from CubeIDE into the micro, a seemingly random file (every time a different one) opens up in the editor. More specifically it opens in the split editor area that is active when I press Run (i.e. left window or right window in the editor screenshot below).

Furthermore it opens only system/library source and header files like stm32l4xx_ll_adc.h, stm32l4xx_hal_tim_ex.c and stm32l4xx_hal_gpio.c and not the source files I created.

Any idea why and how to prevent it from doing that?

Thank you

Ricko_0-1726082073502.png

 

2 replies

padawan
Senior
September 12, 2024

Hi Ricko,

this is an old issue.

https://community.st.com/t5/stm32cubeide-mcus/jumping-to-random-file-after-pressing-run-button/m-p/246693

https://community.st.com/t5/stm32cubeide-mcus/stm32cubeide-1-14-0-gt-old-issue/m-p/612850

They tagged it as "solved" by opening a ticket.

They will fix it "asap" since over 4 years :(

padawan

 

Graduate
October 27, 2025

My solution is dragging all popup source window down to Console tab group. When you compiling, it will switch back to console tab anyway, so not annoying in the future.