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

We are pleased to announce that the minor version 2.1.1 of STM32CubeIDE is available. What is new in 2.1.1: This release covers the topics listed below: SEGGER J-Link GDB server updated to 9.24 to fix an issue with the Live Expression view during the...

Aimen1 by ST Employee
  • 1558 Views
  • 0 replies
  • 1 kudos

STM32CubeCLT 1.21.0 released

We are pleased to announce that STM32CubeCLT 1.21.0 release is available. What is new in 1.21.0: Maintenance of the previous version: Updated in accordance with STM32CubeIDE v2.1.0Update of Clang/LLVM toolchainUpdate of GCC to GCC 14Update of STM32Cu...

Aimen1 by ST Employee
  • 592 Views
  • 0 replies
  • 0 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...

Resolved! Auto incrementing a build number after each compile?

Folks,Is there a way to have a variable that is incremented each time the project is compiled? I can do this with Rowley Crossworks and it's really useful. I define and major and minor number then a build number gets incremented each time I compile a...

DiBosco by Senior II
  • 5462 Views
  • 4 replies
  • 3 kudos

"No rule to make target" error after STM32CubeIDE update

After update today STM32CubeIDE from v1.7.0 on 1.8.0 and after Debug the projectI was get this error information:make: *** No rule to make target '../Core/Startup/startup_stm32l476rgtx.s', needed by 'Core/Startup/startup_stm32l476rgtx.o'. Stop.I work...

MCUpwr by Associate III
  • 15466 Views
  • 3 replies
  • 3 kudos

Undefined Reference with CMSIS DSP and External Static Library

I am running into "undefined reference to `arm_fir_init_f32'" error when linking an external static library (libxensiv-radar-presence.a).I have added the CMSIS DSP static library and the external static to the project configurations. Other libraries ...

m1ng_0-1695828261246.png m1ng_1-1695828327069.png
m1ng by Associate
  • 3750 Views
  • 1 replies
  • 0 kudos

STM32F411RCT6: DEBUGGER STLINK/V2

Hi Team,SPI communication is established between STM32F411RCT6(master) with ADS1298(slave). When i run the code , then notfication came to console:Erasing memory corresponding to segment 0:Error: Operation exceeds memory limitsError: failed to erase ...

neelimas by Associate II
  • 3727 Views
  • 5 replies
  • 0 kudos

Resolved! HAL_I2C_Mem_Read get stuck on the line

Hi,I am using NUCLEO stm32f030r8 to communicate with LIS3DH accelerometer, connection is in such a way thatvcc - 3v3GND - GNDSCL/D15 - SCLSDA/D14 - SDAI want to read from who iam i register 0x0F, we use sparkfun board hence we checked SDO pin is givi...

Midhun by Associate II
  • 2722 Views
  • 4 replies
  • 0 kudos

Receiving data from peak device to stm32f103c8t6 using can.

Hello STM32 community,I hope this message finds you well. I'm currently working on a project where I need to receive data from a Busmaster connected Peak device using a STM32F103C8T6 microcontroller via the CAN interface. I'm relatively new to CAN co...

AKZORO by Associate
  • 2848 Views
  • 3 replies
  • 1 kudos

DEV_TARGET_RESET_ERR

It is an STM32F103C8T6 chip, and I am trying to connect it using st-link v3.Connects to SWD,(Connected VCC, SWCLK, GND, SWDIO 4pin)In STM32CubeProgrammer, it is connected normally and both read/write are possible.However, it does not work when debugg...

TX_WAIT_FOREVER doesn't in debug

I have a board design using STM32H743.I am using:STM32CubeIDEVersion: 1.13.2Build: 18220_20230914_1601 (UTC) running on:OS Name Microsoft Windows 10 EnterpriseVersion 10.0.19045 Build 19045System Type x64-based PCI am debugging an implementation of A...

How to add a existing folder to STM32CubeIDE project?

Hi,I copy a folder from other project to the STM32CubeIDE project, then do right click and "Refresh", The project explorer will add the folder to the project. I also the new folder path to the project path via "property->c/c++ build->setting->toolcha...

zqizh.1 by Associate III
  • 22825 Views
  • 4 replies
  • 3 kudos

How long can SWV trace log with PC Sampling run?

Im running a debug on a STM32F413CHUx, I'm to figure out the cause of an IWDG reset. To help me I'm running SWV Trace Log outputting the PC Sampling at a cycles per sample of about 16,000 (the highest option).I increased the trace buffer size to 2000...