1 year, 1 month ago.

Are the library and examples working

Hi,

Is this library tested and working, what hardware platform do you recommend its use with?

Question relating to:

Apologies, I should add I just tried to compile the example for the K64f but there are a few compilation errors

posted by joe holdsworth 05 Sep 2019

1 Answer

1 year, 1 month ago.

Hi Joe,

I tried compiling the hello world example, and have M_PI not defined, if this is the same as your issue, you can try below two workaround.

1. Because M_PI is not in C standard, you might need to define it by yourself like #define M_PI 3.14159 2. Or you can change the compiler to use c99 or gnu11, that would need you use offline mbed-cli.

Regards, Desmond

thanks, there are quite a few compiler errors after solving that one, I'm stuck with the online compiler for now... thanks for taking the time to anser

posted by joe holdsworth 19 Sep 2019