Skip to main content
ADing.1
Associate II
Apr 11, 2023 3:32 PM UTC
Question

STM32_WPAN middleware not showing up

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.

This topic has been closed for replies.

1 reply

Remy ISSALYS
ST Technical Moderator
Apr 20, 2023 2:32 PM UTC

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