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

We are pleased to announce that the minor version 2.1.1 of STM32CubeIDE is available. What is new in 2.1.1: This release covers the topics listed below: SEGGER J-Link GDB server updated to 9.24 to fix an issue with the Live Expression view during the...

Aimen1 by ST Employee
  • 1549 Views
  • 0 replies
  • 1 kudos

STM32CubeCLT 1.21.0 released

We are pleased to announce that STM32CubeCLT 1.21.0 release is available. What is new in 1.21.0: Maintenance of the previous version: Updated in accordance with STM32CubeIDE v2.1.0Update of Clang/LLVM toolchainUpdate of GCC to GCC 14Update of STM32Cu...

Aimen1 by ST Employee
  • 587 Views
  • 0 replies
  • 0 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 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
  • 893 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
  • 1892 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
  • 6071 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
  • 11068 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
  • 4278 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
  • 5153 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
  • 1062 Views
  • 0 replies
  • 0 kudos