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: 646
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 8 times
Been thanked: 92 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 17 times

User avatar
Giovanni
Site Admin
Posts: 12583
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 647 times
Been thanked: 543 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 1 guest