summaryrefslogtreecommitdiffstatshomepage
path: root/cc3200/mods/moduos.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc3200/mods/moduos.h')
-rw-r--r--cc3200/mods/moduos.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/cc3200/mods/moduos.h b/cc3200/mods/moduos.h
index 7e01148d71..99172b7061 100644
--- a/cc3200/mods/moduos.h
+++ b/cc3200/mods/moduos.h
@@ -28,5 +28,20 @@
#ifndef MODUOS_H_
#define MODUOS_H_
+typedef struct _os_fs_mount_t {
+ mp_obj_t device;
+ const char *path;
+ mp_uint_t pathlen;
+ mp_obj_t readblocks[4];
+ mp_obj_t writeblocks[4];
+ mp_obj_t sync[2];
+ mp_obj_t count[2];
+ FATFS fatfs;
+ uint8_t vol;
+} os_fs_mount_t;
+
+void moduos_init0 (void);
+os_fs_mount_t *osmount_find_by_path (const char *path);
+os_fs_mount_t *osmount_find_by_volume (uint8_t vol);
#endif // MODUOS_H_