Printf_stdarg.c printf for s format specifier displaying (null)

Hi,
I am trying to use the printf implementation from the printf_stdarg.c but not getting correct result on the console for s format specifier. The printf output is getting directed to uart/sci console in the application and other format specifiers are getting displayed correctly. In case of strings, only (null) is getting displayed. Let me know if anyone has seen this issue before. PFA the screenshot for reference.


Did you try stepping through the code in the debugger to see why this was happening? Please provide a Github link (URL) to the copy of printf_stdarg.c you are using. GitHub - FreeRTOS/FreeRTOS: 'Classic' FreeRTOS distribution. Started as Git clone of FreeRTOS SourceForge SVN repo. Submodules the kernel.