I'm compiling a custom application using the CMake scripts in the nRF mesh SDK, and I'm trying to print floats using vsnprintf (I'm guessing the problem is the same as with printf), but nothing is output. I've tried adding
add_link_options("-u _printf_float")
But it still doesn't work. Any suggestions?
My hardware is nRF52DK (nRF52832, which I believe is Cortex-M4f, and the CMake scripts add -mfloat-abi=hard -mfpu=fpv4-sp-d16)