diff options
author | Damien George <damien.p.george@gmail.com> | 2017-01-29 15:15:16 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-01-30 12:26:07 +1100 |
commit | 56506fd64a40f9c5ea97888245df6f2cb8b20744 (patch) | |
tree | 152a6a95d1f3393e0b8b535e2a8f6f7a18692fd2 /cc3200/mods/moduos.h | |
parent | 6eafa544865a5d6dcb18f9161f7a18bd4fb6229f (diff) | |
download | micropython-56506fd64a40f9c5ea97888245df6f2cb8b20744.tar.gz micropython-56506fd64a40f9c5ea97888245df6f2cb8b20744.zip |
cc3200: Convert to use new VFS sub-system and new ooFatFs library.
Diffstat (limited to 'cc3200/mods/moduos.h')
-rw-r--r-- | cc3200/mods/moduos.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/cc3200/mods/moduos.h b/cc3200/mods/moduos.h index 1ebf16cdfa..4c8bc96595 100644 --- a/cc3200/mods/moduos.h +++ b/cc3200/mods/moduos.h @@ -28,22 +28,11 @@ #ifndef MODUOS_H_ #define MODUOS_H_ -#include "ff.h" +#include "py/obj.h" /****************************************************************************** DEFINE PUBLIC TYPES ******************************************************************************/ -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; typedef struct _os_term_dup_obj_t { mp_obj_t stream_o; @@ -54,9 +43,6 @@ typedef struct _os_term_dup_obj_t { /****************************************************************************** DECLARE PUBLIC FUNCTIONS ******************************************************************************/ -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); void osmount_unmount_all (void); #endif // MODUOS_H_ |