cancel
Showing results for 
Search instead for 
Did you mean: 

Random source files opening in CubeIDE when downloading firmware

Ricko
Senior III

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 2
padawan
Senior II

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

 

HA5MI
Associate

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.