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

CMSIS RTOS optional

Why in particular has the CMSIS freertos wrapper been chosen as the only option for the cubeMX ecosystem? Has there been any consideration to add a raw FreeRTOS API option to cubeMX?For an example of what seems iffy, see osThreadNew in cmsis_os2.c w...

_EFrie by Senior
  • 859 Views
  • 0 replies
  • 0 kudos

Project build fails after update to CubeMX 6.1.1

Probably related to gnu-tools-for-stm32.9-2020-q2-update 746 | _ptr = _REENT;   |     ^~~~~~c:\st\stm32cubeide_1.4.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.win32_1.5.0.202011040924\tools\arm-n...

Is Cubemx ethernet reworked?

Hello friends,I used to use stm32cubemx ethernet with previous versions of cubemx and cubeide. However, the new release wondered me in the way that it didn't generate any code for the ethernet peripheral initialization, by which I mean formerly there...

How to set USE_HAL_***_REGISTER_CALLBACKS from CubeMX

In order to use the HAL's register callback capability, various flags are set for each peripheral in the stm32***_hal_config.h generated by CubeMX such as USE_HAL_FDCAN_REGISTER_CALLBACKS.The issue is that these defines don't look for a prior define ...

ALowe by Associate II
  • 11567 Views
  • 14 replies
  • 15 kudos

Cube IDE 32F4 - who do ST provide a precompiled std C lib, no source, and no WEAK functions so one can't replace the empty mutex calls?

AFAICT this is a libc.a although there are quite a lot of these loaded under c:\st\...I have spent a huge amount of time with objcopy trying to weaken a long list of stupid (empty but not replaceable) mutex calls in printf and malloc etc. like this--...

PHolt.1 by Senior III
  • 701 Views
  • 2 replies
  • 1 kudos

Resolved! Is it possible to automatically separate the code generated by STM32CubeIDE into headers and source files for each type of peripherals?

When I create a new project in STM32CubeIDE with the use of a configuration (.ioc) file, configure peripherals, and generate code, all handlers (such as I2C_HandleTypeDef, UART_HandleTypeDef, QSPI_HandleTypeDef, DMA_HandleTypeDef, etc.) and their ini...

VVakh.1 by Associate III
  • 3238 Views
  • 3 replies
  • 2 kudos

Enable 48MHz HSE on STM32F446RE Nucelo

On the board page nucleo-f446re it mentions a specific feature of board is a 48MHz HSE. However in STM32CubeIDE I only have the option to set the HSE up to 26MHz. How do I go about enabling the 48MHz HSE or could you point me in the direction of any ...

0693W00000QLuakQAD.png