3
3
4
4
Library supports both printf and snprintf in around 1300 bytes of flash.
5
5
6
- Prints directly to stdio/UART without using malloc. All flags and precision modifiers are ignored.
6
+ Prints directly to stdio/UART without using malloc. Width size and prepending zero modifiers are supported. All other flags are ignored.
7
7
There is no error handling if a writing error occurs.
8
8
9
9
Supports:
@@ -12,10 +12,10 @@ Supports:
12
12
* %u: unsigned integer [ h, hh, (none), l, ll, z, j, t] .
13
13
* %x: unsigned integer [ h, hh, (none), l, ll, z, j, t] , printed as hexadecimal number (e.g., ff).
14
14
* %X: unsigned integer [ h, hh, (none), l, ll, z, j, t] , printed as hexadecimal number (e.g., FF).
15
- * %f: floating point (disabled by default).
16
- * %F: floating point (disabled by default, treated as %f).
17
- * %g: floating point (disabled by default, treated as %f).
18
- * %G: floating point (disabled by default, treated as %f).
15
+ * %f: floating point (disabled by default). Precision modifier is supported (e.g. %.5f).
16
+ * %F: floating point (disabled by default, treated as %f). Precision modifier is supported (e.g. %.5F).
17
+ * %g: floating point (disabled by default, treated as %f). Precision modifier is supported (e.g. %.5g).
18
+ * %G: floating point (disabled by default, treated as %f). Precision modifier is supported (e.g. %.5G).
19
19
* %c: character.
20
20
* %s: string.
21
21
* %p: pointer (e.g. 0x00123456).
0 commit comments