Search Results
Search results 1-11 of 11.
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
Hi again, i just found a much simpler and less error prone patch and also added a "NULL" fallback definition that i got from the SEGGER_RTT.c forum.segger.com/index.php/Attachment/5410/ Best regards Philipp
-
Hi, there was an error in my code block i posted above, which i fixed there. I now also created a patch file, including the "(null)" printing. @SEGGER - Nino Any minds about this patch? Best regards Philipp
-
Did create a ticket (Inquiry#60307445) with patch files. Be aware that only second ones are complete (also added vprintf functions for host functions)
-
Hi Nino, no problem, will create a ticket with the patch files for it. Just found this forum better for discussion, as the Segger GitHub repo is somehow abandoned. May take a little bit, as i haven't prepared the patch right now and i'm out of office for some time soon. Best regards Philipp
-
Hi mwb1100, wasn't aware of that behavior. Patch would then look something like that: Source Code (9 lines) which is also totally ok
-
Hi Segger Team, it would be very nice to add APIs for the printf functions with va_list* pParamList instead of ... for target so upper layer software can pass on parameters passed to them via .... We currently do this by patching the files to directly exposing _VPrintTarget to the header (making this function global). As this solution isn't the right manner and we like to have this in the original release i propose following changes to SystemView: C Source Code (18 lines)Source Code (16 lines)So…
-
Hi Segger Team, we're having software that passes printf format strings with %s in the format string and we want to be able to pass this trough SystemView too (RTT already does support it). Currently we do patch the SystemView sources right now in the following way. forum.segger.com/index.php/Attachment/5375/ EDIT: One thing to mention here is that %s format string then would only be working when formatted on target. Host functions only work liek expected with such format string when SEGGER_SYSV…
-
Hi Segger Team, we're having software that passes printf format strings with %s in the format string, but the corresponding char * is NULL in same cases. As it is cumbersome to check the variadic arguments (va_args) values before passing them into SEGGER_RTT_vprintf we do patch the Segger RTT sources with an additional check right now. forum.segger.com/index.php/Attachment/5373/ We also created a patch file: forum.segger.com/index.php/Attachment/5372/ It would be nice, if this patch could get pa…