printf of a float value in FreeRtos example | Cypress Semiconductor
printf of a float value in FreeRtos example
Based on the given example of FreeRtos found here http://www.cypress.com/?rID=93723&cache=0&source=creatorStartPage I added a printf(DebugStr,"%f",123.456); in the main task.
Instead of 123.456 i get strange characters and the decimal point back.
I added at the linker command line -u _printf_float -u _scanf_float.
Anyone any idea why this happens?