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
  • 1087 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
  • 472 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! 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
  • 3673 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
  • 3297 Views
  • 7 replies
  • 1 kudos

how to get compile_commands.json from CubeIDE

A lot of new helpful tools can do something with the code (for example check dependencies etc) based on "compile_commands.json" - is there an option to generate this file in CubeIDE?

dambo by Associate II
  • 2277 Views
  • 1 replies
  • 0 kudos

_malloc_r trap

HiI suddenly have a strange trap, even if i go back to a working version in Git. Any Ideas? Thanks and cheers 

MFh1_0-1708792532241.png
MFäh.1 by Associate II
  • 3500 Views
  • 7 replies
  • 0 kudos

unable to include <string.h>

So most all of code is building, then I went to add usage of strtok, which requires string.h.Unfortunately I get this really odd error.  Its claiming strncasecmp is redefined.   In file included from C:\ST\STM32CubeIDE_1.13.1\STM32CubeIDE\plugins\com...

Resolved! I cant create signals with different frequencies using timer.

Hi, I want to make an application in which 4 different signals to be produced with different frequencies. I am using timer output compare mode. My board is STM32F407VG-DISC1, so I use on board LEDs as TIM4_Channel1, TIM4_Channel2, TIM4_Channel3 and T...

demir_0-1708539064744.png
demir by Senior II
  • 5623 Views
  • 7 replies
  • 1 kudos