STM32CubeMX (MCUs)

Ask questions on STM32CubeMX. Discuss code generation and configuration challenges, among other topics.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 6.16.0 released

We are pleased to announce that STM32CubeMX 6.16.0 release is available. What is new in 6.16.0: Added support for new microcontrollers across the STM32WBA, STM32N6 and STM32H5 series and the STM32WL3x product line. The related new boards include the...

Aimen1 by ST Employee
  • 804 Views
  • 5 replies
  • 7 kudos

STM32CubeMX 6.12.1 released (updated)

Hello community, We are pleased to announce you that the minor release STM32CubeMX V6.12.1 is now available for download on st.com. Main issues fixed in this minor release: ADC init code error. When ADC is configured in multimode, an issue with the ...

Resolved! FreeRTOS code generation for non-secure STM32H5

Hi,I am using STM32CubeMX 6.12.1 to generate a C-based firmware that depends on FreeRTOS. I enabled TrustZone and I have configuration for secure and non-secure part of the firmware. Everytime, I re-generate the code, the Secure project config is set...

hakeila by Associate III
  • 1240 Views
  • 4 replies
  • 1 kudos

stm32f1xx.h file cannot be found

Hello everyone, I have a question. I am using CubemX to generate HAL library and FreeRTOS. There are no errors during the compilation, but when I write the code, the auto-completion feature does not work (I have set it up), and even the uint8_t varia...

Wan_G by Associate
  • 1605 Views
  • 2 replies
  • 1 kudos

Dual Bank Linker script for STM32G474CB

HelloI have a project with STM32G474CB in CubeMX and it generates the linker script with following:  MEMORY { RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 128K } But, as I understand, th...

SMisi by Associate II
  • 715 Views
  • 1 replies
  • 0 kudos

CubeMX: "Code generation could not be done"

Split from: https://community.st.com/t5/stm32cubeide-mcus/changes-in-ioc-file-not-updating-the-code/td-p/661312 as the OP abandoned that thread, and it's a different problem anyhow. Hello GladsonIm here because now i have the same problem of you. I d...

Problem_generation_code.png
LSZ by Associate
  • 831 Views
  • 2 replies
  • 1 kudos