qspi msc flash seems to work

This commit is contained in:
hathach
2018-09-08 00:15:34 +07:00
parent a0ae452987
commit 8572947da5
9 changed files with 207 additions and 369 deletions
-12
View File
@@ -50,23 +50,11 @@
extern "C" {
#endif
enum
{
DISK_BLOCK_NUM = 16, // 8KB is the smallest size that windows allow to mount
DISK_BLOCK_SIZE = 512
};
#define README_CONTENTS \
"This is tinyusb's MassStorage Class demo.\r\n\r\n\
If you find any bugs or get any questions, feel free to file an\r\n\
issue at github.com/hathach/tinyusb"
#if CFG_TUSB_MCU==OPT_MCU_LPC11UXX || CFG_TUSB_MCU==OPT_MCU_LPC13UXX
#define MSCD_APP_ROMDISK
#else // defaults is ram disk
#define MSCD_APP_RAMDISK
#endif
#ifdef __cplusplus
}
#endif