Arm Mbed OS support forum

CORDIO BLE BareMetal support

Hi,
We are looking at the possibility of using CORDIO BLE stack in one of our project. We would like to know, whether CORDIO BLE stack support baremetal (no-RTOS, no Mbed OS) systems.

Your response would be highly appreciated.
Best Regards,
Anil Kumar Jena

I would also like to know if it is possible to use bare metal profile with BLE

Hi Anil,

The answer is yes, there is a Cordio stack porting information here.

It is working!

Just add ble and cordio to requires in mbed_app.json. In my case (nRF52832) it was:

"requires": ["bare-metal", "events", "ble", "cordio", "cordio-ll", "cordio-nordic-ll" ],

You can also enable other APIs like described here: https://os.mbed.com/docs/mbed-os/v6.0/bare-metal/using-the-bare-metal-profile.html#2-adding-apis

All available APIs for bare-metal are listed here: https://os.mbed.com/docs/mbed-os/v6.0/bare-metal/index.html

In my case i only was able to compile with GCC at the moment. Other platforms should already work with ARMC6. Here is an overview: https://github.com/ARMmbed/mbed-os/issues/13099