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
  • 508 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
  • 6912 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
  • 625 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
  • 968 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...

Stm32CubeIde and CMake

Hi!I have started with creating CMake build system for my project. I am using libraries generation in each folder and linking together where needed. Compilation is successfull. The problem is indexer. :Any ideas how to solve this problem without dupl...

Eiffel_0-1721513211067.png
Eiffel by Senior
  • 742 Views
  • 0 replies
  • 0 kudos

Resolved! debug error with stm32h755 on cube ide

I configured adc+dma of h755 on cubemx and generated code for cube ide.I compile (have not changed the code since it was created) and it's normal.However, when debugging, it runs to this line and cannot exit.H755 board is NUH755ZIQ$AT3, while I debug...

Screenshot 2024-07-19 155024.png
Ruồi by Associate III
  • 1575 Views
  • 4 replies
  • 0 kudos