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

We are pleased to announce that the release 1.19.0 of STM32CubeCLT is available. What is new in 1.19.0: Support for ST Arm Clang toolchainMaintenance of the previous versionUpdated in accordance with STM32CubeIDE v1.19.0 Main fixed issues in 1.19.0: ...

Resolved! [Resolved] STM32CubeIDE project creation issue

Updated post to reflect permanent fix Dear STM32CubeIDE user, Further to the recent STM32CubeIDE project creation issue, we would like to inform you that a solution is now available for you. This permanent fix applies to all STM32CubeIDE versions. I...

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

STM32CubeIDE 1.8.0: External Flash Loader problem

I wrote a qspi flash loader in STMCubeIDE 1.7.0 for STM32H7. I faced too many problems when i was developing flash loader. Anyway, while the flash loader i wrote was working in old version (st-link utiliy & STMCubeIDE 1.0.0) but it was not working in...

Eralp by Associate III
  • 600 Views
  • 0 replies
  • 0 kudos

Resolved! Basic link using F3?

I am coming at the cubeIDE as a newbie AND as a hardware guy. With that said can someone tell me why when I am on a function / header file / or even a #define that SOMETIMES when I hit the F3 on the keyboard I do not jump to the corresponding defini...

SWenn.1 by Senior III
  • 1037 Views
  • 4 replies
  • 0 kudos

Resolved! How to fix linker error with atomic compare_exchange_weak

I have an atomic variable and want to use compare_exchange_weak on it.But I'm getting the following linker error when compiling with STM32CubeIDE v1.8.0 (arm-none-eabi 9.3.1:(arm-none-eabi\bin\ld.exe: ./Core/Src/main.o: in function `std::__atomic_bas...

Chris F by Associate II
  • 3635 Views
  • 7 replies
  • 0 kudos

Debug with SWO and SWV in STM32CubeIDE 1.3.0

Hello, Is there any guide or manual how to use SWO and SWV in STM32CubeIDE? I found many discussions about this topic, but most of them were outdated or newer resolved. I believe that one part is to enabled SWV in debug settings, set the CPU and SWO ...

PHlin.1 by Associate III
  • 7374 Views
  • 14 replies
  • 1 kudos

Resolved! header with variable referenced more than twice

When I create libraries, sometime I forget create the variable in .c file and then write the same in header file with extern. I just create the variable in header file, and access to his from .c file and even from other libraries. IAR compiler warn t...

JCuna.1 by Senior
  • 2664 Views
  • 5 replies
  • 0 kudos

Resolved! How to use printf and scanf using uart for stm32h7 boards

Hello,I have been using the stm32h757i-eval board for a while. And I want to redirect the printf and scanf functions to the uart. I have referred the forum for the solution but couldn't find any helpful answers . I'm using stm32 cube ide (1.7.0). Kin...

Aarra.1 by Senior
  • 3190 Views
  • 6 replies
  • 0 kudos

CubeIDE 1.8.0 and C++17 support

Hello.CubeIDE 1.8.0 now includes STM32 toolchain based on GCC 10.3.1 which supports C++20, but the IDE still can't correctly parse C++17 syntax, like Class Template Argument Deduction guides. I tried to force '-std=c++17' option to Language Settings ...

Files left over from code geneation in StmCubIde

Hi everyone, Any of you experienced this strange behavour posted yesterday (see below)? It seems to happen to just one of my projects, and not all of the source files are affected (but still a substantial number of files). Any thoughts and experien...

Per4 by Associate II
  • 645 Views
  • 0 replies
  • 0 kudos

Resolved! Stm33cube ide with iar or Keil compiler

Recently I read that iar or Keil are better compiler than GCC. However I can not say the same for the IDE. So I don't want use another ide and I just want to use another compiler. Is that possible?​​

JCuna.1 by Senior
  • 962 Views
  • 1 replies
  • 1 kudos