Simple embedded shell with runtime pluggable commands.

Dependents:   DataBus2018

Implements a simple unix-like shell for embedded systems with a pluggable command architecture.

Revision:
30:35522ea06236
Parent:
29:8d4132274445
Child:
31:27e8130a0d8f
--- a/SimpleShell.cpp	Wed Dec 26 15:56:05 2018 +0000
+++ b/SimpleShell.cpp	Thu Dec 27 15:50:34 2018 +0000
@@ -427,7 +427,7 @@
         argv[i] = NULL;
     }
     t = strtok(s, " ");
-    while (t && argc < 10) {
+    while (t && argc < MAXARGS) {
         argv[argc++] = t;
         t = strtok(NULL, " ");
     }