diff options
| author | Damien George <damien.p.george@gmail.com> | 2017-01-31 12:18:08 +1100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2017-01-31 12:18:08 +1100 |
| commit | 3667ee1b8870ddc76f47260eb87d7d13736c9ad2 (patch) | |
| tree | f5d4ccc743c9b7c8c64efa203fb59a0458b74188 /stmhal/sdcard.h | |
| parent | 326343feebdd1ad990864cc830a30b6a44d44918 (diff) | |
stmhal: On boot, mount all available partitions of the SD card.
The first partition is mounted as "/sd" and subsequent partitions are
mounted as "/sd<part_num>". This is backwards compatible with the previous
behaviour, which just mounted the first partition on "/sd".
At this point, only FatFs filesystems are mounted.
Diffstat (limited to 'stmhal/sdcard.h')
| -rw-r--r-- | stmhal/sdcard.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/sdcard.h b/stmhal/sdcard.h index ccc24927e..237e48d8b 100644 --- a/stmhal/sdcard.h +++ b/stmhal/sdcard.h @@ -41,4 +41,4 @@ extern const struct _mp_obj_type_t pyb_sdcard_type; extern const struct _mp_obj_base_t pyb_sdcard_obj; struct _fs_user_mount_t; -void sdcard_init_vfs(struct _fs_user_mount_t *vfs); +void sdcard_init_vfs(struct _fs_user_mount_t *vfs, int part); |
