diff options
author | Joey Castillo <joeycastillo@utexas.edu> | 2022-05-06 18:02:04 -0400 |
---|---|---|
committer | Joey Castillo <joeycastillo@utexas.edu> | 2022-05-06 18:02:04 -0400 |
commit | 0819102f7845fd2c7d9bb70584d979560382ead6 (patch) | |
tree | a7ec801b788369688c28b3a310f6fcfd71ee95a8 /watch-library/hardware/watch/tusb_config.h | |
parent | 838102a7e9ccfddf8f901def6cad35e66bf2d0fd (diff) | |
download | Sensor-Watch-usb-msc.tar.gz Sensor-Watch-usb-msc.tar.bz2 Sensor-Watch-usb-msc.zip |
get tinyUSB mass storage demo workingusb-msc
Diffstat (limited to 'watch-library/hardware/watch/tusb_config.h')
-rw-r--r-- | watch-library/hardware/watch/tusb_config.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/watch-library/hardware/watch/tusb_config.h b/watch-library/hardware/watch/tusb_config.h index a22b2b99..0f6205e0 100644 --- a/watch-library/hardware/watch/tusb_config.h +++ b/watch-library/hardware/watch/tusb_config.h @@ -72,7 +72,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_MIDI 0 #define CFG_TUD_VENDOR 0 @@ -84,6 +84,9 @@ // CDC Endpoint transfer buffer size, more is faster #define CFG_TUD_CDC_EP_BUFSIZE (64) +// MSC Buffer size of Device Mass storage +#define CFG_TUD_MSC_EP_BUFSIZE 512 + #ifdef __cplusplus } #endif |