8 years, 6 months ago.

Compilation problem

Hi guys I'm trying to compile the last version to these boards (Nucleo -F411RE and Nucleo-F401RE) and I'm getting the following errors (Trying to compile on mbed)

Error: Incomplete type is not allowed in "X_NUCLEO_IDB0XA1/BlueNRGDevice.h", Line: 50, Col: 31

Then if I change the file BlueNRGDevice.h and add:

  1. include <BLEInstanceBase.h>

Then the error is related to a PIN Error: Object of abstract class type "BlueNRGDevice" is not allowed in "X_NUCLEO_IDB0XA1/BlueNRGDevice.cpp", Line: 66, Col: 16

Do you guys have any idea what is going on (Maybe I did somthing wrong)? Thanks.

Question relating to:

Heart Rate Monitor example for the BLE API using ST BlueNRG native drivers

1 Answer

8 years, 6 months ago.

Dear Leonardo,

It is just due to the fact that you updated to the latest version of BLE API. The synchronization of the X_NUCLEO_IDB0XA1 library is right on the way.

Kind regards Andrea

Accepted Answer

Ok thanks, do you think that if I import the program without updating the libraries it will work?

Anyway thanks and I will wait for the latest release compatible with the BLE API

posted by Leonardo Araujo 03 Nov 2015

Yes, sure!

posted by Andrea Palmieri 03 Nov 2015

Anyway, keep in mind that the tested platforms for the X-NUCLEO-IDB04A1 are listed in the component homepage (https://developer.mbed.org/components/X-NUCLEO-IDB04A1). You can still use the STM32 Nucleo F411RE provided that you compile for STM32 Nucleo F401RE.

posted by Andrea Palmieri 03 Nov 2015