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

Resolved! STM32CubeMX 5.6 bugs: LWIP static IP address missing in lwip.c, generated function calls ranking not working correctly

Hi!I tried to set peripheral initialization order in Project Manager->Advanced Settings.After I finished sorting the list and saved the project, the function list mixed.The problem is reproducable. When you save the project, the function list gets a ...

PTiha by Senior
  • 3404 Views
  • 15 replies
  • 1 kudos

STM32CubeIDE generate wrong code in USB_HOST with FreeRTOS

File \USB_HOST\Target\usbh_conf.h has the definitions:#define USBH_malloc     malloc#define USBH_free      freeThis does not work with FreeRTOS. It will be better, but maybe not perfect:/** Alias for memory allocation. */ #if (USBH_USE_OS == 1) #defi...

NDubr.1 by Associate
  • 409 Views
  • 0 replies
  • 0 kudos

Unable to open ioc file

Thank you for helping.environmentSTM32CubeIDE Ver1.3.0Unable to open ioc file.The following message is displayed when building.'STM32F769I_DISCO.ioc' is requiring code generation.Click OK to build without invoking Device Configuration Tool code regen...

Ebun.1 by Senior
  • 780 Views
  • 2 replies
  • 0 kudos

Resolved! Cube MX 5.3.0 ERROR?

hi, I am working with the NUCLEO-F207ZG card and I have configured USART2 on port D.Now CubeMx offers me the setting of the RX pin in Push-pull mode !!!!!! The same for CTS !!!And there is no way to set the pin in any other way !!!Can anyone give me ...

0693W000000VCeoQAG.png

Resolved! When configuring GPIO's as external interrupts, CubeMX is generating code to enable interrupts immediately. This can be annoying if the interrupt fires before the software is fully initialized.

Using an operating system such as free-rtos, it is common to send a message from the interrupt to a thread, but if the handle to the thread is not yet created - a hard-fault is usually seen. Testing a flag in the interrupt routine activated when the ...

mads.l by Associate II
  • 1136 Views
  • 3 replies
  • 0 kudos

Resolved! Unable to locate examples!!

I just installed the STM32CubeMX IDE and the packages for the STM32F7xx MCU. (I have used IDE's from IAR, Atmel and other sources for decades.) Unlike other IDE's, it appears that the current version of the STM32CubeMX does not contain any example ...