fix build error with device 43xx

refractor mscd ramdisk demo
This commit is contained in:
hathach
2013-11-15 00:01:07 +07:00
parent 6e8440afe5
commit ba49d26e19
10 changed files with 384 additions and 167 deletions

View File

@@ -55,6 +55,18 @@
#if TUSB_CFG_DEVICE_MSC
enum
{
DISK_BLOCK_NUM = 16, // 8KB is the smallest size that windows allow to mount
DISK_BLOCK_SIZE = 512
};
#if MCU==MCU_LPC43XX
#define MSCD_APP_RAMDISK
#else // defaults is rom disk
#define MSCD_APP_ROMDISK
#endif
void msc_dev_app_init(void);
OSAL_TASK_FUNCTION( msc_dev_app_task ) (void* p_task_para);