2026-01-23 1:45 AM
Hello.
I'm currently working on the above cpu and trying to implement a custom ble p2p server app. I have 1 service and 2-3 characteristics and i want to add Freertos for time critical constraints managenments. Correct me if im wrong, but it seems that the Freertos stack is incompatible with a custom ble p2p server template. The only thing that i can choose to use when enabling Freertos is the heart monitor template. Is there any work around or do i have to ditch free rtos all together and go bare metal instead ?
2026-03-12 12:36 PM
CubeMX won't let you create a custom service when using FreeRTOS, you have to modify the code yourself.
https://github.com/gurhalilalpha/CustomBLEWithFreeRTOS here i tried an example on how to create a custom service. it uses FreeRTOS instead of sequencer. But do not use the .ioc file to generate the code.