add msc multiple lun support

- remove CFG_TUD_MSC_MAXLUN
- add tud_msc_maxlun_cb()
- add msc_dual_lun exmaple
This commit is contained in:
hathach
2019-04-26 15:54:42 +07:00
parent 99f4c06197
commit b74eca4f12
8 changed files with 126 additions and 51 deletions

View File

@@ -97,8 +97,6 @@
//--------------------------------------------------------------------
// MSC
//--------------------------------------------------------------------
// Number of supported Logical Unit Number (At least 1)
#define CFG_TUD_MSC_MAXLUN 1
// Buffer size of Device Mass storage
#define CFG_TUD_MSC_BUFSIZE 512