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 STM32Cube project creation issue

Description In STM32CubeIDE version 1.18.1 and earlier, after selecting any STM32 target when creating a new project, the STM32Cube option becomes greyed out. This prevents creating STM32CubeMX-based projects, allowing only empty projects. How to Re...

GhofraneGSOURI_0-1753106154077.png

STM32CubeIDE 1.19.0 released

We are pleased to announce that the release 1.19.0 of STM32CubeIDE is available. What is new in 1.19.0: Microcontroller, microprocessor, and board lists aligned with STM32CubeMX v6.15.0:Added the support for STM32MP21xx microprocessors to the STM32MP...

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

USBX improper code generation

After editing the .IOC file, the code generator will mess up the app_usbx_device.c\MX_USBX_Device_Init() function by placing the codeif (ux_device_stack_initialize(...)right after the variable declarations at the top of the function.Typically, that f...

WDobb.1 by Associate II
  • 797 Views
  • 4 replies
  • 4 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
  • 338 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
  • 150 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
  • 160 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
  • 494 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
  • 35384 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
  • 4972 Views
  • 5 replies
  • 4 kudos

Resolved! STM32-L4A6 with OV5640

Hello Community!I am a newcomer to STM and am currently trying to control the OV5640 with the STM32-L4A6 (NUCLEO-L4A6ZG).Unfortunately I have no success and cannot establish communication. I am biting my teeth out and am in urgent need of support. I ...

nicola3 by Associate II
  • 10928 Views
  • 10 replies
  • 0 kudos