Using Newlib in IAR Workbench
I am trying to port a project developed using Eclipse for the STM32 Discovery board into IAR Workbench. While trying to compile the project, I have the following error: ''Error[Pe020]: identifier ''_impure_ptr'' is undefined '', which I have realized is due to the usage of the _impure_ptr from reent.h file in Cygwin. I am not sure if this is only for Eclipse. If this is for Eclipse, where can I find the necessary header files for ensuring that the project compiles in IAR Workbench too. I have already tried setting ''configUSE_NEWLIB_REENTRANT'' to 0 but to no avail. I think that the previous developers have included this in the FreeRTOSConfig.h for some reason and probably I should not mess with it. Could someone help me with this issue.
#stm3 #freertos