I need to enable configUSE_NEWLIB_REENTRANT 1 with IAR.
IAR compiler donot provide reent.h.
Any example freeRTOS for IAR with configUSE_NEWLIB_REENTRANT 1
I am using memory 4 of freertos. do I need to enable configUSE_NEWLIB_REENTRANT
Thanks,
Syed
If they don’t provide reent.h, then either they aren’t using newlib, or they have configured it for only the simpler cases that don’t use that option.
Note, that configUSE_NEWLIB_REENTRANT is only needed if you are using library functions out of newlib that need to keep “local” information between calls. This would be things like strtok, or the io library. I find I rarely need to use that option.
If you are using the IAR tools I would recommend using their libraries too. They are tailored for embedded systems and part of the value of their tools.