Skip to content

Commit fbfb784

Browse files
committed
disable usb msc for feather nrf52840 for now
1 parent 1b68708 commit fbfb784

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

cores/nRF5/usb/tusb_config.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,14 @@
8585

8686
//------------- CLASS -------------//
8787
#define CFG_TUD_CDC 1
88+
89+
// disable msc for feather nrf52840 for now until have a more stable QSPI driver
90+
#ifdef ARDUINO_NRF52840_FEATHER
91+
#define CFG_TUD_MSC 0
92+
#else
8893
#define CFG_TUD_MSC 1
94+
#endif
95+
8996

9097
#define CFG_TUD_HID 0
9198
#define CFG_TUD_HID_KEYBOARD 0

variants/feather_nrf52840_express/variant.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ const uint32_t g_ADigitalPinMap[] =
7272
48, 49, 50, 51, 52, 53, 54, 55,
7373
56, 57, 58, 59, 60, 61, 62, 63
7474
};
75+
7576
void initVariant()
7677
{
7778
// LED1 & LED2
@@ -81,8 +82,11 @@ void initVariant()
8182
pinMode(PIN_LED2, OUTPUT);
8283
ledOff(PIN_LED2);
8384

85+
#if 0 // disable QSPI flash for now
8486
// Init External Flash
8587
flash_qspi_init();
88+
#endif
89+
8690

8791
// USB init
8892
usb_init();

0 commit comments

Comments
 (0)