HAS_SDCARD_CONNECTION is more obsolete
This commit is contained in:
parent
5071fe82ab
commit
5b438fb20d
|
@ -1172,7 +1172,6 @@
|
||||||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||||
//#define BINARY_FILE_TRANSFER
|
//#define BINARY_FILE_TRANSFER
|
||||||
|
|
||||||
#if HAS_SDCARD_CONNECTION
|
|
||||||
/**
|
/**
|
||||||
* Set this option to one of the following (or the board's defaults apply):
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
*
|
*
|
||||||
|
@ -1183,7 +1182,6 @@
|
||||||
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
*/
|
*/
|
||||||
//#define SDCARD_CONNECTION LCD
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
|
|
@ -571,8 +571,6 @@
|
||||||
|
|
||||||
#define IS_RE_ARM_BOARD MB(RAMPS_14_RE_ARM_EFB, RAMPS_14_RE_ARM_EEB, RAMPS_14_RE_ARM_EFF, RAMPS_14_RE_ARM_EEF, RAMPS_14_RE_ARM_SF)
|
#define IS_RE_ARM_BOARD MB(RAMPS_14_RE_ARM_EFB, RAMPS_14_RE_ARM_EEB, RAMPS_14_RE_ARM_EFF, RAMPS_14_RE_ARM_EEF, RAMPS_14_RE_ARM_SF)
|
||||||
|
|
||||||
#define HAS_SDCARD_CONNECTION EITHER(TARGET_LPC1768, ADAFRUIT_GRAND_CENTRAL_M4)
|
|
||||||
|
|
||||||
#define HAS_LINEAR_E_JERK (DISABLED(CLASSIC_JERK) && ENABLED(LIN_ADVANCE))
|
#define HAS_LINEAR_E_JERK (DISABLED(CLASSIC_JERK) && ENABLED(LIN_ADVANCE))
|
||||||
|
|
||||||
#ifndef SPI_SPEED
|
#ifndef SPI_SPEED
|
||||||
|
|
|
@ -182,6 +182,10 @@
|
||||||
// Misc. Functions
|
// Misc. Functions
|
||||||
//
|
//
|
||||||
|
|
||||||
|
#ifndef SDCARD_CONNECTION
|
||||||
|
#define SDCARD_CONNECTION LCD
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// Onboard SD card
|
// Onboard SD card
|
||||||
// NOT compatible with LCD
|
// NOT compatible with LCD
|
||||||
|
|
|
@ -236,7 +236,11 @@
|
||||||
#define SDIO_CK_PIN 28 // PC12 SDIO_CK
|
#define SDIO_CK_PIN 28 // PC12 SDIO_CK
|
||||||
#define SDIO_CMD_PIN 29 // PD2 SDIO_CMD
|
#define SDIO_CMD_PIN 29 // PD2 SDIO_CMD
|
||||||
|
|
||||||
#if !defined(SDCARD_CONNECTION) || SDCARD_CONNECTION == ONBOARD
|
#ifndef SDCARD_CONNECTION
|
||||||
|
#define SDCARD_CONNECTION ONBOARD
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if SDCARD_CONNECTION == ONBOARD
|
||||||
#define SDIO_SUPPORT // Use SDIO for onboard SD
|
#define SDIO_SUPPORT // Use SDIO for onboard SD
|
||||||
|
|
||||||
#ifndef SDIO_SUPPORT
|
#ifndef SDIO_SUPPORT
|
||||||
|
|
Loading…
Reference in a new issue