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 140140 "value" : true
141141 },
142142 "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 " ,
144144 "value" : true
145145 },
146146 "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 " ,
148148 "value" : true
149149 },
150150 "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 " ,
152152 "value" : 6
153153 }
154154 },
Original file line number Diff line number Diff line change 11# Minimal printf and snprintf
22
33
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.
55
66Prints directly to stdio/UART without using malloc. All flags and precision modifiers are ignored.
77There is no error handling if a writing error occurs.
@@ -20,6 +20,10 @@ Supports:
2020* %s: string.
2121* %p: pointer (e.g. 0x00123456).
2222
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+
2327Unrecognized format specifiers are treated as ordinary characters.
2428
2529Floating point limitations:
You can’t perform that action at this time.
0 commit comments