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

We are pleased to announce that version 6.17.0 of STM32CubeMX is available. What is new in 6.17.0: Added support for new microcontrollers across the STM32WBA, STM32H5, and STM32U3 seriesAdded support for new boards: NUCLEO-WBA25CE1, NUCLEO-H5E5ZJ, ST...

Aimen1 by ST Employee
  • 1572 Views
  • 0 replies
  • 2 kudos

Resolved! sysmem.c build error in clang

When trying to build an STM32CubeMX V6.13.0 generated cmake+gcc project with clang there are two files that generate errors:sysmem.cthe linker script (STM32L431RCTX_FLASH.ld and stm32l476rgtx_flash.ld)sysmem.c produces the following error:Core/Src/sy...

CubeMX ST ARM Clang linker not compatible

Hi everyone,I’m using the new Arm Toolchain for Embedded with CMake. I generated a project template from STM32CubeMX using the following settings:Toolchain/IDE: CMakeDefault compiler/linker: Arm-ClangCompilation works fine, but when linking starts, I...

gf1 by Associate II
  • 934 Views
  • 4 replies
  • 0 kudos

Resolved! USBX Mutex does not work - CubeMX code generator BUG

Hello, I'm trying to implement a USBX host... and the code generates a lot of runtime errors.  I assume everything is setup properly from CubeMX, but the code always fails.  1- I see that the mutex was created from the debug session: (ux_system_mutex...

mattcrc_3-1741165785810.png mattcrc_0-1741162907896.png mattcrc_1-1741163003693.png mattcrc_2-1741163342925.png
matt-crc by Senior III
  • 2248 Views
  • 7 replies
  • 4 kudos

Resolved! How to setup hfmpi2c1 using STM32F446

I have enable the hfmpi2c1 in STM32CubeMX tools, but I can find the FMPI2C_HandleTypeDef is undefined in the source code. Do we have a demo code to show how to setup and use hfmpi2c1. It's very confuse that the F446 only have one Fast Plus Mode IIC i...

Lding2025_0-1758166731293.png Lding2025_1-1758166779567.png Lding2025_2-1758166817354.png