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

I need to recompile and download project for automated test(With tool modified .cproject). What is the command line option to generate makefile? Please let me know the exact exe in the installation and how to call it. I am using STMCubeIDE1.8.0.

Hi,My automated test scripts runs over the weekend with multiple builds and different folder structures, which are downloaded and tested. I edit the .cproject for the paths and settings but I would like to autogenerate the makefile from command line ...

SMott.3 by Associate
  • 749 Views
  • 1 replies
  • 0 kudos

"#warning "FPU is not initialized"??? (Version: 1.9.0)

A warning called be ST generate source code remebers me,I have do solve the "FPU is not initialized"-problem.I haven't decided , wether I use or use not the FPU,but I haven't found any information, what I have to do when I use the FPU or use it not?C...

ULehm.1 by Associate III
  • 6480 Views
  • 3 replies
  • 3 kudos

Defining variable in assembly with STM32CubeIDE

I want to define a variable in assembly code and write it in R0 whit this code:__asm__( " var1 DD #123 \n" " ldr.w r0, =var1 \n" );but I have this error when compiling: "Error: bad instruction `var1 DD 123'"The compiler doesn't know...

Slh by Senior
  • 4530 Views
  • 10 replies
  • 0 kudos

Resolved! C++20 syntax is not being supported by STM32CubeIDE

I'm writing C++ code wih STM32CubeIDE. Version of IDE is 1.11.0 and it comes with arm-none-eabi-g++ version 10.3-2021.10 . The compiler has some of C++20 features and I'm using them in the code.The problem is some of them are not recognized by the ID...

0693W00000Y8JPbQAN.png 0693W00000Y8JQUQA3.png 0693W00000Y8JW3QAN.png
navidcity by Associate III
  • 5592 Views
  • 7 replies
  • 1 kudos

Why systick timer interruption is occurring correctly on a nucleoboard debug session but it is never ocurring when the same fw is on a same mcu based custom board?

I am stucked 4 days at HAL_systickInit part of a code that was generated by Cube MX. I'm using:CubeIDE 1.6.1HAL drivers firmware layerFreeRTOS Middleware Nucleo-F207zgCustom pcb (very simple circuit board --> write and read GPIO from 32pin connector ...

genisuvi by Associate III
  • 1188 Views
  • 2 replies
  • 0 kudos

Resolved! Is STM32CubeIDE including a simulator in the debug mode?

Hi,I am approaching for the first time with STM32nucleo board and I am using STM32CubeIde. The debug tool provides a simulator to test if the firmware is working properly? I mean a simulation tool like that of MPLAB IDE for PIC microcontrollers which...

Zenk91 by Associate II
  • 9857 Views
  • 4 replies
  • 0 kudos

Resolved! Measure VCC/Battery Voltage Without Using I/O Pin in stm32l010f4

I have a circuit with stm32l010f4 that has no ADC pin available because I am using them as digital GPIO, but I need to measure the battery voltage in my application, my question is if Vrefint can be used to make the measurement. I have already made t...

0693W00000Y8BXSQA3.jpg
jdo by Associate II
  • 6325 Views
  • 6 replies
  • 0 kudos

Does stm32cubeide debugger limit number of images to load?

Hi,I need to debug several axf files. In 'debug configurations' -> Startup, I added the axf files that contain debug information. It works fine but only up to 4 files. If I load 5'th file the debugger presents the message:"Failed to insert all hardwa...

ari_v2 by Senior
  • 1094 Views
  • 2 replies
  • 0 kudos

Using PE Micro universal and ST link for debugging STM32H7

I am using STM32H745BIT6 controller on my custom board and using STM32CubeIDE ver 1.11.I plan to use the PE micro universal debugger and ST link both alternately to program/Debug the controller. I already had setup the ST link in STM32CubeIDE v1.11 a...

ATank.1 by Associate III
  • 1305 Views
  • 1 replies
  • 0 kudos