diff --git a/cores/nRF5/usb/tusb_config.h b/cores/nRF5/usb/tusb_config.h index 3cd13865..5c1ffd05 100644 --- a/cores/nRF5/usb/tusb_config.h +++ b/cores/nRF5/usb/tusb_config.h @@ -85,7 +85,14 @@ //------------- CLASS -------------// #define CFG_TUD_CDC 1 + +// disable msc for feather nrf52840 for now until have a more stable QSPI driver +#ifdef ARDUINO_NRF52840_FEATHER +#define CFG_TUD_MSC 0 +#else #define CFG_TUD_MSC 1 +#endif + #define CFG_TUD_HID 0 #define CFG_TUD_HID_KEYBOARD 0 diff --git a/variants/feather_nrf52840_express/variant.cpp b/variants/feather_nrf52840_express/variant.cpp index 28b73d16..86f8b631 100644 --- a/variants/feather_nrf52840_express/variant.cpp +++ b/variants/feather_nrf52840_express/variant.cpp @@ -72,6 +72,7 @@ const uint32_t g_ADigitalPinMap[] = 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63 }; + void initVariant() { // LED1 & LED2 @@ -81,8 +82,11 @@ void initVariant() pinMode(PIN_LED2, OUTPUT); ledOff(PIN_LED2); +#if 0 // disable QSPI flash for now // Init External Flash flash_qspi_init(); +#endif + // USB init usb_init();