USB MSC, Copy Files Larger Than Available RAM Size? #1294
-
|
Looking at the cdc_msc example in the msc_disk.c file, this section of code exists: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
No such limit really exists, thats just the example code which uses a 'RAM disk'. |
Beta Was this translation helpful? Give feedback.
No such limit really exists, thats just the example code which uses a 'RAM disk'.
Just implement tud_msc_write10_cb and tud_msc_read10_cb accordingly and redirect the reads/writes to your filesystem. These calls are in sector sizes (nominally only 512 bytes)