summaryrefslogtreecommitdiff
path: root/examples/host
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-03-17 18:34:56 +0700
committerhathach <[email protected]>2023-03-17 18:34:56 +0700
commit57d23c7a68b37555cfe1c8a8dc4c0983fb07f0e9 (patch)
tree300dd0b2e35b864511f1241985729779f21d9f58 /examples/host
parent25d802532c27f11a6445f71ef44af98a2a780864 (diff)
update example description
Diffstat (limited to 'examples/host')
-rw-r--r--examples/host/msc_file_explorer/src/main.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/examples/host/msc_file_explorer/src/main.c b/examples/host/msc_file_explorer/src/main.c
index 40c88a7d3..7b1c2ef27 100644
--- a/examples/host/msc_file_explorer/src/main.c
+++ b/examples/host/msc_file_explorer/src/main.c
@@ -23,6 +23,38 @@
*
*/
+/* Example to show how to navigate mass storage device with built-in command line.
+ * Type help for list of supported commands and syntax (mostly linux commands)
+
+ > help
+ * help
+ Print list of commands
+ * cat
+ Usage: cat [FILE]...
+ Concatenate FILE(s) to standard output..
+ * cd
+ Usage: cd [DIR]...
+ Change the current directory to DIR.
+ * cp
+ Usage: cp SOURCE DEST
+ Copy SOURCE to DEST.
+ * ls
+ Usage: ls [DIR]...
+ List information about the FILEs (the current directory by default).
+ * pwd
+ Usage: pwd
+ Print the name of the current working directory.
+ * mkdir
+ Usage: mkdir DIR...
+ Create the DIRECTORY(ies), if they do not already exist..
+ * mv
+ Usage: mv SOURCE DEST...
+ Rename SOURCE to DEST.
+ * rm
+ Usage: rm [FILE]...
+ Remove (unlink) the FILE(s).
+ */
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>