Skip to main content
Associate II
July 23, 2024
Solved

ble_wrap files missing after cube generation

  • July 23, 2024
  • 11 replies
  • 4930 views

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?

Best answer by STTwo-32

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

11 replies

STTwo-32
Technical Moderator
July 23, 2024

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

cvs_devAuthor
Associate II
July 23, 2024

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
Technical Moderator
July 23, 2024

Please add your .ioc file.

Best Regards.

STTwo-32

Terrance Parker
Associate II
July 24, 2024

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
July 23, 2024

Im attaching the file.

Terrance Parker
Associate II
July 25, 2024

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
July 29, 2024

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
Technical Moderator
August 1, 2024

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 

STTwo-32
Technical Moderator
August 6, 2024

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

Explorer
August 28, 2024

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

The new error is

undefined reference to `AHB5_SwitchedOff'

STTwo-32
Technical Moderator
August 28, 2024

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

Explorer
August 29, 2024

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
September 20, 2024

Hello,

any news regarding this matter? 2 months already passed.

 

Best regards

Associate II
October 1, 2024

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".