From 45afbf6bf357c843e295cf076e1f5d365776d1aa Mon Sep 17 00:00:00 2001 From: Marcus Chang Date: Sat, 14 Oct 2017 21:20:10 -0500 Subject: [PATCH] Update README.md --- features/minimal-printf/README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/features/minimal-printf/README.md b/features/minimal-printf/README.md index 7f59dffb83..2ea089b716 100644 --- a/features/minimal-printf/README.md +++ b/features/minimal-printf/README.md @@ -1 +1,11 @@ -# mbed-printf \ No newline at end of file +# Minimal printf + +Prints directly to stdio/UART without using malloc. +Doesn't support any modifiers. + +Supports: +* %d: signed long int +* %u: unsigned long int +* %p: void* (e.g. 0x00123456) +* %s: string +* %X: unsigned char printed as hexadecimal number (e.g., FF)