A UNIX emulation shell to access the underlying SDCard FileSystem through a terminal interface
Information
Dependencies not included with library:
Information
SDShell does not change the com baudrate. Access is made using the baud as initialized by the Serial object when passed into the SDShell object
Example
#include "mbed.h" #include "SDFileSystem.h" #include "SDShell.h" Serial com(USBTX, USBRX); SDFileSystem sd(p11, p12, p13, p14, "sd"); SDShell emulate; int main() { emulate.init(); emulate.shell(com, sd, "/sd"); }
Diff: SDShell.h
- Revision:
- 4:6ff0a3d92778
- Parent:
- 2:b3107e463974
- Child:
- 5:3417ba8cb1e4
--- a/SDShell.h Sun May 05 16:58:01 2013 +0000 +++ b/SDShell.h Sun May 05 18:39:35 2013 +0000 @@ -100,6 +100,7 @@ char *pwd(char *cmd); char *head(char *cmd); char *cat(char *cmd); + char *catb(char *cmd); char *touch(char *cmd); char *create(char *cmd); char *rm(char *cmd);