Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed
Fork of ICE by
Diff: src/CommandParser/cmd.cpp
- Revision:
- 3:8ea4db957749
- Parent:
- 2:da28f21b72a1
- Child:
- 5:5e77a1db4d45
--- a/src/CommandParser/cmd.cpp Thu Sep 01 20:32:42 2016 +0000 +++ b/src/CommandParser/cmd.cpp Tue Sep 06 17:51:37 2016 +0000 @@ -34,6 +34,7 @@ #include "ntopt.h" #include "global.h" #include "ConfigurationHandler.h" +#include "mDot.h" Serial serial(USBTX, USBRX); ntshell_t ntshell; @@ -140,7 +141,7 @@ { UNUSED(argc); UNUSED(argv); - ConfigurationHandler_DisplayThreads(); + //ConfigurationHandler_DisplayThreads(); } void cmd_reset(int argc, char **argv) @@ -152,6 +153,8 @@ void cmd_create(int argc, char **argv) { + printf("\rNot yet implemented.\n"); +#if 0 if ( argc != 3 ) { printf("\r\nusage: create [controlName] [controlType]\n"); printf("\rcontrolType-> 0=timer, 1=PID, 2=setpoint, 3=composite, 4=manual\n"); @@ -168,11 +171,15 @@ __func__, msg->controlFile, msg->control); MailBox.put(msg); +#endif return; } void cmd_destroy(int argc, char **argv) { + printf("\rNot yet implemented.\n"); + +#if 0 if ( argc != 2 ) { printf("\r\nusage: destroy [threadName]\r\n"); return; @@ -188,6 +195,7 @@ __func__, msg->controlFile); MailBox.put(msg); +#endif return; } @@ -200,7 +208,7 @@ void cmd_modify(int argc, char **argv) { // stubbed - printf("\nNo-op\r\n"); + printf("\rNot yet implemented.\n"); return; } @@ -210,7 +218,7 @@ UNUSED(argc), UNUSED(argv); static int counter = 0; const unsigned int delay = 1.0; - + cmd_heap(0, 0); // let's just run forever to see what happens