File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 140
140
"value" : true
141
141
},
142
142
"minimal-printf-enable-64-bit" : {
143
- "help" : " Enable printing 64 bit integers when using mprintf profile " ,
143
+ "help" : " Enable printing 64 bit integers when using minimal printf library " ,
144
144
"value" : true
145
145
},
146
146
"minimal-printf-enable-floating-point" : {
147
- "help" : " Enable floating point printing when using mprintf profile " ,
147
+ "help" : " Enable floating point printing when using minimal printf library " ,
148
148
"value" : true
149
149
},
150
150
"minimal-printf-set-floating-point-max-decimals" : {
151
- "help" : " Maximum number of decimals to be printed" ,
151
+ "help" : " Maximum number of decimals to be printed when using minimal printf library " ,
152
152
"value" : 6
153
153
}
154
154
},
Original file line number Diff line number Diff line change 1
1
# Minimal printf and snprintf
2
2
3
3
4
- Library supports both printf and snprintf in 1252 bytes of flash.
4
+ Library supports both printf and snprintf in around 1300 bytes of flash.
5
5
6
6
Prints directly to stdio/UART without using malloc. All flags and precision modifiers are ignored.
7
7
There is no error handling if a writing error occurs.
@@ -20,6 +20,10 @@ Supports:
20
20
* %s: string.
21
21
* %p: pointer (e.g. 0x00123456).
22
22
23
+ Note that support for:
24
+ * 64b modifiers is only present when ` minimal-printf-enable-64-bit ` config is set to ` true ` (default).
25
+ * Floating point parameters is only present when ` minimal-printf-enable-floating-point ` config is set to ` true ` (default).
26
+
23
27
Unrecognized format specifiers are treated as ordinary characters.
24
28
25
29
Floating point limitations:
You can’t perform that action at this time.
0 commit comments