
21 Mar
2019
21 Mar
'19
12:22 p.m.
On Fri, Mar 22, 2019 at 01:12:14AM +0800, Ley Foon Tan wrote:
Add "%ll" modifier support for tiny printf.
- Tested on ARM32 and ARM64 systems.
- Tested "%lld", "%llu", "%llx" and "%p" format with minimum and maximum ranges. Compared tiny printf output with full printf.
Signed-off-by: Ley Foon Tan ley.foon.tan@intel.com
lib/tiny-printf.c | 42 +++++++++++++++++++++++++++++------------- 1 file changed, 29 insertions(+), 13 deletions(-)
What's the use case for this, how much does it grow the size, and can the code in question be changed to use a different format modifier or be debug() instead? Tiny printf isn't intended to cover all formats but rather still allow some amount of printf on constrained systems. Thanks!
--
Tom