Hello,
from my point of view, if you are not experienced user, then just forget the cmake.
However, I tried to compile it
- Online compiler - Compilation OK, .bin file was generated
- Mbed Studio - Compilation OK, .bin file was generated but error occurred
- Keil Studio online - Compilation OK, .bin file was generated but error occurred
Error: In included file: “Compiler generates FPU instructions for a device without an FPU clang(check __FPU_PRESENT)”
{
"resource": "file:///c%3A/Users/O/Mbed%20Programs/mbed-os-example-blinky/main.cpp",
"owner": "file:///c%3A/Users/O/Mbed%20Programs/mbed-os-example-blinky/main.cpp",
"code": "pp_hash_error",
"severity": 1,
"message": "In included file: \"Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)\"",
"source": "clang",
"startLineNumber": 5,
"startColumn": 9,
"endLineNumber": 5,
"endColumn": 17
}
It seems like it is not from compiler but from clang what have a problem with something again.
Just for curious I tried to compile it also with GCC under MbedStudio and instead of the error I had another two different errors and also it seems to be from clang.
So it seems it si more related to MbedStudio than MbedOS.
BR, Jan