|
@@ -189,7 +189,7 @@
|
189
|
189
|
* definitions control this feature:
|
190
|
190
|
*/
|
191
|
191
|
//#define USB_SD_DISABLED
|
192
|
|
-#define USB_SD_ONBOARD
|
|
192
|
+#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device
|
193
|
193
|
|
194
|
194
|
/*
|
195
|
195
|
* There are a number of configurations available for the SBase SD card reader.
|
|
@@ -198,11 +198,11 @@
|
198
|
198
|
* The onboard SD card can be used and optionally shared with a PC via USB.
|
199
|
199
|
*/
|
200
|
200
|
|
201
|
|
-//#define SBASE_SD_CUSTOM_CABLE // Use a custom cable to access the SD
|
202
|
|
-//#define SBASE_SD_LCD // Use the SD drive attached to the LCD
|
203
|
|
-#define SBASE_SD_ONBOARD // Use the SD drive on the control board
|
|
201
|
+//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD
|
|
202
|
+//#define LPC_SD_LCD // Marlin uses the SD drive attached to the LCD
|
|
203
|
+#define LPC_SD_ONBOARD // Marlin uses the SD drive attached to the control board
|
204
|
204
|
|
205
|
|
-#ifdef SBASE_SD_CUSTOM_CABLE
|
|
205
|
+#ifdef LPC_SD_CUSTOM_CABLE
|
206
|
206
|
/**
|
207
|
207
|
* A custom cable is needed. See the README file in the
|
208
|
208
|
* Marlin\src\config\examples\Mks\Sbase directory
|
|
@@ -225,11 +225,10 @@
|
225
|
225
|
// selected pins are not on a hardware SPI controller
|
226
|
226
|
#endif
|
227
|
227
|
|
228
|
|
-#ifdef SBASE_SD_LCD
|
|
228
|
+#ifdef LPC_SD_LCD
|
229
|
229
|
// use standard cable and header, SPI and SD detect sre shared with on-board SD card
|
230
|
230
|
// hardware SPI is used for both SD cards. The detect pin is shred between the
|
231
|
231
|
// LCD and onboard SD readers so we disable it.
|
232
|
|
- #define SD_DETECT_PIN P0_27
|
233
|
232
|
#undef SD_DETECT_PIN
|
234
|
233
|
#define SCK_PIN P0_07
|
235
|
234
|
#define MISO_PIN P0_08
|
|
@@ -238,7 +237,7 @@
|
238
|
237
|
#define ONBOARD_SD_CS P0_06 // Chip select for "System" SD card
|
239
|
238
|
#endif
|
240
|
239
|
|
241
|
|
-#ifdef SBASE_SD_ONBOARD
|
|
240
|
+#ifdef LPC_SD_ONBOARD
|
242
|
241
|
// The external SD card is not used. Hardware SPI is used to access the card.
|
243
|
242
|
#ifdef USB_SD_ONBOARD
|
244
|
243
|
// When sharing the SD card with a PC we want the menu options to
|