Skip to content

Commit 118189b

Browse files
committed
Increase CFG_TUD_MSC_EP_BUFSIZE to 4k
This is to enable mass storage device for ZuluSCSI rp2040/pico builds - Modified tools/libpico/tusb_config.h - Respun libpico static libraries by running `tools/libpico/make-libpico.sh`
1 parent 9214ffa commit 118189b

File tree

7 files changed

+2
-2
lines changed

7 files changed

+2
-2
lines changed

include/tusb_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
#define CFG_TUD_CDC_RX_BUFSIZE (256)
8080
#define CFG_TUD_CDC_TX_BUFSIZE (256)
8181

82-
#define CFG_TUD_MSC_EP_BUFSIZE (64)
82+
#define CFG_TUD_MSC_EP_BUFSIZE (1024*4)
8383

8484
// HID buffer size Should be sufficient to hold ID (if any) + Data
8585
#define CFG_TUD_HID_EP_BUFSIZE (64)

lib/libpico.a

-13.3 KB
Binary file not shown.

lib/libpicow-ipv6-btc-ble.a

-34.3 KB
Binary file not shown.

lib/libpicow-ipv6-nobtc-noble.a

-22 KB
Binary file not shown.

lib/libpicow-noipv6-btc-ble.a

-32.9 KB
Binary file not shown.

lib/libpicow-noipv6-nobtc-noble.a

-20.6 KB
Binary file not shown.

tools/libpico/tusb_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
#define CFG_TUD_CDC_RX_BUFSIZE (256)
8080
#define CFG_TUD_CDC_TX_BUFSIZE (256)
8181

82-
#define CFG_TUD_MSC_EP_BUFSIZE (64)
82+
#define CFG_TUD_MSC_EP_BUFSIZE (1024*4)
8383

8484
// HID buffer size Should be sufficient to hold ID (if any) + Data
8585
#define CFG_TUD_HID_EP_BUFSIZE (64)

0 commit comments

Comments
 (0)