diff options
| author | Scott Shawcroft <scott@chickadee.tech> | 2016-10-13 14:53:31 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott@chickadee.tech> | 2016-10-21 15:36:59 -0700 |
| commit | 306c921ed1437fc79423958a5e4bd8b0e96bc863 (patch) | |
| tree | 634189a017a0fb428b21755c528548415f4ffbcf /atmel-samd/main.c | |
| parent | 6fe8c7b32c04e8c0b1ad8618920e241430634ad2 (diff) | |
atmel-samd: Rework mass storage interaction with underlying block
storage to use micropython's VFS interface.
This makes mass storage work with any VFS implementation rather
than a single one.
Diffstat (limited to 'atmel-samd/main.c')
| -rw-r--r-- | atmel-samd/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/atmel-samd/main.c b/atmel-samd/main.c index 77a0f53fd..6d781e796 100644 --- a/atmel-samd/main.c +++ b/atmel-samd/main.c @@ -23,7 +23,6 @@ #include "mpconfigboard.h" #include "modmachine_pin.h" -#include "storage.h" fs_user_mount_t fs_user_mount_flash; @@ -72,6 +71,8 @@ static const char fresh_readme_txt[] = "Please visit http://micropython.org/help/ for further help.\r\n" ; +extern void flash_init_vfs(fs_user_mount_t *vfs); + // we don't make this function static because it needs a lot of stack and we // want it to be executed without using stack within main() function void init_flash_fs() { |
