aboutsummaryrefslogtreecommitdiff
path: root/extmod/fsusermount.h
diff options
context:
space:
mode:
Diffstat (limited to 'extmod/fsusermount.h')
-rw-r--r--extmod/fsusermount.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/extmod/fsusermount.h b/extmod/fsusermount.h
index 9e0d74e79..a25434b78 100644
--- a/extmod/fsusermount.h
+++ b/extmod/fsusermount.h
@@ -37,6 +37,7 @@
#define BP_IOCTL_SEC_SIZE (5)
typedef struct _fs_user_mount_t {
+ mp_obj_base_t base;
const char *str;
uint16_t len; // length of str
uint16_t flags;
@@ -53,6 +54,8 @@ typedef struct _fs_user_mount_t {
FATFS fatfs;
} fs_user_mount_t;
+fs_user_mount_t *fatfs_mount_mkfs(mp_uint_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args, bool mkfs);
+
MP_DECLARE_CONST_FUN_OBJ(fsuser_mount_obj);
MP_DECLARE_CONST_FUN_OBJ(fsuser_umount_obj);
MP_DECLARE_CONST_FUN_OBJ(fsuser_mkfs_obj);