test for export
Dependents: F401RE_USBMSD_RAM_copy
Fork of RAM_DISK by
Diff: USBMSD_Ram.cpp
- Revision:
- 3:90186ebbe2c5
- Parent:
- 2:ee281ece9011
diff -r ee281ece9011 -r 90186ebbe2c5 USBMSD_Ram.cpp --- a/USBMSD_Ram.cpp Sun Nov 09 03:01:44 2014 +0000 +++ b/USBMSD_Ram.cpp Sun Jan 29 12:47:29 2017 +0000 @@ -31,10 +31,19 @@ const char mbr[] = { //sector 0: boot sector - 0xEB,0x3C,0x90,0x4D,0x53,0x44,0x4F,0x53,0x35,0x2E,0x30, 0x00,0x02,/*bytes per sector: 512*/ 0x01, /*sectors per cluster*/ 0x01,0x00,/*number of reserved sector*/ - 0x01, /* number of FATs*/ 0x10,0x00, /*Maximum number of root directory entries: 16*/ LSByte(NB_SECTORS),MSByte(NB_SECTORS), /*Total sector count*/ 0xF0, 0x01,0x00,/*sectors per FAT: 1*/ 0x01,0x00,/*Sectors per track*/ 0x01,0x00, /*Number of heads*/ 0x00,0x00,0x00,0x00, - 0x00,0x01,0x00,0x00,0x00,0x00, 0x29, /*boot signature*/ 0x74,0x19,0x02,0x27, /*volume ID*/ 'M','b','e','d',' ', - 'U','S','B',' ',' ',' ', /*volume label: Mbed USB*/ 0x46,0x41,0x54,0x31,0x32,0x20,0x20,0x20,0x33,0xC9, + 0xEB,0x3C,0x90,0x4D,0x53,0x44,0x4F,0x53,0x35,0x2E,0x30, 0x00,0x02,/*bytes per sector: 512*/ + 0x01, /*sectors per cluster*/ 0x01,0x00,/*number of reserved sector*/ + 0x01, /* number of FATs*/ + 0x10,0x00, /*Maximum number of root directory entries: 16*/ + LSByte(NB_SECTORS),MSByte(NB_SECTORS), /*Total sector count*/ + 0xF0, 0x01,0x00,/*sectors per FAT: 1*/ + 0x01,0x00,/*Sectors per track*/ + 0x01,0x00, /*Number of heads*/ + 0x00,0x00,0x00,0x00, + 0x00,0x01,0x00,0x00,0x00,0x00, 0x29, /*boot signature*/ + 0x74,0x19,0x02,0x27, /*volume ID*/ + 'M','b','e','d',' ','U','S','B',' ',' ',' ', /*volume label: Mbed USB*/ + 0x46,0x41,0x54,0x31,0x32,0x20,0x20,0x20,0x33,0xC9, 0x8E,0xD1,0xBC,0xF0,0x7B,0x8E,0xD9,0xB8,0x00,0x20,0x8E,0xC0,0xFC,0xBD,0x00,0x7C, 0x38,0x4E,0x24,0x7D,0x24,0x8B,0xC1,0x99,0xE8,0x3C,0x01,0x72,0x1C,0x83,0xEB,0x3A, 0x66,0xA1,0x1C,0x7C,0x26,0x66,0x3B,0x07,0x26,0x8A,0x57,0xFC,0x75,0x06,0x80,0xCA,