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

C++ main.cpp generation

Dear ST,Do we have a functionality to generate main.cpp from CubeMX? HAL supports C++ and it is possible to make project C++ by renaming main.c to main.cpp, but after regeneration you just get new main.c without your code, so again need to merge it m...

Code Generation in STM32CubeMX -- not hapening and gets stuck

Hi, I am new user to ARM Cortex world. I have purchased a new kit Nucleo having F411RE. I have installed STM32CubeMX  ver 5.4 and OpenSTM32 workbench ver 2.9 in my Windows 10 Laptop. Everything is installed successfully. I have tried to generate code...

0690X00000BudCvQAJ.png 0690X00000BudCbQAJ.png 0690X00000BudCgQAJ.png 0690X00000BudClQAJ.png
Akhok.1 by Associate
  • 402 Views
  • 0 replies
  • 0 kudos

NUCLEO-L412KB : USB-CDC Initial FAIL

I have try to use the USB-VCP (Virtual COM Port) on the STM32L412KB (32-pin) but I have an issue that the code which is generated from the CubeMX got stuck at MX_USB_DEVICE_Init() and I try to debug in the Atollic TrueStudio, it causes the hard fault...

ARats by Associate
  • 2531 Views
  • 12 replies
  • 1 kudos

Has anyone used the LwIP Raw API with RTOS?

I'm starting to get comfortable with CMSIS-RTOS (and the STM32 implementation "uniqueness's" :) ), and next phase is adding LwIP support to my project. My IP needs are fairly simple, so was originally planning on using the Raw API. I see using Cube...

willcfj by Senior
  • 3675 Views
  • 12 replies
  • 0 kudos

Free-RTOS on STM32L151C6 using STM32CubeMX [Timing issue]

Hello,i am making a simple project for STM32L151C6 using Cube. I am using as timing source the TIM2 and i just use the below code to toggle a LED:/* USER CODE END Header_StartDefaultTask */ void StartDefaultTask(void const * argument) { /* init cod...

SProg by Associate III
  • 442 Views
  • 1 replies
  • 0 kudos

Resolved! How to interpret MEMORY areas in STM32H747XIHX_FLASH.ld file

The H747I-DISCO specs say 2MB Flash and 1MB RAM. From that, I am trying to understand what the start addresses of both areas are.I see that for both processors (M7 and M4) two .ld files get created:STM32H..._FLASH.ld and STM32..._RAM.ld, for a new ST...