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 older, after selecting any MCU or MPU when creating a new project, the STM32Cube option becomes greyed out. This means only empty projects can be created, and STM32CubeMX initialization is not available ...

SemerCHERNI_0-1752684873535.jpeg

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

Hi, I am using STEVAL-STLKT01V1 and NUCLEO-F303RE and need to run AudioLoop from ac6 System Workbench for STM32 Project. I imported the code and run it but I am getting this error: No source available for "main() at 0x8004304" What can I do?

This is what I have: The system works fine with DataLog. The problem is when I run AudioLoop. What I see is that the COM port is enabled with DataLog and then I run Putty and see the results in real time. However, the COM port is never enabled when I...

0693W00000FATePQAX.jpg
ARami.2 by Associate II
  • 415 Views
  • 0 replies
  • 0 kudos

Resolved! STMCubeIDE 1.7.0 configuration frozen

I have a project created by STM32CubeIDE 1.7.0. Its now impossible for me to change the device configuration, e.g. adding a new peripheral or change anything in a defined peripheral. The device configuration seems to work, but the code generator does...

EDoro.1 by Associate
  • 560 Views
  • 1 replies
  • 0 kudos

Resolved! Elf created but STM32CubeIDE cannot find

Hello I've created a project that has created an elf file: However, when I run debug on STM32CubeIDE I get the following message: Can anyone advise, please? I've not had this problem before with STM32G071, but am trying with STM32F413.Thanks

0693W00000F9xT5QAJ.jpg 0693W00000F9xTFQAZ.jpg
ron_w by Associate III
  • 3577 Views
  • 3 replies
  • 0 kudos

Does STM32CubeIDE generate a target arch macro?

I'm looking for something like __TARGET_ARCH_6_M or __ARM_ARCH_6M__ from my G0 project but don't see anything. Is this done by the IDE based on the selected target hardware, or would I need to add a preprocessor macro manually to my project?

Konami by Senior II
  • 529 Views
  • 2 replies
  • 0 kudos

I generated a simple project with STM32CubeMX When I compile that project I get: make: *** [Src/subdir.mk:27: Src/main.o] Error 3 "make all" terminated with exit code 2. Build might be incomplete.

I have the foll. settings:Properties...C/C++ Build...Tool Chain Editor...Current toolchain: Cross GCCProperties...C/C++ Build...Environment...PATH: C:\ST\STM32CubeIDE_1.3.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.make.win32_1.1.0....

DNeet.1 by Associate II
  • 757 Views
  • 3 replies
  • 0 kudos