summaryrefslogtreecommitdiff
path: root/include/cmd_fat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cmd_fat.h')
-rw-r--r--include/cmd_fat.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/cmd_fat.h b/include/cmd_fat.h
new file mode 100644
index 0000000..222b14c
--- /dev/null
+++ b/include/cmd_fat.h
@@ -0,0 +1,20 @@
+/*
+ * (C) Copyright 2014-2018 Leo C. <erbl259-lmu@yahoo.de>
+ *
+ * SPDX-License-Identifier: GPL-2.0
+ */
+
+#ifndef CMD_FAT_H
+#define CMD_FAT_H
+
+#include "command.h"
+#include "ff.h"
+
+extern cmd_tbl_t cmd_tbl_fat[];
+
+const FLASH char * fat_rctostr(FRESULT rc);
+command_ret_t do_fat(cmd_tbl_t *, uint_fast8_t, int, char * const []);
+
+void setup_fatfs(void);
+
+#endif /* CMD_FAT_H */