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
  • 672 Views
  • 5 replies
  • 7 kudos

USB_OTG_HS grayed out for STM32U595VJT6

Hey! I'm trying to get USB up and running on a STM32U595VJT6. From the reference manual, it says it's supported.   However, when in STM32CubeMX, the USB_OTG_HS is grayed out. This is on a fresh project, so there's no pin conflicts or similar. This is...

bartosz__0-1762861209869.png
bartosz_ by Associate II
  • 114 Views
  • 3 replies
  • 0 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
  • 232 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
  • 890 Views
  • 7 replies
  • 4 kudos