Skip to main content
Associate
January 29, 2026
Question

STM32CubeMX generated code for STM32WBA52 is not building

  • January 29, 2026
  • 2 replies
  • 226 views

Hi - does anyone have a solution for this?

I have the latest CubeMX with STM32CubeWBA Firmware Package V1.8.0 / 29-October-2025 installed.

The attached .ioc file is a minimum configuration for BLE. I am attempting to just get basic BLE advertising working as the first step on a new board.

The build (using the auto-generated makefile) fails with "System/Config/LowPower/peripheral_init.c:24:10: fatal error: aes.h: No such file or directory". The AES is turned on in the .ioc file but the header file didn't get generated.

 

 

2 replies

Associate
January 29, 2026

(Note - any hardware / peripherals not related to BLE have not been enabled. The configuration and my board usees a 32MHz HSE, and 32.768kHz LSE crystal.)

KDJEM.1
Technical Moderator
January 30, 2026

Hello @Narrowband and welcome to the community;

 

Thank you for bringing this issue to our attention.

I reported the build issue internally.

 

Internal ticket number: 226250 (This is an internal tracking number and is not accessible or usable by customers).

 

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.