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

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

Is there a way to make build variants in CUBEMX? For instance a variant that includes/doesn't include init of specific peripherals.

I have a base application, that will go into different product variants. I'd like to have a variant where some of the CUBEMX code is not compiled. As an example, one build where USB or Ethernet code is not included, because there won't even be HW on ...

MConw by Associate
  • 720 Views
  • 2 replies
  • 0 kudos

Resolved! stm32cubemx error in eclipse

I built the stm32cubemx development environment using eclipse, and this error occurred while generating the code. What is the problem?

0693W000004Ist2QAC.png

STM32CubeMX UART LL Driver issues

Hello,I had earlier raised the concern on STM32CubeH7 GitHub page ( https://github.com/STMicroelectronics/STM32CubeH7/issues/69 ). However they asked me to raise the concern on this forum.I am observing following function calls missing from MX_UART8_...

Resolved! STM32CubeMX MDK-ARM project generation failure

Windows 10 64bit - STM32CubeMX 6.0.1 - STM32H7B3LIHxQ MCUAttempting to generate a fresh project and get the below error. Any thoughts on how to resolve the issue? project file attached. Thanks!

0693W000004IbAjQAK.jpg
Just Matt by Associate III
  • 2477 Views
  • 9 replies
  • 0 kudos

MX Init functions overwrite static size_t variable

I am working on an embedded application using the STM32F103C8T6 (black pill). I've been slowly adding the functionality I need and adding different peripherals one by one. For USART I was using the excellent code written by Tilen Majerle here. Everyt...

SStru.1 by Associate II
  • 1049 Views
  • 2 replies
  • 0 kudos

Resolved! Not seeing full DMA Initialization with CubeMx

With CubeMx, I've set up the DMA in Circular Mode, Data Width Half Word, Increment Address Memory. When I get the generated code, I only see the code below. Where are the other initialization parameters? Is it because the DMA channel interrupt is ena...

xpp07 by Senior
  • 934 Views
  • 1 replies
  • 0 kudos