diff options
Diffstat (limited to 'atmel-samd/fatfs_port.c')
| -rw-r--r-- | atmel-samd/fatfs_port.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/atmel-samd/fatfs_port.c b/atmel-samd/fatfs_port.c index d47b9d6af..e1eba350a 100644 --- a/atmel-samd/fatfs_port.c +++ b/atmel-samd/fatfs_port.c @@ -26,19 +26,8 @@ #include "py/mphal.h" #include "py/runtime.h" -#include "lib/fatfs/ff.h" /* FatFs lower layer API */ -#include "lib/fatfs/diskio.h" /* FatFs lower layer API */ - -const PARTITION VolToPart[MICROPY_FATFS_VOLUMES] = { - {0, 1}, // Logical drive 0 ==> Physical drive 0, 1st partition - {1, 0}, // Logical drive 1 ==> Physical drive 1 (auto detection) - {2, 0}, // Logical drive 2 ==> Physical drive 2 (auto detection) - {3, 0}, // Logical drive 3 ==> Physical drive 3 (auto detection) - /* - {0, 2}, // Logical drive 2 ==> Physical drive 0, 2nd partition - {0, 3}, // Logical drive 3 ==> Physical drive 0, 3rd partition - */ -}; +#include "lib/oofatfs/ff.h" /* FatFs lower layer API */ +#include "lib/oofatfs/diskio.h" /* FatFs lower layer API */ DWORD get_fattime(void) { // TODO(tannewt): Support the RTC. |
