cancel
Showing results for 
Search instead for 
Did you mean: 

No file/directory on example

Chris5
Associate

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

 

1 ACCEPTED SOLUTION

Accepted Solutions

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

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.

View solution in original post

5 REPLIES 5

>>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 Venmo
Up vote any posts that you find helpful, it shows what's working..
Karl Yamashita
Principal

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

 

Don't worry, I won't byte.
TimerCallback tutorial! | UART and DMA Idle tutorial!

If you find my solution useful, please click the Accept as Solution so others see the solution.
STTwo-32
ST Employee

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

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.

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.

Don't worry, I won't byte.
TimerCallback tutorial! | UART and DMA Idle tutorial!

If you find my solution useful, please click the Accept as Solution so others see the solution.

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

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.