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
  • 296 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
  • 4316 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! Undefined referenece to error

Hi,from Properties -> Paths and Symbols i added file path to 'Include Directories'. Then, i added my source file and my header file to 'my_libs' which i created under project_name -> Drivers.When i call a function from library i see 'undefined refere...

STM32F303CCT6 OpAmp in STANDALONE mode, gain very low.

Hi all!, I have a electret microphone amplifier (see attached). The circuit works fine with a LM-358, but when I use the internal opamp from a STM32F303, the gain is very low. I use the STM32 opamp in STANDALONE mode. Is ther something I'm missing?I ...

JAlca by Senior
  • 803 Views
  • 0 replies
  • 0 kudos

How to set tool paths?

I attended a recent ST seminar and was delighted to see the improvements in STM32CUBEIDE! Worked great in the seminar and I completed all 6 projects using MEMS components.It's now been about a month and I'm wanting to spend some serious time with the...

doctek by Associate II
  • 752 Views
  • 1 replies
  • 0 kudos

Put 'mx.scratch' under source control?

After generating code for a migrated project (from TrueStudio & CubeMX), I noticed a new file 'mx.scratch' in the project's root.Is this a temp file that gets generated from other files or shall I take it under source control?

Hello, I'm usin STM32F042 nucleo-32 board, with STM32CubeIDE. I would like to test it with green led LD3 blinking. I've created a STM32F042 project, but in .ioc I can't set any pin to LED 3 (not listed).

And if I try to add "LED3_GPIO_CLK_ENABLE();" in main.c as it's done in "TM32Cube\Repository\STM32Cube_FW_F0_V1.11.0\Projects\STM32F042K6-Nucleo\Examples\GPIO\GPIO_IOToggle", I'm getting an error "undefined reference to `LED3_GPIO_CLK_ENABLE'". I hav...

undefined reference to `HAL_UART_Init'

I am trying to get UART working on a project for debugging purposes but I can't get my project to compile correctly. I have uncommented "HAL_UART_MODULE_ENABLED" in stm32f4xx_hal_conf.h but it seems to have no affect on my build at all. My Paths and ...

0690X00000AqtVXQAZ.png

IDE generates bad USB code

Has anyone had success generating working USB middleware in STMCube32IDE? To date, I've tried generating a VCP or an Audio Class device for the STM32H747-DISCO, Nucleo L452RE-P and Nucleo-L4R5ZI-P. Consistently, all fail after about 30 seconds, with ...