Description of defect
The compiler and linker flag
float-abi to select the float engine option seems can't be configured from application. It is fixes with
soft for GCC and
hard for ARM compilers in the following file:
mbed-os/tools/cmake/cores/Cortex-M4F.cmake. Howevere, In my application, I had to select the
-mfloat-abi:hard option and the only way was to modify the file
mbed-os/tools/cmake/cores/Cortex-M4F.cmake and change the GCC option to
hard. This workaround is not portable as it changes a file shipped with Mbed-os. This issue is a result of the discussion went in the forum.
Target(s) affected by this defect ?
Issue does not seem to be target specific. I tried with an Ambiq target.
Toolchain(s) (name and version) displaying this defect ?
What version of Mbed-os are you using (tag or sha) ?
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
mbed-tools 7.31.1, Mbed Studio 1.4.3
How is this defect reproduced ?
Try to build using
mbed-tools any example/demo code with library compiled with