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.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
  • 2127 Views
  • 0 replies
  • 3 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...

STM32CubeIDE - bug in compiler

Hi all,You have one small bug in your compiler.When I create macro like that:#define CONV_STR2DEC(str, i) (str[i]>'0'?str[i]-'0':0)const uint32_t version = CONV_STR2DEC(__TIME__, 6);IDE return info that "initializer element is not constant" what is n...

Resolved! PRE-Build problem

HI. Im calling a exe file from CubeIdeit worked fine in true studio but now I get this -@echo in my file name. can anyone tell me what Im doing wrong and how to avoid it

0693W000007EW75QAG.png 0693W000007EW7AQAW.png
spa23 by Associate III
  • 965 Views
  • 3 replies
  • 1 kudos

Resolved! New ST32MX prjoject goes straight to HardFault_Handler

Hi All,I have created a new ST32IDE/ST32MX project for controller STM32G473CET6-01 at my own PCB.USART, CRC and FREERTOS is added .This project compiles fine, but the moment i press the debug button ,it goes straight to void HardFault_Handler(void) ?...

0693W000007EZPqQAO.png
sde c.1 by Senior II
  • 1238 Views
  • 4 replies
  • 0 kudos

STM32CubeIDE + FreeRTOS + newlib = HardFault!

STM32CubeIDE + FreeRTOS crashes newlib nano calls in multithread environment with sprintf("%f"). Any strtok, sprintf and other malloc calls crashes. Also USB-LL malloc calls in ISRs are not good either.newlib reentrant doesn't helpnadler solution fro...

RaJa by Associate II
  • 1695 Views
  • 4 replies
  • 0 kudos

STM32CubeIDE and UHD/4k screen

Hello,I know that these questions are far too easy for this forum, but a few days ago I destroyed all of the IDE settings several times when I tried to change these settings.First of all, the platform and environment used: Ubuntu Linux 20.04.2 and th...

I have a problem with USB working properly - USB CDC (Virtual Com Port) with CubeMX HAL after disconnecting the USB cable and connecting again.

HelloI have a problem with USB working properly - USB CDC (Virtual Com Port) with CubeMX HAL after disconnecting the USB cable and connecting again.For the test I created a project similar to the one presented here - https://www.youtube.com/watch?v=A...