5 years, 12 months ago.

BLE X-NUCLEO-IDB05A1 on Nucleo-F401RE but also on Nucleo-F091RC?

Hi mbed friends,

I hope this is the right place to ask this.

I use this example on Nucleo-F401RE with BLE X-NUCLEO-IDB05A1 shield, which works fine. https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-ble-HeartRate/file/c8b7f19bc39d/readme.md/

It also works on Nucleo-F411RE, when adding the next section to the target_overrides in mbed_app.json:

       "NUCLEO_F411RE": {
            "target.features_add": ["BLE"],
            "target.extra_labels_add": ["ST_BLUENRG"]
        },

But for a lower power consumption, I tested the combination with the Nucleo-F091RC (Cortex-M0) For that to compile, I just added the section:

       "NUCLEO_F091RC": {
            "target.features_add": ["BLE"],
            "target.extra_labels_add": ["ST_BLUENRG"]
        },

However this does not do the trick, because the Nucleo-F091RC seems not supported for BLE in mbed-os. How can I work around it?

The Nucleo-F091RC does however work fine with the mbed 2 version of the BLE heartrate example, by just compiling for that platform: https://os.mbed.com/teams/Bluetooth-Low-Energy/code/BLE_HeartRate/

Can I somehow use the Nucleo-F091RC with the first BLE example on Mbed OS?

Any help is much appreciated!

Kind regards, Jack.

Question relating to:

Bluetooth Low Energy (a.k.a Bluetooth LE, BTLE, Bluetooth Smart)
Be the first to answer this question.