Skip to main content
Visitor II
January 27, 2025
Solved

No file/directory on example

  • January 27, 2025
  • 3 replies
  • 827 views

I get this error when trying to using the BLE_heartrate example for the nucleo-WB09KE. I have uninstalled and reinstalled the IDE. 
Chris5_0-1738017624728.png

 

Best answer by STTwo-32

Hi @Karl Yamashita 

This is a Known limitation on CubeMX when using the example selector, you can find it with the workaround on STM32CubeMX errata 6.13.x - stm32mcu.

Update (24W10): I've tested this problem with the STM32CubeMX V6.14.0, STM32CubeIDE V1.18.0 and the STM32CubeWB0 V1.2.0. Even generation issue detected with the Example selector is solved.

Best Regards.

STTwo-32

3 replies

Tesla DeLorean
Guru
January 28, 2025

>>I have uninstalled and reinstalled the IDE.

So probably not that then..

Determine WHERE the file is within to project tree, or WB0 library and CMSIS include directories.

Make sure that the "include paths"point a where the file can be found.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Karl Yamashita
Principal
January 28, 2025

After importing the example project, it turns out that project is missing a lot of files. 

 

When trying to find the osal.h file, I found the osal.c file in the Modules folder but you can see it has a broken link icon along with other files.

KarlYamashita_1-1738034843573.png

 

When looking at the Modules directory in File Explorer, there is not one single c/h file in the root directory nor the other 6 folders. 

KarlYamashita_0-1738034762549.png

 

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.CAN Jammer an open source CAN bus hacking toolCANableV3 Open Source
STTwo-32
Technical Moderator
January 28, 2025

Hello @Chris5 and welcome to the ST Community.

I've personally test it using the STM32CubeWB0 V1.1.0, STM32CubeIDE V1.17.0 and it works fine for me:

STTwo32_0-1738046502841.png

Could you please try to import it using the following Methode:

Go to File > Open Projects from File System... > and select the directory of your project. After that, on the Folder file "Repository\STM32CubeWB0\Projects\NUCLEO-WB09KE\Applications\BLE\BLE_HeartRate" select the STM32CubeIDE folder.

Best Regards.

STTwo-32

Karl Yamashita
Principal
January 28, 2025

Try to Import it from the example selector. The files are missing as i had indicated from earlier in STM32CubeIDE 1.7.0 and I just tried it in 1.16.1 and the same thing, files are missing.

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.CAN Jammer an open source CAN bus hacking toolCANableV3 Open Source
STTwo-32
STTwo-32Best answer
Technical Moderator
January 28, 2025

Hi @Karl Yamashita 

This is a Known limitation on CubeMX when using the example selector, you can find it with the workaround on STM32CubeMX errata 6.13.x - stm32mcu.

Update (24W10): I've tested this problem with the STM32CubeMX V6.14.0, STM32CubeIDE V1.18.0 and the STM32CubeWB0 V1.2.0. Even generation issue detected with the Example selector is solved.

Best Regards.

STTwo-32