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

C++ Startup file

I would like the interrupt handlers to be written in the C ++ style, that is, they are static classes, but there is practically no information on the Internet about where to get a C ++ startup file or how to make it yourself. Has anyone encountered s...

AKlep.1 by Associate II
  • 1129 Views
  • 2 replies
  • 0 kudos

arduino shiftIn function to STM32CubeIDE

I made a test code in arduino to read SSI. How can I make the shiftin function work correctly in the stm32 controllers? . In the stm32cubeIDE I can't manage to make it work like in the arduino ide.In the shiftin function the variables: data_pin, cloc...

YTimm.1 by Associate II
  • 1075 Views
  • 1 replies
  • 0 kudos

CubeIDE Execute command before debug

Hi,i would like to execute command after i click the debug icon, but before the debug starts.In particular:I have an app with a bootloader. The bootloader check the CRC of the firmware before start it.Right now i generate, thanks to post build operat...

LSpad.1 by Associate III
  • 1802 Views
  • 3 replies
  • 0 kudos

STM32CubeIde support C++17

I tried to find information on the internet, but I couldn't find anything. Replacing files in the plugins folder does not give the desired result. Is CubeIDE able to support C ++ 17?

AKlep.1 by Associate II
  • 527 Views
  • 1 replies
  • 0 kudos

Resolved! Replace across all code files in project

Is there a way to do a Find/Replace across all the code files in a project or group of projects?i.e. change a variable name in a project or in all open projects?Paul

Paul1 by Lead
  • 2563 Views
  • 4 replies
  • 0 kudos

[BUG]Unable to run SWV on STM32F746 Nucleo board

Use STM32CubeIDE 1.4.2STM32CubeMX 6.0.1Windows 10 1903First of all generated ioc for truestudio 9.3. In main implement new _write function:int _write(int file, char *ptr, int len) { /* Implement your write code here, this is used by puts and printf f...

0693W0000059jflQAA.png 0693W0000059jgZQAQ.png 0693W0000059jkbQAA.png
GShch.1 by Associate
  • 399 Views
  • 0 replies
  • 0 kudos

Question about ioc file.

When modified the value of the ioc file, STM32CubeIDE creates the code.Conversely, if I modify the code, is there a way to reflect it in the ioc file?For example, if I change the PLLM value to 25 in the code, I want to automatically change the PLLM v...

SHong.4 by Associate
  • 434 Views
  • 1 replies
  • 0 kudos

Some issues with STM32CubeIDE and STM32H747

1) In all of the examples the project explorer shows the CM7 code greyed and crossed out because "exclude from build" is checked. It is clearly not excluded from the build as this is the main code for the example. I presume this is some fiddle to all...

AStew.1 by Associate II
  • 561 Views
  • 2 replies
  • 0 kudos