porting FreeRTOS7.5.3 on PSOC5LP using PSOC Creator 3.0(newlib included).
where I found sprintf not working with floating point(got all NULL chars except the ‘.’ after conversion) after FreeRTOS scheduler started (works before).
it looks like the newlib with PSOC Creator 3.0 might have the floating point funtion issue while in a multitasking env.
newlib in PSOC Creator 3.0: the floating point functions works
newlib in PSOC Creator 3.0 with FreeRTOS started: floating point functions does not work
newlib in POSC Creator 2.1 with FreeRTOS started: floating point functions works
I don’t know if this is relating to reentrant of newlib (included in PSOC Creator 3.0). But I enabled the macro #define configUSE_NEWLIB_REENTRANT == 1 in FreeRTOSConfig.h, and memory allocation in the port is using heap2.c
Anyone can advise where to start on this issue? thanks.