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

Macro for different DMA types

I am making an application using the STM32 drivers. Currently, I am using the following macro defined in the 'Device' drivers to distinguish the chip families: /** * @brief STM32 Family */ #if !defined (STM32F4) #define STM32F4 #endif /* STM32F4...

AShetty by Associate II
  • 836 Views
  • 2 replies
  • 0 kudos

ST Cube Ide bad ELF programming from debugger.

Good morning,we have a problem with ELF file loading. We are using an STM32U575 MCU on a Nucleo board.In particular:the location 0x0802A61B in the ELF file is set at 0x00 (we see it by open the ELF file with Cube Programmer).1) If we load the ELF fil...

SafeDev by Associate II
  • 608 Views
  • 1 replies
  • 0 kudos

Resolved! Retarget scanf on STM32G070RBxx Cortex M0+

(originally a reply to https://community.st.com/t5/stm32cubeide-mcus/retarget-printf-on-stm32g070rbxx-cortex-m0/td-p/720883) Hi @Andrew Neil,For the scanf do we need to make any other change?My read function is-  int _read(int fd, char *ptr, int len)...

AVerm.4 by Associate III
  • 1739 Views
  • 9 replies
  • 4 kudos

Resolved! STM32L552 Breakpoints won't work

Hi, I just got my board STM32L552 and currently am setting up development environment for it. I'm testing the board with an example project 'CORTEXM_InterruptSwitch_TrustZone' and the code works well, however, I'm not able to set breakpoints for debu...

How to run code and view serial on Nucleo board

Hello,I am trying to count how many clock cycles pieces of code take to run on my Nucleo board. I am using the following code for timing: start_cycles = DWT->CYCCNT; // dummy code end_cycles = DWT->CYCCNT; diff_cycles = end_cycles - start_cycles; pri...