Skip to main content
Associate II
Jul 23, 2024 11:47 AM UTC
Solved

ble_wrap files missing after cube generation

Hi all

Im using Nucleo WBA52CG development board with STM32Cube FW_WBA V1.4.0

After generating code for BLE using STM32_WPAN i get error  ble_wrap.c: No such file or directory

Any help?

This topic has been closed for replies.
STTwo-32
STTwo-32Best answer
ST Technical Moderator
Dec 2, 2024 10:04 AM UTC

hello @cvs_dev @Kenwang @HectorV @cvs_dk @massijay 

This behavior has been solved on the last version of the STM32CubeMX V6.13.0.

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.

17 replies

STTwo-32
ST Technical Moderator
Jul 23, 2024 12:48 PM UTC

Hello @cvs_dev and welcome to the ST Community :smiling_face_with_smiling_eyes:.

If the file doesn't exist at all, the compiler is not going to be able to open it. If it does exist, then you need to set your project Paths so that the compiler can find it.

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.
cvs_devAuthor
Associate II
Jul 23, 2024 12:52 PM UTC

Thanks for the reply. Can you point me in direction where this file should be located and where in project I need to set up path to it. 
This project is automatically generated by CUBEMX without any of my code, so i would expect that configuration would do it automatically.  

STTwo-32
ST Technical Moderator
Jul 23, 2024 1:02 PM UTC

Please add your .ioc file.

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.
Terrance Parker
Associate II
Jul 24, 2024 6:24 PM UTC

I have the same issue. Using CubeIDE v1.16 and CubeWBA v1.4. Following the ST MOOC course, imported the .ioc file and migrated it to new version. Found a ble_wrap.c in the repository and copied it to my project at  STM32_WPAN/Target, compiled and recieved even more errors.

cvs_devAuthor
Associate II
Jul 23, 2024 1:29 PM UTC

Im attaching the file.

Terrance Parker
Associate II
Jul 25, 2024 7:35 PM UTC

I rolled back to CubeIDE v1.14 and CubeWBA 1.2. Everything worked in the MOOC. I believe there is a problem with the new CubeWBA library release.

Terrance Parker
Associate II
Jul 29, 2024 8:58 PM UTC

Confirm that there is a problem with library CubeWBA v1.4. Used CubeIDE v1.16 and CubeWBA v1.4 and project would not compile. Used versions v1.3.1 and v1.30 and v1.20 and program compiled with no problems.

STTwo-32
ST Technical Moderator
Aug 1, 2024 6:11 PM UTC

Hello @cvs_dev @Terrance Parker 

Thank you for this feedback. Sorry for my late replie. I will esclate this issue to the concerned team for correction ASAP.

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.
STTwo-32
ST Technical Moderator
Aug 6, 2024 12:55 PM UTC

Hello again @cvs_dev @Terrance Parker 

The problem is confirmed and will be solved on the Coming version of the STM32CubeMX (escalated under the internal ticket number 186118). The only temporary workaround is to roll-back to the previous versions of the STM32CubeMX, IDE and CUBEWBA.

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.
Explorer
Aug 28, 2024 9:49 AM UTC

Same problem here, I can confirm the workaround is not working

The new error is

undefined reference to `AHB5_SwitchedOff'

STTwo-32
ST Technical Moderator
Aug 28, 2024 9:54 AM UTC

Hello @massijay @MattiasH 

For now, the only way is to wait for the Next release of CubeMX and IDE. The only temporary workaround is to roll-back to the previous versions of the STM32CubeMX, IDE and CUBEWBA.

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.
Explorer
Aug 29, 2024 9:08 AM UTC

I finally got it working with older releases of the programs.

The versions I used are:

STM32CubeIDE 1.14.1
STM32CubeMX 6.10.0
WBA FW 1.2.0

Associate II
Sep 20, 2024 7:08 AM UTC

Hello,

any news regarding this matter? 2 months already passed.

 

Best regards

Associate II
Oct 1, 2024 4:02 PM UTC

Any update on this? I am following the mooc course and I am also getting this error, "fatal error: ble_wrap.c: No such file or directory".