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

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

Aimen1 by ST Employee
  • 978 Views
  • 0 replies
  • 1 kudos

STM32CubeMX 6.16.0 released

We are pleased to announce that STM32CubeMX 6.16.0 release is available. What is new in 6.16.0: Added support for new microcontrollers across the STM32WBA, STM32N6 and STM32H5 series and the STM32WL3x product line. The related new boards include the...

Aimen1 by ST Employee
  • 1784 Views
  • 5 replies
  • 7 kudos

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
  • 969 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
  • 12899 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
  • 850 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
  • 3726 Views
  • 3 replies
  • 2 kudos