Browse Source

Update LPC SD pins for BIQU SKR (#12767)

(Exactly matching the Azteeg X5 MINI Wifi)
pull/1/head
luxflow 6 years ago
committed by Scott Lahteine
parent
commit
7f244f9b9c
  1. 35
      Marlin/src/pins/pins_BIQU_SKR_V1.1.h

35
Marlin/src/pins/pins_BIQU_SKR_V1.1.h

@ -196,3 +196,38 @@
#endif
#endif // ULTRA_LCD
//
// SD Support (as with the AZTEEG_X5_MINI_WIFI)
//
//#define USB_SD_DISABLED // Disable host access to SD card as mass storage device through USB
#define USB_SD_ONBOARD // Enable host access to SD card as mass storage device through USB
//#define LPC_SD_LCD // Marlin uses the SD drive attached to the LCD
#define LPC_SD_ONBOARD // Marlin uses the SD drive on the control board. There is no SD detect pin
// for the onboard card. Init card from LCD menu or send M21 whenever printer
// is powered on to enable SD access.
#if ENABLED(LPC_SD_LCD)
#define SCK_PIN P0_15
#define MISO_PIN P0_17
#define MOSI_PIN P0_18
#define SS_PIN P1_23 // Chip select for SD card used by Marlin
#define ONBOARD_SD_CS P0_06 // Chip select for "System" SD card
#elif ENABLED(LPC_SD_ONBOARD)
#if ENABLED(USB_SD_ONBOARD)
// When sharing the SD card with a PC we want the menu options to
// mount/unmount the card and refresh it. So we disable card detect.
#define SHARED_SD_CARD
#undef SD_DETECT_PIN // there is also no detect pin for the onboard card
#endif
#define SCK_PIN P0_07
#define MISO_PIN P0_08
#define MOSI_PIN P0_09
#define SS_PIN P0_06 // Chip select for SD card used by Marlin
#define ONBOARD_SD_CS P0_06 // Chip select for "System" SD card
#endif

Loading…
Cancel
Save