Hello,
When building the demo with GCC, ensure that the demo and platform library are built with this option:
<code>
<br>CHOOSE_FLOAT=HARD_FP <br>
</code>
Otherwise, the project does not use the Kinetis device’s hardware floating point when using the CMSIS-- DSP library.
In addition please check the below threads.
printf() with float values
GENERAL: PRECISION OF PRINTF %F FORMAT STRING
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------