msc works well with samd51

This commit is contained in:
hathach
2018-11-22 11:32:56 +07:00
parent c93765c3bc
commit bdded75ad9
4 changed files with 11 additions and 261 deletions

View File

@@ -87,7 +87,7 @@
//------------- CLASS -------------//
#define CFG_TUD_CDC 1
#define CFG_TUD_MSC 0
#define CFG_TUD_MSC 1
#define CFG_TUD_HID 0
#define CFG_TUD_HID_KEYBOARD 0
@@ -119,7 +119,7 @@
#define CFG_TUD_MSC_BUFSIZE 512
// Number of Blocks
#define CFG_TUD_MSC_BLOCK_NUM BOARD_MSC_FLASH_SIZE/CFG_TUD_MSC_BLOCK_SZ
#define CFG_TUD_MSC_BLOCK_NUM 16
// Block size
#define CFG_TUD_MSC_BLOCK_SZ 512