Simple embedded shell with runtime pluggable commands.
Implements a simple unix-like shell for embedded systems with a pluggable command architecture.
Diff: SimpleShell.h
- Revision:
- 11:23f61057d877
- Parent:
- 10:c3faa7ffd23b
- Parent:
- 9:05eb118e66d9
- Child:
- 13:a29fb89018e1
--- a/SimpleShell.h Thu Dec 13 08:56:58 2018 +0000 +++ b/SimpleShell.h Thu Dec 13 09:00:28 2018 +0000 @@ -4,7 +4,8 @@ #include "mbed.h" /** SimpleShell - * A simple, flexible, embedded shell with dynamically added shell commands. + * A simple, flexible, embedded shell with dynamically added shell commands. + * Shell commands must be void(). * @code * #include "SimpleShell.h" * @@ -59,6 +60,9 @@ * @return Callback to a function returning void */ Callback<void()> findCommand(); + + /// Built-in shell command to display list of commands + void help(); /// Prints command prompt void printPrompt(void);