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
  • 263 Views
  • 0 replies
  • 1 kudos

Toolchain Folder Location Ambiguity

When creating a new CMake-based project in STM32CubeMX, the "Toolchain Folder Location" field is auto-populated with the project folder path upon entering a project name. This behaviour is misleading because the field is intended (at least by its des...

AdamHamilton_0-1767963469139.png AdamHamilton_0-1767962234433.png

Pinout view - Wastefull use of GUI area

Split from IDE Version 2.0.0 - why remove MX ? as this has nothing to do with that topicPinout view is bad also.In center of window useless hole with ST logo. Wastefull use of GUI area. 80% of area is gray hole in center or white hole at the borders....

vybor by Associate III
  • 114 Views
  • 4 replies
  • 4 kudos

Resolved! Secure checkbox of LTDC_L2 is not selectable in STM32CubeMX

I'm trying to use dual layers in LTDC of STM32N657X0HxQ controller. In the STM32CubeMX, I tried to set the Secure bit of RISUP for LTDC_L2 in RIF setting view, but the box is in gray color and is not selectable as follows.When I generate code with th...

스크린샷 2026-02-04 154448.png
JaeLee by Associate II
  • 88 Views
  • 2 replies
  • 0 kudos

Line endings - bug in CubeMX, all versions

Code generated by CubeMX use Windows line-endings, which generate huge problems under other operating systems (repository, editors, etc.). You have to strip CR-LFs after every code generation.Somebody should use standard method of platform-independen...

trzeci by Associate III
  • 2952 Views
  • 20 replies
  • 15 kudos

CubeMX don’t work

STM32CubeMX standalone hangs on File → New Project (infinite loading, no error message). The problem is fully reproducible.I have tried:– reinstalling CubeMX– different CubeMX versions– Java reinstall– offline mode– clearing STM32CubeMX cache/AppData...

nikodemw by Associate
  • 101 Views
  • 1 replies
  • 0 kudos

CubeAI generates wrong relative paths in CMake projects

Hi all,this issue is related to: https://community.st.com/t5/stm32cubemx-mcus/cmake-project-generation-with-cubemx-cubeai-fail/m-p/770680/highlight/true#M31054. , where it was solved by updating from STM32CubeMX V6.12.0 to STM32CubeMX V6.13.0. Howeve...

devjalx by Associate II
  • 144 Views
  • 4 replies
  • 2 kudos