Hi everyone!
I want to use float variables as I transfer data through UART.
But I do not know where should I add FPU in CMake files. I do not apply to e2studio, just created the Cmake project from RASC.
Could you help me with how can i solve this situation?
Regards.
Hi Nidhi, Thanks for posting your question online. In setup to perform floating point operations with library calls, you should add-mfloat-abi = soft. Please refer to-mfloat-abi = name on https//gcc.gnu.org/onlinedocs/gcc-4.4.7/gcc/ARM-Options.html In setup to apply functions printf and scanf functiRead more
Hi Nidhi,
Thanks for posting your question online.
In setup to perform floating point operations with library calls, you should add-mfloat-abi = soft. Please refer to-mfloat-abi = name on https//gcc.gnu.org/onlinedocs/gcc-4.4.7/gcc/ARM-Options.html
In setup to apply functions printf and scanf functions, you should add these 2 linker options
Hope it helps
Regards
Alex Thomas
See less