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
  • 488 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
  • 6566 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...

Resolved! Turned off ADC still consumes energy

I'm using STM32L011F4P6 in CubeIDE. I toggle digital output pin PA2 hi/low every 10ms just to see if it works and it consumes 80uA when it runs. When I set another pin PA0 as analog input, the current consumption rises to 315uA. This is OK as I under...

dvhx by Associate II
  • 481 Views
  • 4 replies
  • 0 kudos

Resolved! Incorrect code generation with TOUCHSENSING

Hi there,I have found an issue in code generation where there is a mismatch between a variable declaration in tsl_user.h and its definition in tsl_user.c.The bug can be reproduced by following these steps:Create a new project using the board selector...

h7-v by Associate II
  • 685 Views
  • 4 replies
  • 1 kudos

logging into myST

Hi there,I am having some trouble logging into myST. Every time I try, I either get the same prompt or nothing happens, and i am unable to log in (image below). Is there a Solution to this 

yz_0-1748455861800.png
yz by Associate
  • 320 Views
  • 1 replies
  • 0 kudos

RC Receiver input not being picked up

 This is the code i am using to pick up input from RC receiver to then change pwm values, but there seems to be a problem. PWM's are unresponsive to RC receiver which is connected to timer 2 channels. Is the given code correct? could it be that HAL_D...

Screenshot 2025-05-28 at 22.46.07.png
Sonzaye by Associate
  • 298 Views
  • 2 replies
  • 0 kudos

Communicate NUCLEO-G070RB USART with SPI as MSB

Thank you always for your hard work,I needed 4 SPIs, so while exploring the board, I found a text that could make USART work like SPI, so I tried this with the NUCLEO-G070RB.The example I referenced is "USART_SyncCommunication_FullDuplex_DMA_Init" on...

yurim_1-1745200797854.png yurim_0-1745201521951.png
yurim by Associate II
  • 821 Views
  • 6 replies
  • 6 kudos

How to configure STM32CubeIDE to support C++ development?

1. How to configure the IDE to use g++ compiler to compile all the files includes "*.c" files in the project? Current it compiles the .c files by using gcc and .cpp by using g++ ...​2. If I rename main.c to main.cpp, the cube code generator will crea...

TLeaf by Associate II
  • 40833 Views
  • 55 replies
  • 10 kudos

Resolved! A problem with '-fcyclomatic-complexity'

I'm using kali linux and the latest version of arm gcc available on arm website and the latest CubeIDE. When I first set everything up everything was working fine, but then I created an empty project for another MCU(STM32 G030F6P6) and got the follow...

rambo by Associate
  • 6165 Views
  • 5 replies
  • 5 kudos