Skip to main content
Associate
Jul 9, 2025 7:41 PM UTC
Question

crc_ctrl.h problem on the STM32WBA6

I'm having the same issue on my NUCLEO-WBA65RI project. This problem specifically occurs when I try to use both X-CUBE-FREERTOS and STM32_WPAN. The project cleanly builds just fine if I only use one or the other, but as soon as I try to include both in a project I receive this "fatal error: crc_ctrl.h: No such file or directory" error. 

I am currently using X-CUBE-FREERTOS version 1.3.1 with CMSIS RTOS2 version 10.6.2. 

I can see in the BLE_HeartRateFreeRTOS project that there is a CRC_Ctrl folder generated under "Application/User/System/Config" that is not being generated under "System/Config" on my system, in addition to crc_ctrl.c/h not being generated under "Projects/Common/WPAN/Modules" on my system. 


Moved from this thread.

7 replies

STTwo-32
ST Technical Moderator
Jul 9, 2025 8:09 PM UTC

Hello @lindsey-anderson and welcome to the ST Community.

Could you please give more details:

  • What are the versions of your STM32CubeMX,IDE and WBA.
  • How have you generated your project (own project or example).

Best Regards,

STTwo-32

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.
Associate
Jul 9, 2025 8:35 PM UTC

I am using IDE version 1.19.0, STM32CubeMX version 6.15.0-RC7. I'm not sure Which WBA version is selected in the project, but this is a recently created project, and I have selected STM32WBA65I-DK1 in the board selector menu when creating this project. 

I also created this project from the board selector, without an example. 

Associate
Jul 9, 2025 9:06 PM UTC

I have since made another project, and have selected the STM32WBA65RIV7 chip instead of the NUCLEO development board, with X-CUBE-FREERTOS version 1.2.0 instead of 1.3.1 and the resulting error is the same. 

STTwo-32
ST Technical Moderator
Aug 1, 2025 9:32 AM UTC

Hello @lindsey-anderson 

This behavior has been escalated internally for correction on the coming release (under internal ticket number 213865).

Best Regards.

STTwo-32

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.
Associate
Aug 10, 2025 4:17 PM UTC

Experiencing the same issue, running Ux_Device_CDC_ACM example, and adding WPAN for BLE.

We will appreciate any updates in resolving this, being quite urgent for a project combining USB-HS with BLE. Thank you.

Associate II
Sep 29, 2025 7:28 PM UTC

I have same issue with WBA5MMG

Graduate
Dec 18, 2025 7:52 AM UTC

I have the same problem with NUCLEO-WBA55CG using the BSP version w/ TrustZone and ThreadX. Brand new project. Missing file. Manually enabled CRC in CubeMX and regenerated. File still is nowhere in the output.