Update SD card connection / sharing options (#14325)
This commit is contained in:
parent
9f136a7c67
commit
064177154c
100 changed files with 1508 additions and 860 deletions
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -69,11 +69,3 @@
|
||||||
#if IS_RE_ARM_BOARD && ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) && HAS_DRIVER(TMC2130) && DISABLED(TMC_USE_SW_SPI)
|
#if IS_RE_ARM_BOARD && ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) && HAS_DRIVER(TMC2130) && DISABLED(TMC_USE_SW_SPI)
|
||||||
#error "Re-ARM with REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER and TMC2130 require TMC_USE_SW_SPI"
|
#error "Re-ARM with REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER and TMC2130 require TMC_USE_SW_SPI"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if 1 < (ENABLED(LPC_SD_CUSTOM_CABLE) + ENABLED(LPC_SD_LCD) + ENABLED(LPC_SD_ONBOARD))
|
|
||||||
#error "Enable only one of LPC_SD_CUSTOM_CABLE, LPC_SD_LCD, or LPC_SD_ONBOARD."
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 1 < (ENABLED(USB_SD_DISABLED) + ENABLED(USB_SD_ONBOARD))
|
|
||||||
#error "Enable only one of USB_SD_DISABLED or USB_SD_ONBOARD."
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -81,8 +81,8 @@ void HAL_init() {
|
||||||
OUT_WRITE(SS_PIN, HIGH);
|
OUT_WRITE(SS_PIN, HIGH);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(ONBOARD_SD_CS) && ONBOARD_SD_CS > -1
|
#if PIN_EXISTS(ONBOARD_SD_CS) && ONBOARD_SD_CS_PIN != SS_PIN
|
||||||
OUT_WRITE(ONBOARD_SD_CS, HIGH);
|
OUT_WRITE(ONBOARD_SD_CS_PIN, HIGH);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
USB_Init(); // USB Initialization
|
USB_Init(); // USB Initialization
|
||||||
|
@ -90,7 +90,7 @@ void HAL_init() {
|
||||||
delay(1000); // Give OS time to notice
|
delay(1000); // Give OS time to notice
|
||||||
USB_Connect(TRUE);
|
USB_Connect(TRUE);
|
||||||
|
|
||||||
#if DISABLED(USB_SD_DISABLED)
|
#if !BOTH(SHARED_SD_CARD, INIT_SDCARD_ON_BOOT) && DISABLED(NO_SD_HOST_DRIVE)
|
||||||
MSC_SD_Init(0); // Enable USB SD card access
|
MSC_SD_Init(0); // Enable USB SD card access
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -117,7 +117,7 @@ void HAL_init() {
|
||||||
|
|
||||||
// HAL idle task
|
// HAL idle task
|
||||||
void HAL_idletask(void) {
|
void HAL_idletask(void) {
|
||||||
#if BOTH(SDSUPPORT, SHARED_SD_CARD)
|
#if ENABLED(SHARED_SD_CARD)
|
||||||
// If Marlin is using the SD card we need to lock it to prevent access from
|
// If Marlin is using the SD card we need to lock it to prevent access from
|
||||||
// a PC via USB.
|
// a PC via USB.
|
||||||
// Other HALs use IS_SD_PRINTING() and IS_SD_FILE_OPEN() to check for access but
|
// Other HALs use IS_SD_PRINTING() and IS_SD_FILE_OPEN() to check for access but
|
||||||
|
|
|
@ -1098,7 +1098,7 @@ void setup() {
|
||||||
init_closedloop();
|
init_closedloop();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(SDSUPPORT) && DISABLED(ULTRA_LCD)
|
#if ENABLED(INIT_SDCARD_ON_BOOT) && DISABLED(ULTRA_LCD)
|
||||||
card.beginautostart();
|
card.beginautostart();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -48,8 +48,8 @@
|
||||||
#define _TMC5160 5160
|
#define _TMC5160 5160
|
||||||
#define _TMC5160_STANDALONE 5161
|
#define _TMC5160_STANDALONE 5161
|
||||||
|
|
||||||
#define _ACTUAL(V) _CAT(_, V)
|
#define _DRIVER_ID(V) _CAT(_, V)
|
||||||
#define _AXIS_DRIVER_TYPE(A,T) (defined(A##_DRIVER_TYPE) && _ACTUAL(A##_DRIVER_TYPE) == _CAT(_, T))
|
#define _AXIS_DRIVER_TYPE(A,T) (_DRIVER_ID(A##_DRIVER_TYPE) == _CAT(_, T))
|
||||||
|
|
||||||
#define AXIS_DRIVER_TYPE_X(T) _AXIS_DRIVER_TYPE(X,T)
|
#define AXIS_DRIVER_TYPE_X(T) _AXIS_DRIVER_TYPE(X,T)
|
||||||
#define AXIS_DRIVER_TYPE_Y(T) _AXIS_DRIVER_TYPE(Y,T)
|
#define AXIS_DRIVER_TYPE_Y(T) _AXIS_DRIVER_TYPE(Y,T)
|
||||||
|
@ -116,3 +116,12 @@
|
||||||
|| AXIS_DRIVER_TYPE(A,TMC2209) \
|
|| AXIS_DRIVER_TYPE(A,TMC2209) \
|
||||||
|| AXIS_DRIVER_TYPE(A,TMC5130) \
|
|| AXIS_DRIVER_TYPE(A,TMC5130) \
|
||||||
|| AXIS_DRIVER_TYPE(A,TMC5160) )
|
|| AXIS_DRIVER_TYPE(A,TMC5160) )
|
||||||
|
|
||||||
|
//
|
||||||
|
// Stretching 'drivers.h' to include LPC SD options
|
||||||
|
//
|
||||||
|
#define _SDCARD_LCD 1
|
||||||
|
#define _SDCARD_ONBOARD 2
|
||||||
|
#define _SDCARD_CUSTOM_CABLE 3
|
||||||
|
#define _SDCARD_ID(V) _CAT(_SDCARD_, V)
|
||||||
|
#define SD_CONNECTION_IS(V) (_SDCARD_ID(SDCARD_CONNECTION) == _SDCARD_ID(V))
|
||||||
|
|
|
@ -1727,3 +1727,18 @@
|
||||||
#define LCD_HEIGHT 2
|
#define LCD_HEIGHT 2
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
//
|
||||||
|
// The external SD card is not used. Hardware SPI is used to access the card.
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
#if ENABLED(SDSUPPORT)
|
||||||
|
#if SD_CONNECTION_IS(ONBOARD) && DISABLED(NO_SD_HOST_DRIVE)
|
||||||
|
#undef SD_DETECT_PIN
|
||||||
|
#define SHARED_SD_CARD
|
||||||
|
#endif
|
||||||
|
#if DISABLED(SHARED_SD_CARD)
|
||||||
|
#define INIT_SDCARD_ON_BOOT
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
|
@ -362,6 +362,12 @@
|
||||||
#error "MENU_ITEM_CASE_LIGHT is now CASE_LIGHT_MENU. Please update your configuration."
|
#error "MENU_ITEM_CASE_LIGHT is now CASE_LIGHT_MENU. Please update your configuration."
|
||||||
#elif defined(ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED)
|
#elif defined(ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED)
|
||||||
#error "ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED is now SD_ABORT_ON_ENDSTOP_HIT. Please update your Configuration_adv.h."
|
#error "ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED is now SD_ABORT_ON_ENDSTOP_HIT. Please update your Configuration_adv.h."
|
||||||
|
#elif defined(LPC_SD_LCD) || defined(LPC_SD_ONBOARD) || defined(LPC_SD_CUSTOM_CABLE)
|
||||||
|
#error "LPC_SD_(LCD|ONBOARD|CUSTOM_CABLE) are now SDCARD_CONNECTION. Please update your Configuration_adv.h."
|
||||||
|
#elif defined(USB_SD_DISABLED)
|
||||||
|
#error "USB_SD_DISABLED is now NO_SD_HOST_DRIVE. Please update your Configuration_adv.h."
|
||||||
|
#elif defined(USB_SD_ONBOARD)
|
||||||
|
#error "USB_SD_ONBOARD is obsolete. Disable NO_SD_HOST_DRIVE instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BOARD_MKS_13 -47
|
#define BOARD_MKS_13 -47
|
||||||
|
|
|
@ -104,7 +104,7 @@
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(SDSUPPORT)
|
#if ENABLED(INIT_SDCARD_ON_BOOT)
|
||||||
uint8_t lcd_sd_status;
|
uint8_t lcd_sd_status;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -319,7 +319,9 @@ void MarlinUI::init() {
|
||||||
#if PIN_EXISTS(SD_DETECT)
|
#if PIN_EXISTS(SD_DETECT)
|
||||||
SET_INPUT_PULLUP(SD_DETECT_PIN);
|
SET_INPUT_PULLUP(SD_DETECT_PIN);
|
||||||
#endif
|
#endif
|
||||||
lcd_sd_status = 2; // UNKNOWN
|
#if ENABLED(INIT_SDCARD_ON_BOOT)
|
||||||
|
lcd_sd_status = 2; // UNKNOWN
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAS_ENCODER_ACTION && HAS_SLOW_BUTTONS
|
#if HAS_ENCODER_ACTION && HAS_SLOW_BUTTONS
|
||||||
|
@ -770,7 +772,7 @@ void MarlinUI::update() {
|
||||||
|
|
||||||
#endif // HAS_LCD_MENU
|
#endif // HAS_LCD_MENU
|
||||||
|
|
||||||
#if ENABLED(SDSUPPORT)
|
#if ENABLED(INIT_SDCARD_ON_BOOT)
|
||||||
|
|
||||||
const uint8_t sd_status = (uint8_t)IS_SD_INSERTED();
|
const uint8_t sd_status = (uint8_t)IS_SD_INSERTED();
|
||||||
if (sd_status != lcd_sd_status && detected()) {
|
if (sd_status != lcd_sd_status && detected()) {
|
||||||
|
@ -811,7 +813,7 @@ void MarlinUI::update() {
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // INIT_SDCARD_ON_BOOT
|
||||||
|
|
||||||
if (ELAPSED(ms, next_lcd_update_ms)
|
if (ELAPSED(ms, next_lcd_update_ms)
|
||||||
#if HAS_GRAPHICAL_LCD
|
#if HAS_GRAPHICAL_LCD
|
||||||
|
|
|
@ -86,7 +86,7 @@
|
||||||
#define FAN1_PIN P0_26
|
#define FAN1_PIN P0_26
|
||||||
|
|
||||||
#define LCD_SDSS P0_16 // LCD SD chip select
|
#define LCD_SDSS P0_16 // LCD SD chip select
|
||||||
#define ONBOARD_SD_CS P0_06 // On board SD chip select
|
#define ONBOARD_SD_CS_PIN P0_06 // Chip select for "System" SD card
|
||||||
|
|
||||||
#if ENABLED(AZSMZ_12864)
|
#if ENABLED(AZSMZ_12864)
|
||||||
#define BEEPER_PIN P1_30
|
#define BEEPER_PIN P1_30
|
||||||
|
@ -95,28 +95,24 @@
|
||||||
#define BTN_EN1 P4_28
|
#define BTN_EN1 P4_28
|
||||||
#define BTN_EN2 P1_27
|
#define BTN_EN2 P1_27
|
||||||
#define BTN_ENC P3_26
|
#define BTN_ENC P3_26
|
||||||
#if DISABLED(LPC_SD_ONBOARD)
|
#ifndef SDCARD_CONNECTION
|
||||||
#define LPC_SD_LCD
|
#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(LPC_SD_LCD)
|
#if SD_CONNECTION_IS(LCD)
|
||||||
#define SCK_PIN P0_15
|
#define SCK_PIN P0_15
|
||||||
#define MISO_PIN P0_17
|
#define MISO_PIN P0_17
|
||||||
#define MOSI_PIN P0_18
|
#define MOSI_PIN P0_18
|
||||||
#define SS_PIN LCD_SDSS
|
#define SS_PIN LCD_SDSS
|
||||||
#define SD_DETECT_PIN P3_25
|
#define SD_DETECT_PIN P3_25
|
||||||
#elif ENABLED(LPC_SD_ONBOARD)
|
#elif SD_CONNECTION_IS(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
|
|
||||||
#endif
|
|
||||||
#define SCK_PIN P0_07
|
#define SCK_PIN P0_07
|
||||||
#define MISO_PIN P0_08
|
#define MISO_PIN P0_08
|
||||||
#define MOSI_PIN P0_09
|
#define MOSI_PIN P0_09
|
||||||
#define SS_PIN ONBOARD_SD_CS
|
#define SS_PIN ONBOARD_SD_CS_PIN
|
||||||
|
#elif SD_CONNECTION_IS(CUSTOM_CABLE)
|
||||||
|
#error "No custom SD drive cable defined for this board."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
@ -189,30 +189,23 @@
|
||||||
//
|
//
|
||||||
// SD Support
|
// SD Support
|
||||||
//
|
//
|
||||||
#if !ANY(LPC_SD_LCD, LPC_SD_ONBOARD, LPC_SD_CUSTOM_CABLE)
|
#ifndef SDCARD_CONNECTION
|
||||||
#define LPC_SD_ONBOARD
|
#define SDCARD_CONNECTION ONBOARD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(LPC_SD_LCD)
|
#define ONBOARD_SD_CS_PIN P0_06 // Chip select for "System" SD card
|
||||||
|
|
||||||
#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
|
|
||||||
|
|
||||||
|
#if SD_CONNECTION_IS(LCD)
|
||||||
|
#define SCK_PIN P0_15
|
||||||
|
#define MISO_PIN P0_17
|
||||||
|
#define MOSI_PIN P0_18
|
||||||
|
#define SS_PIN P1_23
|
||||||
|
#elif SD_CONNECTION_IS(ONBOARD)
|
||||||
|
#undef SD_DETECT_PIN
|
||||||
|
#define SCK_PIN P0_07
|
||||||
|
#define MISO_PIN P0_08
|
||||||
|
#define MOSI_PIN P0_09
|
||||||
|
#define SS_PIN ONBOARD_SD_CS_PIN
|
||||||
|
#elif SD_CONNECTION_IS(CUSTOM_CABLE)
|
||||||
|
#error "No custom SD drive cable defined for this board."
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -255,42 +255,32 @@
|
||||||
// SD Support
|
// SD Support
|
||||||
//
|
//
|
||||||
|
|
||||||
#if !ANY(LPC_SD_LCD, LPC_SD_ONBOARD, LPC_SD_CUSTOM_CABLE)
|
#ifndef SDCARD_CONNECTION
|
||||||
#undef USB_SD_DISABLED
|
#define SDCARD_CONNECTION LCD
|
||||||
#define USB_SD_ONBOARD
|
|
||||||
#define LPC_SD_LCD
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(LPC_SD_LCD)
|
#define ONBOARD_SD_CS_PIN P0_06 // Chip select for "System" SD card
|
||||||
|
|
||||||
|
#if SD_CONNECTION_IS(LCD)
|
||||||
#define SCK_PIN P0_15
|
#define SCK_PIN P0_15
|
||||||
#define MISO_PIN P0_17
|
#define MISO_PIN P0_17
|
||||||
#define MOSI_PIN P0_18
|
#define MOSI_PIN P0_18
|
||||||
#define SS_PIN P0_16 // Chip select for SD card used by Marlin
|
#define SS_PIN P0_16
|
||||||
#define ONBOARD_SD_CS P0_06 // Chip select for "System" SD card
|
#elif SD_CONNECTION_IS(ONBOARD)
|
||||||
|
#undef SD_DETECT_PIN
|
||||||
#elif ENABLED(LPC_SD_ONBOARD)
|
#define SD_DETECT_PIN P0_27
|
||||||
|
|
||||||
#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
|
|
||||||
//#define SD_DETECT_PIN P0_27 // (57) open-drain
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define SCK_PIN P0_07
|
#define SCK_PIN P0_07
|
||||||
#define MISO_PIN P0_08
|
#define MISO_PIN P0_08
|
||||||
#define MOSI_PIN P0_09
|
#define MOSI_PIN P0_09
|
||||||
#define SS_PIN P0_06 // Chip select for SD card used by Marlin
|
#define SS_PIN ONBOARD_SD_CS_PIN
|
||||||
#define ONBOARD_SD_CS P0_06 // Chip select for "System" SD card
|
#elif SD_CONNECTION_IS(CUSTOM_CABLE)
|
||||||
|
#error "No custom SD drive cable defined for this board."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Special pins
|
* Special pins
|
||||||
* P1_30 (37) (NOT 5V tolerant)
|
* P1_30 (37) (NOT 5V tolerant)
|
||||||
* P1_31 (49) (NOT 5V tolerant)
|
* P1_31 (49) (NOT 5V tolerant)
|
||||||
* P0_27 (57) (Open collector)
|
* P0_27 (57) (Open collector)
|
||||||
* P0_28 (58) (Open collector)
|
* P0_28 (58) (Open collector)
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -118,39 +118,30 @@
|
||||||
// MKS_MINI_12864 strongly prefers the SD card on the display and
|
// MKS_MINI_12864 strongly prefers the SD card on the display and
|
||||||
// requires jumpers on the SKR V1.1 board as documented here:
|
// requires jumpers on the SKR V1.1 board as documented here:
|
||||||
// https://www.facebook.com/groups/505736576548648/permalink/630639874058317/
|
// https://www.facebook.com/groups/505736576548648/permalink/630639874058317/
|
||||||
#if !ANY(LPC_SD_LCD, LPC_SD_ONBOARD, LPC_SD_CUSTOM_CABLE)
|
#ifndef SDCARD_CONNECTION
|
||||||
#if ENABLED(MKS_MINI_12864)
|
#if ENABLED(MKS_MINI_12864)
|
||||||
#define LPC_SD_LCD
|
#define SDCARD_CONNECTION LCD
|
||||||
#undef USB_SD_DISABLED
|
|
||||||
#define USB_SD_ONBOARD
|
|
||||||
#else
|
#else
|
||||||
#define USB_SD_ONBOARD
|
#define SDCARD_CONNECTION ONBOARD
|
||||||
#define LPC_SD_ONBOARD
|
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(LPC_SD_LCD)
|
#define ONBOARD_SD_CS_PIN P0_06 // Chip select for "System" SD card
|
||||||
|
|
||||||
|
#if SD_CONNECTION_IS(LCD)
|
||||||
#define SCK_PIN P0_15
|
#define SCK_PIN P0_15
|
||||||
#define MISO_PIN P0_17
|
#define MISO_PIN P0_17
|
||||||
#define MOSI_PIN P0_18
|
#define MOSI_PIN P0_18
|
||||||
#define SS_PIN P1_23 // Chip select for SD card used by Marlin
|
#define SS_PIN P1_23
|
||||||
#define ONBOARD_SD_CS P0_06 // Chip select for "System" SD card
|
#elif SD_CONNECTION_IS(ONBOARD)
|
||||||
|
#undef SD_DETECT_PIN
|
||||||
#elif ENABLED(LPC_SD_ONBOARD)
|
#define SD_DETECT_PIN P0_27
|
||||||
|
|
||||||
#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 SCK_PIN P0_07
|
||||||
#define MISO_PIN P0_08
|
#define MISO_PIN P0_08
|
||||||
#define MOSI_PIN P0_09
|
#define MOSI_PIN P0_09
|
||||||
#define SS_PIN P0_06 // Chip select for SD card used by Marlin
|
#define SS_PIN ONBOARD_SD_CS_PIN
|
||||||
#define ONBOARD_SD_CS P0_06 // Chip select for "System" SD card
|
#elif SD_CONNECTION_IS(CUSTOM_CABLE)
|
||||||
|
#error "No custom SD drive cable defined for this board."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Trinamic driver support
|
// Trinamic driver support
|
||||||
|
@ -232,11 +223,11 @@
|
||||||
// EXAMPLES
|
// EXAMPLES
|
||||||
|
|
||||||
// Example 1: No LCD attached or a TFT style display using the AUX header RX/TX pins.
|
// Example 1: No LCD attached or a TFT style display using the AUX header RX/TX pins.
|
||||||
// LPC_SD_LCD must not be enabled. Nothing should be connected to EXP1/EXP2.
|
// SDCARD_CONNECTION must not be 'LCD'. Nothing should be connected to EXP1/EXP2.
|
||||||
//#define SKR_USE_LCD_PINS_FOR_CS
|
//#define SKR_USE_LCD_PINS_FOR_CS
|
||||||
#if ENABLED(SKR_USE_LCD_PINS_FOR_CS)
|
#if ENABLED(SKR_USE_LCD_PINS_FOR_CS)
|
||||||
#if ENABLED(LPC_SD_LCD)
|
#if SD_CONNECTION_IS(LCD)
|
||||||
#error "LPC_SD_LCD must not be enabled with SKR_USE_LCD_PINS_FOR_CS."
|
#error "SDCARD_CONNECTION must not be 'LCD' with SKR_USE_LCD_PINS_FOR_CS."
|
||||||
#endif
|
#endif
|
||||||
#define X_CS_PIN P1_23
|
#define X_CS_PIN P1_23
|
||||||
#define Y_CS_PIN P3_26
|
#define Y_CS_PIN P3_26
|
||||||
|
@ -247,11 +238,11 @@
|
||||||
|
|
||||||
// Example 2: A REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
|
// Example 2: A REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
|
||||||
// The SD card reader attached to the LCD (if present) can't be used because
|
// The SD card reader attached to the LCD (if present) can't be used because
|
||||||
// the pins will be in use. So LPC_SD_LCD must not be defined.
|
// the pins will be in use. So SDCARD_CONNECTION must not be 'LCD'.
|
||||||
//#define SKR_USE_LCD_SD_CARD_PINS_FOR_CS
|
//#define SKR_USE_LCD_SD_CARD_PINS_FOR_CS
|
||||||
#if ENABLED(SKR_USE_LCD_SD_CARD_PINS_FOR_CS)
|
#if ENABLED(SKR_USE_LCD_SD_CARD_PINS_FOR_CS)
|
||||||
#if ENABLED(LPC_SD_LCD)
|
#if SD_CONNECTION_IS(LCD)
|
||||||
#error "LPC_SD_LCD must not be enabled with SKR_USE_LCD_SD_CARD_PINS_FOR_CS."
|
#error "SDCARD_CONNECTION must not be 'LCD' with SKR_USE_LCD_SD_CARD_PINS_FOR_CS."
|
||||||
#endif
|
#endif
|
||||||
#define X_CS_PIN P0_02
|
#define X_CS_PIN P0_02
|
||||||
#define Y_CS_PIN P0_03
|
#define Y_CS_PIN P0_03
|
||||||
|
|
|
@ -213,35 +213,25 @@
|
||||||
//
|
//
|
||||||
// SD Support
|
// SD Support
|
||||||
//
|
//
|
||||||
#if NONE(LPC_SD_LCD, LPC_SD_ONBOARD, LPC_SD_CUSTOM_CABLE)
|
#ifndef SDCARD_CONNECTION
|
||||||
#undef USB_SD_DISABLED
|
#define SDCARD_CONNECTION ONBOARD
|
||||||
#define USB_SD_ONBOARD
|
|
||||||
#define LPC_SD_ONBOARD
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(LPC_SD_LCD)
|
#define ONBOARD_SD_CS_PIN P0_06 // Chip select for "System" SD card
|
||||||
|
|
||||||
|
#if SD_CONNECTION_IS(LCD)
|
||||||
#define SCK_PIN P0_07 // (52) system defined J3-9 & AUX-3
|
#define SCK_PIN P0_07 // (52) system defined J3-9 & AUX-3
|
||||||
#define MISO_PIN P0_08 // (50) system defined J3-10 & AUX-3
|
#define MISO_PIN P0_08 // (50) system defined J3-10 & AUX-3
|
||||||
#define MOSI_PIN P0_09 // (51) system defined J3-10 & AUX-3
|
#define MOSI_PIN P0_09 // (51) system defined J3-10 & AUX-3
|
||||||
#define SS_PIN P1_23 // (53) system defined J3-5 & AUX-3 (Sometimes called SDSS) - CS used by Marlin
|
#define SS_PIN P1_23 // (53) system defined J3-5 & AUX-3 (Sometimes called SDSS) - CS used by Marlin
|
||||||
#define ONBOARD_SD_CS P0_06 // Chip select for "System" SD card
|
#elif SD_CONNECTION_IS(ONBOARD)
|
||||||
|
#undef SD_DETECT_PIN
|
||||||
#elif ENABLED(LPC_SD_ONBOARD)
|
|
||||||
|
|
||||||
#if ENABLED(USB_SD_ONBOARD)
|
|
||||||
// When sharing the SD card with a PC the LCD menu options are
|
|
||||||
// needed to mount/unmount and refresh SD. So disable SD detect.
|
|
||||||
#define SHARED_SD_CARD
|
|
||||||
#undef SD_DETECT_PIN // No SD detect pin for the onboard card
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define SCK_PIN P0_07
|
#define SCK_PIN P0_07
|
||||||
#define MISO_PIN P0_08
|
#define MISO_PIN P0_08
|
||||||
#define MOSI_PIN P0_09
|
#define MOSI_PIN P0_09
|
||||||
#define SS_PIN P0_06 // Chip select for SD card used by Marlin
|
#define SS_PIN ONBOARD_SD_CS_PIN
|
||||||
#define ONBOARD_SD_CS P0_06 // Chip select for "System" SD card
|
#elif SD_CONNECTION_IS(CUSTOM_CABLE)
|
||||||
|
#error "No custom SD drive cable defined for this board."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
@ -158,13 +158,13 @@
|
||||||
#define ENET_TXD0 P1_00 // J12-11
|
#define ENET_TXD0 P1_00 // J12-11
|
||||||
#define ENET_TXD1 P1_01 // J12-12
|
#define ENET_TXD1 P1_01 // J12-12
|
||||||
|
|
||||||
#if !ANY(LPC_SD_LCD, LPC_SD_ONBOARD, LPC_SD_CUSTOM_CABLE)
|
#ifndef SDARD_CONNECTION
|
||||||
#undef USB_SD_DISABLED
|
#define SDCARD_CONNECTION ONBOARD
|
||||||
#define USB_SD_ONBOARD
|
|
||||||
#define LPC_SD_ONBOARD
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(LPC_SD_CUSTOM_CABLE)
|
#define ONBOARD_SD_CS_PIN P0_06 // Chip select for "System" SD card
|
||||||
|
|
||||||
|
#if SD_CONNECTION_IS(CUSTOM_CABLE)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A custom cable is needed. See the README file in the
|
* A custom cable is needed. See the README file in the
|
||||||
|
@ -182,37 +182,23 @@
|
||||||
#define SCK_PIN P1_22 // J8-2 (moved from EXP2 P0.7)
|
#define SCK_PIN P1_22 // J8-2 (moved from EXP2 P0.7)
|
||||||
#define MISO_PIN P1_23 // J8-3 (moved from EXP2 P0.8)
|
#define MISO_PIN P1_23 // J8-3 (moved from EXP2 P0.8)
|
||||||
#define MOSI_PIN P2_12 // J8-4 (moved from EXP2 P0.9)
|
#define MOSI_PIN P2_12 // J8-4 (moved from EXP2 P0.9)
|
||||||
#define SS_PIN P0_28 // Chip select for SD card used by Marlin
|
#define SS_PIN P0_28
|
||||||
#define ONBOARD_SD_CS P0_06 // Chip select for "System" SD card
|
|
||||||
#define LPC_SOFTWARE_SPI // With a custom cable we need software SPI because the
|
#define LPC_SOFTWARE_SPI // With a custom cable we need software SPI because the
|
||||||
// selected pins are not on a hardware SPI controller
|
// selected pins are not on a hardware SPI controller
|
||||||
#elif ENABLED(LPC_SD_LCD)
|
#elif SD_CONNECTION_IS(LCD)
|
||||||
|
|
||||||
// use standard cable and header, SPI and SD detect sre shared with on-board SD card
|
// use standard cable and header, SPI and SD detect sre shared with on-board SD card
|
||||||
// hardware SPI is used for both SD cards. The detect pin is shred between the
|
// hardware SPI is used for both SD cards. The detect pin is shred between the
|
||||||
// LCD and onboard SD readers so we disable it.
|
// LCD and onboard SD readers so we disable it.
|
||||||
#define SCK_PIN P0_07
|
#define SCK_PIN P0_07
|
||||||
#define MISO_PIN P0_08
|
#define MISO_PIN P0_08
|
||||||
#define MOSI_PIN P0_09
|
#define MOSI_PIN P0_09
|
||||||
#define SS_PIN P0_28 // Chip select for SD card used by Marlin
|
#define SS_PIN P0_28
|
||||||
#define ONBOARD_SD_CS P0_06 // Chip select for "System" SD card
|
#elif SD_CONNECTION_IS(ONBOARD)
|
||||||
|
#define SD_DETECT_PIN P0_27
|
||||||
#elif ENABLED(LPC_SD_ONBOARD)
|
|
||||||
|
|
||||||
// The external SD card is not used. Hardware SPI is used to access the card.
|
|
||||||
#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
|
|
||||||
#else
|
|
||||||
#define SD_DETECT_PIN P0_27
|
|
||||||
#endif
|
|
||||||
#define SCK_PIN P0_07
|
#define SCK_PIN P0_07
|
||||||
#define MISO_PIN P0_08
|
#define MISO_PIN P0_08
|
||||||
#define MOSI_PIN P0_09
|
#define MOSI_PIN P0_09
|
||||||
#define SS_PIN P0_06 // Chip select for SD card used by Marlin
|
#define SS_PIN ONBOARD_SD_CS_PIN
|
||||||
#define ONBOARD_SD_CS P0_06 // Chip select for "System" SD card
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -413,35 +413,25 @@
|
||||||
//
|
//
|
||||||
// SD Support
|
// SD Support
|
||||||
//
|
//
|
||||||
#if !ANY(LPC_SD_LCD, LPC_SD_ONBOARD, LPC_SD_CUSTOM_CABLE)
|
#ifndef SDCARD_CONNECTION
|
||||||
#undef USB_SD_DISABLED
|
#define SDCARD_CONNECTION ONBOARD
|
||||||
#define USB_SD_ONBOARD
|
|
||||||
#define LPC_SD_ONBOARD
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(LPC_SD_LCD)
|
#define ONBOARD_SD_CS_PIN P0_06 // Chip select for "System" SD card
|
||||||
|
|
||||||
|
#if SD_CONNECTION_IS(LCD)
|
||||||
#define SCK_PIN P0_15 // (52) system defined J3-9 & AUX-3
|
#define SCK_PIN P0_15 // (52) system defined J3-9 & AUX-3
|
||||||
#define MISO_PIN P0_17 // (50) system defined J3-10 & AUX-3
|
#define MISO_PIN P0_17 // (50) system defined J3-10 & AUX-3
|
||||||
#define MOSI_PIN P0_18 // (51) system defined J3-10 & AUX-3
|
#define MOSI_PIN P0_18 // (51) system defined J3-10 & AUX-3
|
||||||
#define SS_PIN P1_23 // (53) system defined J3-5 & AUX-3 (Sometimes called SDSS) - CS used by Marlin
|
#define SS_PIN P1_23 // (53) system defined J3-5 & AUX-3 (Sometimes called SDSS) - CS used by Marlin
|
||||||
#define ONBOARD_SD_CS P0_06 // Chip select for "System" SD card
|
#elif SD_CONNECTION_IS(ONBOARD)
|
||||||
|
#undef SD_DETECT_PIN
|
||||||
#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 SCK_PIN P0_07
|
||||||
#define MISO_PIN P0_08
|
#define MISO_PIN P0_08
|
||||||
#define MOSI_PIN P0_09
|
#define MOSI_PIN P0_09
|
||||||
#define SS_PIN P0_06 // Chip select for SD card used by Marlin
|
#define SS_PIN ONBOARD_SD_CS_PIN
|
||||||
#define ONBOARD_SD_CS P0_06 // Chip select for "System" SD card
|
#elif SD_CONNECTION_IS(CUSTOM_CABLE)
|
||||||
|
#error "No custom SD drive cable defined for this board."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader may be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader may be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader may be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader may be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader may be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader may be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader may be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader may be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader may be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader may be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader may be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1038,19 +1038,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader may be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader may be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader may be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader may be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1042,19 +1042,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader may be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader may be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader may be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader may be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader may be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader may be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader may be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader may be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader may be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader may be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader may be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader may be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1033,19 +1033,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1038,19 +1038,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1038,19 +1038,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader may be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader may be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader may be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1039,19 +1039,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1039,19 +1039,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1035,19 +1035,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1030,19 +1030,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader may be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1047,19 +1047,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1036,19 +1036,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1036,19 +1036,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1036,19 +1036,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1036,19 +1036,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1036,19 +1036,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1036,19 +1036,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1036,19 +1036,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1036,19 +1036,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1036,19 +1036,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1036,19 +1036,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1036,19 +1036,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1034,19 +1034,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
|
@ -1035,19 +1035,27 @@
|
||||||
// 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
|
||||||
|
|
||||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
|
||||||
#ifdef TARGET_LPC1768
|
#ifdef TARGET_LPC1768
|
||||||
//#define LPC_SD_LCD // Use the SD drive in the external LCD controller.
|
/**
|
||||||
//#define LPC_SD_ONBOARD // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
* Set this option to one of the following (or the board's defaults apply):
|
||||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
|
*
|
||||||
//#define USB_SD_DISABLED // Disable SD Card access over USB (for security).
|
* LCD - Use the SD drive in the external LCD controller.
|
||||||
#if ENABLED(LPC_SD_ONBOARD)
|
* ONBOARD - Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
|
||||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
* CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file).
|
||||||
#endif
|
*
|
||||||
|
* :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ]
|
||||||
|
*/
|
||||||
|
//#define SDCARD_CONNECTION LCD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* By default an onboard SD card reader will be shared as a USB mass-
|
||||||
|
* storage device. This option hides the SD card from the host PC.
|
||||||
|
*/
|
||||||
|
//#define NO_SD_HOST_DRIVE // Disable SD Card access over USB (for security).
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional options for Graphical Displays
|
* Additional options for Graphical Displays
|
||||||
*
|
*
|
||||||
|
|
Reference in a new issue