This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Makefile for GCC (ARM Embedded) fails to compile against nRF51822

When exporting the example project BLE_HeartRate from the online IDE to the GCC (ARM Embedded) toolchain, the makefile fails to compile.

First, the compiler throws "fatal error: algorithm: No such file or directory" while the file "algorithm" is on the supplied GCC_BIN folder.

Then, the compiler complains about unknown types (namespace, class, ...). It looks like the makefile tries to compile C++ code as C.

Finally, the two BLE-related libraries (BLE_API, nRF51822) and the mbed SDK seem to have been de-synchronised, resulting in linking errors.

The only way for compiling BLE project requires mbed SDK 92 and BLE libraries dated January 2015.

I know the mbed SDK is going through a major reshuffle, with the release of mbedOS. I guess all the engineers are focused on the mbedOS, leaving some issues unattended on today's version rebranded mbed Classic.

In the meantime, where can I find a working makefile?

Thank you and best regards,

Parents Reply Children
No Data
Related