Skip to main content
Associate
March 30, 2026
Solved

Missing file after file generation

  • March 30, 2026
  • 3 replies
  • 221 views

 

Hello,

I am encountering an issue with the ST example projects "BLE_p2pServer" and "BLE_DataThroughput_Server" for the NUCLEO-WBA65RI board.

After generating the code using STM32CubeMX (version 6.17), the project does not include all the required source files. As a result, the compilation fails immediately, even before making any modifications to the code.

I enabled the option:
"Generate peripheral initialization as a pair of '.c/.h' files per peripheral".

The main issue is that the following file is missing:

"stm32wbaxx_ll_utils.c" .

It seems that some HAL/LL driver files are not being generated or included properly in the project.

Could you please advise on:

  • Whether this is a known issue with STM32CubeMX 6.17?
  • If there is an additional step required to include all necessary driver files?
  • Or if a specific configuration is needed for these BLE examples?

Thank you in advance for your help.

Best regards,

Pierre A

Best answer by Mahmoud Ben Romdhane

Hello @Pierre_Agneray 

 

Let me thank you for bringing this issue to our attention.

The issue has already been reported to the dedicated team under this internal ticket (Ticket Number: CDM0060308).

 

Thanks.

Mahmoud

3 replies

Technical Moderator
March 30, 2026

Hello @Pierre_Agneray 

 

Let me thank you for bringing this issue to our attention.

The issue has already been reported to the dedicated team under this internal ticket (Ticket Number: CDM0060308).

 

Thanks.

Mahmoud

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.
SnoZek
Associate III
March 30, 2026

Hello,

I encountered the same problem as Pierre.

When using CubeIDE 1.19, everything was working correctly. However, with CubeIDE 2.0 (and more recent versions), I experienced the same issue.

Fortunately, I still had a ZIP archive of an example project that was working with version 1.19.

I manually used my old example project to copy the file needed stm32wbaxx_ll_utils.c, after compiling again another error appeared referring to app_bsp.c. Once both files were added to the project, the build completed successfully.

So adding these two files solved the issue for me.

 

Yvan

 

Andrew Neil
Super User
March 30, 2026

@Pierre_Agneray wrote:

The main issue is that the following file is missing:

"stm32wbaxx_ll_utils.c" .


Seems to be the same issue here by @SLevi.1 - doesn't seem to have been resolved by @grohmano ?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.