Skip to content

Commit 6417bb0

Browse files
committed
enable MSC host for rp2040
1 parent 292611d commit 6417bb0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/arduino/ports/rp2040/tusb_config_rp2040.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ extern int serial1_printf(const char *__restrict __format, ...);
104104
// Enable tuh_edpt_xfer() API
105105
//#define CFG_TUH_API_EDPT_XFER 1
106106

107+
#define CFG_TUH_MSC 1
107108
#define CFG_TUH_HID 4
108109

109110
#ifdef __cplusplus

tools/build_all.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
['metro_m4_tinyusb', 'adafruit:samd:adafruit_metro_m4:speed=120,usbstack=tinyusb'],
2121
['nrf52840', 'adafruit:nrf52:feather52840'],
2222
['feather_rp2040_tinyusb', 'rp2040:rp2040:adafruit_feather:flash=8388608_0,freq=125,dbgport=Disabled,dbglvl=None,usbstack=tinyusb'],
23-
['metroesp32s2', 'esp32:esp32:adafruit_metro_esp32s2:CDCOnBoot=cdc,MSCOnBoot=default,DFUOnBoot=default,UploadMode=cdc,PSRAM=enabled,PartitionScheme=tinyuf2'],
24-
#[' ', 'esp32:esp32:adafruit_feather_esp32s3:FlashMode=qio,LoopCore=1,EventsCore=1,USBMode=default,CDCOnBoot=cdc,MSCOnBoot=default,DFUOnBoot=default,UploadMode=cdc,PartitionScheme=tinyuf2'],
23+
['metroesp32s2', 'espressif:esp32:adafruit_metro_esp32s2:CDCOnBoot=cdc,MSCOnBoot=default,DFUOnBoot=default,UploadMode=cdc,PSRAM=enabled,PartitionScheme=tinyuf2'],
24+
#[' ', 'espressif:esp32:adafruit_feather_esp32s3:FlashMode=qio,LoopCore=1,EventsCore=1,USBMode=default,CDCOnBoot=cdc,MSCOnBoot=default,DFUOnBoot=default,UploadMode=cdc,PartitionScheme=tinyuf2'],
2525
]
2626

2727
# return [succeeded, failed, skipped]

0 commit comments

Comments
 (0)