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
  • 152 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
  • 3413 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...

FatFs f_open() hard fault

int main(void){FATFS FatFs;FIL fil;FRESULT fr;UINT bw; fr = f_mount(&FatFs, "", 0);if (fr != FR_OK) {return (int)fr;}fr = f_open(&fil, "example.txt", FA_WRITE | FA_CREATE_ALWAYS);if (fr != FR_OK) { f_mount(NULL, "", 0);return (int)fr;}f_close(&fil);}...

meco54 by Associate
  • 1242 Views
  • 2 replies
  • 0 kudos

Flashing code with stlink does not run code

I used the STM32CubeIDE to make a simple LED flashing program for an STM32H753. When I run the code with the CubeIDE, it uploads and flashes the LED as intended.I would like to be able to run this code without the CubeIDE. I am on Mac and have stlink...

JKing.8 by Associate III
  • 3929 Views
  • 8 replies
  • 0 kudos

const volatile objects are not stored in .rodata

I often use const data tables that may be changed by a configuration process at runtime. Depending on how these tables are used, it is sometimes necessary to make them volatile so that accesses to the values are not replaced by the use of inline cons...

CTapp.1 by Senior III
  • 1630 Views
  • 4 replies
  • 1 kudos

PWM Timer Issue in stm32go70rbt6 controller

Hi All,I'm working on stm32g070rbt6 controller, for vending project.For some requirement implemented PWM timer(i.e. TIM1 & Channel 2) to run the dc motor(i.e. 24V). based on the input from keypad.PWM implemented with soft start from 0 to 1800 which i...

NAdim.1 by Associate II
  • 877 Views
  • 2 replies
  • 0 kudos

Resolved! Using stack-protector with CubeIDE

I'm looking for some info about and help with using -fstack-protector and similar compiler options with STM32CubeIde. I've never used these flags before, but enabling them does seem to compile fine. Am I correct in assuming that the GCC supplied with...

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