STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 6.13.0 released

We are pleased to announce to you that the release 6.13.0 of STM32CubeMX is available. What is new in 6.13.0: Added support for the following series, microcontrollers and microprocessors: STM32N6, STM32U3, STM32WL3x, STM32G411xx and STM32C0Added the ...

Not executing while condition

 float init_sensor(void){ uint32_t numTicks; float distance; RCC->AHB1ENR |= (1U<<1); GPIOB->MODER &=~ (1U<<19); // pin 9 as output GPIOB->MODER |= (1U<<18); // pin 9 as output GPIOB->MODER &=~ (1U<<16); // pin 8 as input GPIOB->M...

Avisr by Associate II
  • 1349 Views
  • 8 replies
  • 1 kudos

Resolved! Errore "-u_printf_float"

Hi, i get this error, can someone please help me, thanks. I use Cube MX(STM32-cube-ide).I tried to follow the steps but it didn't work. 

Giuseppe1_0-1708075117041.png
Giuseppe1 by Associate III
  • 557 Views
  • 2 replies
  • 1 kudos

Resolved! How to define LwIP DHCP hostname in CubeMX?

Hello,I am wondering how to set the DHCP hostname for LwIP when using STMCubeMX. The CubeMX tool creates a definition for the hostname in ethernetif.c: #if LWIP_NETIF_HOSTNAME /* Initialize interface hostname */ netif->hostname = "lwip";#endif /* LWI...

ZdenekK by Associate
  • 1705 Views
  • 4 replies
  • 0 kudos

USB_Host_Library / FreeRTOS Problem

Hello All,We've been struggling with getting hard faults originating in FreeRTOS generated code, but triggered by initialization of a USB optical mouse.  The symptoms and stack trace are nearly identical to a previous unreproduced / unresolved post:h...

farrelldw by Associate II
  • 2416 Views
  • 7 replies
  • 3 kudos

Resolved! cpp project using STM32CubeMX and Keil

Hi,I have created a project using STM32CubeMX and Keil uVision.The generated CubeMX comes with its own main.c and main function.What I want to do is disable that main.c build in the project and create my main.cpp file,where I can put my main function...

AVerm.4 by Associate III
  • 1096 Views
  • 2 replies
  • 0 kudos

Resolved! Two IOC, One CubeIDE project

Hey guys, I've recently begun development using CubeIDE. I have two embedded system projects with a very similar code base and the same MCU, so I was hoping to be able to have one project and two different IOC files for the different IO configuration...

Avan .5 by Associate
  • 2085 Views
  • 4 replies
  • 0 kudos

VREFBUF on new STM32G050C8 ?

Hello, does anybody know if the new STM32G050C8 does, as at least CubeMX states, have an internal voltage reference buffer?Because any reference manuals or datasheet say the opposite... is the documentation perhaps outdated?Anyway thank you in advanc...

cs2 by Associate
  • 633 Views
  • 3 replies
  • 0 kudos