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
  • 1554 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
  • 588 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...

"Search" is not working in the STM32cube ide

Hi ,I am using the STM32 cube ide 1.12.0 version and the "search" CTRL+H was working earlier .Now this is not working .I have used the shortcut key ALT+SHIFT+Q+S still not working .. 

sshan2_0-1687792779113.png
sshan.2 by Associate III
  • 2994 Views
  • 3 replies
  • 2 kudos

Resolved! Issues on Debugging External Application Using ST-Link

Hi,I am trying to debug an external application with an ST-Link coming together with my Nucleo-G070RB board. I tried all three available debugger probes in CubeIDE:  ST-Link (Open-OCD), ST-Link (ST-Link GDB Server), and Segger J-Link. they all failed...

Chao_0-1708961764789.png Chao_1-1708962559193.png
Chao by Senior II
  • 7037 Views
  • 8 replies
  • 0 kudos

Resolved! Build STM32 mcu with yocto

Hey everybody, I am a little bit confused about the GNU Tools for STM32. (https://github.com/STMicroelectronics/gnu-tools-for-stm32) You are using this ST gnu tool inside the stm32cube IDE too compile all example applications.But when I build the sam...

BBoge.2 by Associate II
  • 5899 Views
  • 2 replies
  • 0 kudos

Compilation error in STM32F407VET6 board

Info: Internal Builder is used for buildgcc -O0 -g3 -Wall -c -fmessage-length=0 -o "Core\\Src\\system_stm32f4xx.o" "..\\Core\\Src\\system_stm32f4xx.c" ..\Core\Src\system_stm32f4xx.c:48:23: fatal error: stm32f4xx.h: No such file or directory#include "...

mr_vineet by Associate II
  • 2402 Views
  • 2 replies
  • 1 kudos

Should main return 0 when there is a while(1) ?

Hi all,I'm programming an embedded software.According to C standards, I write :   int main(void) { // Init initMethod(); /* Main loop */ while (1) { execute(); } // This return is never reached return 0; }  B...

Remi99 by Associate II
  • 5623 Views
  • 13 replies
  • 3 kudos

Resolved! stm32h735 HyperRAM extern memory

Hello friends at ST,I'm trying to configure the external memory on an STM32H375 board using CubeIDE, but I'm not achieving success.Let me explain how I'm doing it: I enable OCTOSPI2, set it to HyperBus mode, choose port 2, and configure the correspon...

HispaEmo_0-1708693942809.png HispaEmo_1-1708693999704.png HispaEmo_2-1708694143799.png
HispaEmo by Associate III
  • 3823 Views
  • 4 replies
  • 5 kudos

Resolved! Phantom 16bit variable inserted by compiler in struct?

Hi, I have a very weird problem. I will narrow it down as much as I can. STM32F767.I have a struct with various variables, total is 30 bytes. But somehow, the sizeof(struct) is 32! typedef struct { uint32_t var1; // 0int16_t var2; // 4int16_t var3; /...

unit tests STM32

Hello you,I'm currently struggling with unit tests and wanted to know if anyone has ever tried to integrate them into the stm32 ide or asked if this is even possible. I would also like to use mocks to test the whole thing without hardware. Please get...

Resolved! Upgrade STM32CubeMX from 6.7.0 to 6.8.1 in STM32cubeIDE 1.11.0

Hello,I am using the system with below kernel version.Linux version 4.4.0-210-generic (buildd@lgw01-amd64-009) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12) ) #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 I have installed STM32CubeIDE g...

Vidhi_V_0-1708006429194.png
Vidhi_V by Associate II
  • 3466 Views
  • 7 replies
  • 1 kudos