|
1 | 1 | # Minimal printf and snprintf
|
2 | 2 |
|
3 |
| -Library supports both printf and snprintf in 960 bytes of flash. |
| 3 | +Library supports both printf and snprintf in 1252 bytes of flash. |
4 | 4 |
|
5 |
| -Prints directly to stdio/UART without using malloc. All flags, length, and precision modifiers are ignored. Floating point is disabled by default. |
| 5 | +Prints directly to stdio/UART without using malloc. All flags and precision modifiers are ignored. Floating point is disabled by default. |
6 | 6 |
|
7 | 7 | Supports:
|
8 |
| -* %d: signed long int. |
9 |
| -* %i: signed long int. |
10 |
| -* %u: unsigned long int. |
11 |
| -* %x: unsigned char printed as hexadecimal number (e.g., FF). |
12 |
| -* %X: unsigned char printed as hexadecimal number (e.g., FF). |
| 8 | +* %d: signed integer [h, hh, (none), l, ll, z, j, t]. |
| 9 | +* %i: signed integer [h, hh, (none), l, ll, z, j, t]. |
| 10 | +* %u: unsigned integer [h, hh, (none), l, ll, z, j, t]. |
| 11 | +* %x: unsigned integer [h, hh, (none), l, ll, z, j, t], printed as hexadecimal number (e.g., FF). |
| 12 | +* %X: unsigned integer [h, hh, (none), l, ll, z, j, t], printed as hexadecimal number (e.g., FF). |
13 | 13 | * %f: floating point (disabled by default).
|
14 | 14 | * %F: floating point (disabled by default).
|
15 | 15 | * %g: floating point (disabled by default).
|
|
0 commit comments