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
  • 293 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
  • 4281 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'm extremely new to all of this. My goal is to connect 2 to 4 accelerators to a STM32F3DISCOVERY and record an event based on the rising edge of a signal. Any direction on this is much appreciated.

I picked the STM32F3 Discovery board because it has 4 ADCs that can supposedly record data at 5MSPS. I am new so a little direction on example code and which pins to use would be great. Im currently trying to be more familiar with the STM32CubeIDE...

MHawk.1 by Associate II
  • 1823 Views
  • 7 replies
  • 0 kudos

Placing string in a fixed memory address on flash

I want to place a variable at a fixed address on my flash memory:#define MYDEF "abcdefg" const u8 MY_CHAR[] __attribute__((section(".ARM.__at_0x0blabla"))) = MYDEF;this works with KEIL IDE, but I switched to STM32CUBE IDE and it is not working. The ...

DGo.1 by Associate II
  • 7507 Views
  • 7 replies
  • 0 kudos

Does the CubeIDE have the 'go' function in the debug mode?

Hello,In the debug mode,after step by step debugging(step over or step in)if I want to run the code from that step, not from the first step of my code,which function could I use?In case of the IAR, 'go' function is provided for this debugging.Thanks.

Kim.Andy by Associate III
  • 555 Views
  • 1 replies
  • 0 kudos

starting the debugger : (Read)Failed determine breakpoint type

When I start the debug environment in stm32CubeIde. I got the following error message:STMicroelectronics ST-LINK GDB server. Version 5.5.0Copyright (c) 2019, STMicroelectronics. All rights reserved.Starting server with the following options:       Pe...

Evan .1 by Associate II
  • 3249 Views
  • 6 replies
  • 1 kudos

What arm-none-eabi-gcc libm.a for STM32H753 bare-metal ?

hello,I'm working on bare-metal, free-standing software on STM32H753, build with arm-none-eabi_gcc v10. I'm starting to implement math function. First I noticed that the default libm.a (the one in <INSTALL_PATH>/arm-none-eabi-gcc/lib/libm.a is not co...

Gpeti by Senior II
  • 944 Views
  • 0 replies
  • 0 kudos

Resolved! STMCubeIDE 1.6.1 and ARM CMSIS 5.7.0 (DSP)

Hello, at the moment I try to make the DSP-Lib work, I’d like to switch to 5.6.0, but the IDE doesn’t let me “erase�? the package because it claims it is used. Ok, so tries to continue with it:Step1: I activated it:   Step2: I set the Symbols:__FPU_P...

0693W00000BdfDwQAJ.png 0693W00000BdfEBQAZ.png 0693W00000BdfE6QAJ.png 0693W00000BdfE1QAJ.png

stm32cubeIDE debugger running stm32f769 w/ freeRTOS tasks does not hit hard faults inside the faulty task , but later on scheduler restart , missing the error source info...

Hi all, I am working on stm32f769 project, running freeRTOS task, with stm32cubeIDE(1.7.0) debugger.The debugger does not hit hard faults inside the faulty task , but later, reporting scheduler restart in debug calling stack. That way I completely...

philsax by Associate II
  • 1510 Views
  • 3 replies
  • 0 kudos

Resolved! Strange behavior of STM32CubeIDE debugger

When I start the debugger of my program (c++), a function gets called even beforethe debugger halts at first default breakpoint (usually at HAL_Init).The name of this function is getElapsed (returns double, no parameters) and its apublic member funct...

KKase.1 by Associate II
  • 2046 Views
  • 8 replies
  • 0 kudos

Resolved! Can't run code without USB connection

Hello, sorry for asking this but I'm new to operating STM32 microcontrollers and the IDE it came with. I wrote a simple code to read the pin state and write to an LED once detected. All runs well on debugging. The problem for me is that when I unplug...

PSzcz.2 by Associate II
  • 1863 Views
  • 3 replies
  • 0 kudos