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

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...

STM32CubeIDE 1.18.1 released

We are pleased to announce that the minor release 1.18.1 of STM32CubeIDE is available. What is new in 1.18.1: This minor release will not bring any major updates to the STM32CubeIDE 1.18.1. It will be aligned with the STM32CubeMX 6.14.1. Main fixed i...

STM32CubeIDE 1.18.0 released

We are pleased to announce that the release 1.18.0 of STM32CubeIDE is available. What is new in 1.18.0: Microcontrollers, microprocessors, and board lists aligned with STM32CubeMX 6.14.0: Added the support for STM32WBA6xxx microcontrollers in the STM...

Division by zero

Is there a way to prevent a crash while there is a division at zero.For example when there is a division by zero it will return zero

Ecohe by Associate II
  • 3470 Views
  • 11 replies
  • 0 kudos

Hi, I have an issue seeing the external flash loader files that I have copied into the appropriate folder, from STM32CubeIDE? Thanks, Will.

Copied my .stldr file into the directory below:-C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\ExternalLoaderbut it doesn't appear in STM32CubeIDE after I have scanned for new files in the debugger. I believe my files permissio...

WScot.1 by Associate II
  • 333 Views
  • 0 replies
  • 0 kudos

Resolved! How to add .cpp and .h files to the project of stm32cubeide?

1) I added to folder Core/Inc file my_lib.h2) Added to folder Core/Src file my_lib.cpp3) I added #include "my_lib.cpp" to main.cppIn tmy_lib.cpp I have only one class for testing. This class works with PWM. When I compile project I get errors that su...

OMaka.1 by Associate II
  • 3216 Views
  • 4 replies
  • 0 kudos

STM32CubeIDE V1.7.0, modulo arithmetic => Compiler Error?

Since 25 years I use functions or macros like #define usTimeRead() ((int16_t) (SysTick->VAL >> 1))   #define usTimePlus(TP, US) ((int16_t) TP - ((int16_t) US * (int16_t) 85))   #define usTimePast(TP) (((int16_t) TP - usTimeRead()) > (int16_t) 0)t...

ULehm.1 by Associate III
  • 3829 Views
  • 11 replies
  • 0 kudos