STM32CubeIDE (MCUs)

Ask questions on STM32CubeIDE. Discuss how to build, debug, configure, and optimize your project as well as how to use our software tools.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeCLT 1.20.0 released

We are pleased to announce that STM32CubeCLT 1.20.0 release is available. What is new in 1.20.0: Maintenance of the previous version: Updated in accordance with STM32CubeIDE v2.0.0Update of Clang toolchain version 19.1.6Update of GCC 13.3.rel1Update ...

Aimen1 by ST Employee
  • 257 Views
  • 0 replies
  • 0 kudos

STM32CubeIDE 2.0.0 released

We are pleased to announce that STM32CubeIDE 2.0.0 release is available. STM32CubeIDE is now independent from STM32CubeMX. With this release, device configuration, previously handled within STM32CubeIDE via STM32CubeMX, is now exclusively available t...

Aimen1 by ST Employee
  • 3933 Views
  • 0 replies
  • 4 kudos

STM32CubeIDE 2.0 release - early heads-up!

Starting from the release in November 2025, STM32CubeIDE and STM32CubeMX will be available exclusively in their standalone versions. STM32CubeMX will no longer be integrated inside STM32CubeIDE. Instead, the two tools will be interoperable in the sam...

DBGMCU_CR_DBG_STOP setting ignored

Setting DBGMCU->CR.DBGMCU_CR_DBG_STOP should allow debugging in STOP mode; eg, from ST examples: /* Allow debugging in Stop Mode */ DBGMCU->CR |= DBGMCU_CR_DBG_STOP; /* Enter Stop Mode */ HAL_PWR_EnterSTOPMode( PWR_LOWPOWERREGULATOR_ON, PWR_S...

AndrewNeil_0-1701710496575.png

Cubeide deletes files if disk is full

So weird behaviour: my disk was running full, while i was modifying a file. When trying to save instead of aborting it just emptied the whole file, what a *** weird behaviour, other editors would just do nothing. 

TwixMeow by Associate
  • 599 Views
  • 1 replies
  • 0 kudos

Extern variable error

Hello,I'd like to use some extern variables in my code, but I always get the error "undefined reference to ..." and I can't find what I am doing wrong.In the timer.h file I declare the variable as: extern volatile uint8_t start_adc_flag;I included th...

.ioc nightmare on Linux

Can someone please shed some light on why opening an .ioc file on Linux is like Russian roulette. Sometimes it works, sometimes you get a blank screen, sometimes nothing at all and sometimes 'Yes!!! it's working'.Running IDE 1.16.0 on Linux Mint 21.3...

FFont.2 by Associate II
  • 936 Views
  • 2 replies
  • 0 kudos

Resolved! Can't override a '__weak' function

Hi,I write my own 'void HAL_SPI_TxRxCpltCallback(SPI_HandleTypeDef *hspi)', intend to override the default weak one. But when debug, my version is never called, it always steps into the 'weak' one. I'm new to CubeIDE, the version is 1.16.0, any sugge...