You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mbed_retarget: Add an internal class to provide basic console functionality
The retarget code allocates an array of FileHandle* for console and file
handling (filehandles). A tiny target only needs a console (putc/getc).
There is no need for file handling.
The POSIX layer and the array of FileHandle* is not required for small
targets that only need a console ; this code is optionally compiled
out if the configuration parameter platform.stdio-minimal-console-only is
set to `"true"`.
Copy file name to clipboardExpand all lines: platform/mbed_lib.json
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,11 @@
16
16
"value": false
17
17
},
18
18
19
+
"stdio-minimal-console-only": {
20
+
"help": "(Applies if target.console-uart is true. Ignores stdio-buffered-serial) Creates a console for basic unbuffered I/O operations. Enable if your application does not require file handles to access the serial interface.",
21
+
"value": true
22
+
},
23
+
19
24
"stdio-baud-rate": {
20
25
"help": "(Applies if target.console-uart is true.) Baud rate for stdio",
0 commit comments