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.
steved
Posts: 825
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 135 times

chprintf() - support pointer types  Topic is solved

Postby steved » Fri Dec 13, 2019 2:56 pm

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 169 times

User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: chprintf() - support pointer types

Postby Giovanni » Sun Mar 08, 2020 9:55 am

Added.

Giovanni


Return to “Small Change Requests”

Who is online

Users browsing this forum: No registered users and 3 guests