Seeed-Studio / ArduinoCore-samd

49 stars 27 forks source link

Serial.printf("%f") not working #8

Closed matsujirushi closed 4 years ago

matsujirushi commented 4 years ago

https://stackoverflow.com/questions/12703307/arm-none-eabi-gcc-printing-float-number-using-printf

Maybe need linker option -u _printf_float -u _scanf_float.

LynnL4 commented 4 years ago

This problem has been fixed

matsujirushi commented 4 years ago

https://github.com/Seeed-Studio/ArduinoCore-samd/commit/a55f7b599e98d35b2f1d684cc16a1eab14b9e198