2023-04-11 08:32 AM - edited 2023-11-20 08:30 AM
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.
Is this something that CubeMX is supposed to generate? Or do I need to add this myself.
2023-04-20 07:32 AM
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