This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Sprintf hardfaulting with float input

Hello,

I'm using the arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-eabi for a cortex M4 on a TM4C1294NCPDT. I've run into a problem where the chip hard faults when a float is passed to sprintf. sprintf works with other inputs. The code to reproduce this is 

The stack trace is 

I'm also using the TI libraries for initialization if that helps. Does this toolchain have a function for converting strings to floats? Thank you for any guidance 

0