cancel
Showing results for 
Search instead for 
Did you mean: 

stm32wb0x error on build of stm32cube example projects

LVanr.1
Associate

I'm trying to import the sample project BLE_Skeleton. On build I get the following error:

fatal error: osal.h: No such file or directory

The same error occurs for other BLE sample projects.
The error also happened for BLE_p2pServer but was fixed.

When can the problem be fixed for the other sample projects ?

3 REPLIES 3

how are you obtaining the sample project BLE_Skeleton?

If downloading from GitHub, see:

https://community.st.com/t5/stm32-mcus/downloading-stm32cube-packages-from-github-correctly/ta-p/725288 

LVanr.1
Associate

In stm32Cube I do: File > Import > Import STM32Cube Example

Hello @LVanr.1 ,

Maybe you have wrong paths! Try adding correct paths to the include directories (Go to Project options ->C/C++ tab->Include paths)

Otherwise, please provide more details on your CubeWB0 firmware package version and CubeIDE version used, the exact project path and steps?

 

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen