1 /*
2  * Copyright (C) 2015-2017 Alibaba Group Holding Limited
3  */
4 
5 #ifndef FS_FAT_DISKIO_H
6 #define FS_FAT_DISKIO_H
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12 #include "diskio.h"
13 
14 /* Definitions of physical driver number of each drive */
15 #define DEV_MMC 0   /* Map MMC/SD card to physical drive 0 */
16 #define DEV_USB 1   /* Map USB to physical drive 1 */
17 #define DEV_RAM 2   /* Map ramdisk to physical drive 0 */
18 
19 #define MMC_MOUNTPOINT      "/sdcard"
20 #define MMC_PARTITION_ID    "0:"
21 
22 #define USB_MOUNTPOINT      "/usb"
23 #define USB_PARTITION_ID    "1:"
24 
25 #define RAM_MOUNTPOINT      "/ramdisk"
26 #define RAM_PARTITION_ID    "2:"
27 
28 
29 #ifdef __cplusplus
30 }
31 #endif
32 
33 #endif
34 
35