cancel
Showing results for 
Search instead for 
Did you mean: 

STM32_WPAN middleware not showing up

ADing.1
Associate II

I am following this tutorial for setting up my STM32WB55 dev kit.

When I generate the code and try to compile I get the following error:

../STM32_WPAN/App/custom_stm.c:22:10: fatal error: common_blesvc.h: No such file or directory

../STM32_WPAN/App/custom_stm.c:22:10: fatal error: common_blesvc.h: No such file or directory

Under the 'includes' dropdown in the project explorer, all of the STM32_WPAN directories are greyed out. I'm assuming this is because these directories do not exist, because there is no `Middlewares` directory in my project.

 
_legacyfs_online_stmicro_images_0693W00000bhsU6QAI.pngIs this something that CubeMX is supposed to generate? Or do I need to add this myself.

1 REPLY 1
Remy ISSALYS
ST Employee

Hello,

Yes, STM32CubeMX tool should copy the middleware from STM32CubeWB package. Ensure that you have activate BLE through STM32WPAN into CubeMX. To create a project using the custom template, you can refer to the following wiki page and you can also start from BLE_Custom example available in STM32CubeWB package.

Best Regards