chprintf() - support pointer types Topic is solved

Use this forum for requesting small changes in ChibiOS. Large changes should be discussed in the development forum. This forum is NOT for support.
Post Reply
steved
Posts: 834
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 138 times

chprintf() - support pointer types

Post by steved »

Would it be possible to add 'p' and 'P' print specifiers (for pointers) to chprintf()? They could be treated identically to 'x' and 'X'.

(Background - it's the one print specifier that can't be overridden in lwip's debugging, and results in invalid printouts)
Attachments
chprintf.zip
pointer print specifier added
(2.99 KiB) Downloaded 478 times
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: chprintf() - support pointer types

Post by Giovanni »

Added.

Giovanni
Post Reply