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:
- 25:9340833d92c0
- Parent:
- 23:b1e49cfcaef6
- Child:
- 26:0067bd31653f
diff -r 004e33abce37 -r 9340833d92c0 SimpleShell.h --- a/SimpleShell.h Mon Dec 24 18:52:57 2018 +0000 +++ b/SimpleShell.h Mon Dec 24 19:58:18 2018 +0000 @@ -3,13 +3,12 @@ #include "mbed.h" -/** SimpleShell - * A simple, flexible, embedded shell with dynamically added shell commands. - * Shell commands must be void(). +/** A simple, flexible, embedded shell with dynamically added shell commands. + * Shell commands must be void(int argc, char **argv). * @code * #include "SimpleShell.h" * - * void helloworld() { printf("Hello world!\n"); } + * void helloworld(int argc, char **argv) { printf("Hello world!\n"); } * * int main() { * SimpleShell sh;