Move LPC SD options to configs, add MKS_MINI_DISPLAY to SKR boards (#13712)
This commit is contained in:
parent
9b578ca343
commit
5f49b65c1f
|
@ -905,6 +905,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,3 +1,24 @@
|
|||
/**
|
||||
* Marlin 3D Printer Firmware
|
||||
* Copyright (C) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
||||
*
|
||||
* Based on Sprinter and grbl.
|
||||
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
#ifdef TARGET_LPC1768
|
||||
|
||||
#include <usb/usb.h>
|
||||
|
|
|
@ -185,13 +185,9 @@
|
|||
//
|
||||
// SD Support
|
||||
//
|
||||
//#define USB_SD_DISABLED // Disable host access to SD card as mass storage device through USB
|
||||
//#define USB_SD_ONBOARD // Enable host access to SD card as mass storage device through USB
|
||||
|
||||
//#define LPC_SD_LCD // Marlin uses the SD drive attached to the LCD
|
||||
#define LPC_SD_ONBOARD // Marlin uses the SD drive on the control board. There is no SD detect pin
|
||||
// for the onboard card. Init card from LCD menu or send M21 whenever printer
|
||||
// is powered on to enable SD access.
|
||||
#if !ANY(LPC_SD_LCD, LPC_SD_ONBOARD, LPC_SD_CUSTOM_CABLE)
|
||||
#define LPC_SD_ONBOARD
|
||||
#endif
|
||||
|
||||
#if ENABLED(LPC_SD_LCD)
|
||||
|
||||
|
|
|
@ -208,15 +208,24 @@
|
|||
#define LCD_PINS_D7 P1_23
|
||||
#endif
|
||||
|
||||
#if ENABLED(MKS_MINI_12864)
|
||||
#define DOGLCD_CS P1_21
|
||||
#define DOGLCD_A0 P1_22
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#endif // ULTRA_LCD
|
||||
|
||||
//#define USB_SD_DISABLED
|
||||
#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device
|
||||
//
|
||||
// SD Support
|
||||
//
|
||||
|
||||
#define LPC_SD_LCD // Marlin uses the SD drive attached to the LCD
|
||||
//#define LPC_SD_ONBOARD // Marlin uses the SD drive on the control board
|
||||
#if !ANY(LPC_SD_LCD, LPC_SD_ONBOARD, LPC_SD_CUSTOM_CABLE)
|
||||
#undef USB_SD_DISABLED
|
||||
#define USB_SD_ONBOARD
|
||||
#define LPC_SD_LCD
|
||||
#endif
|
||||
|
||||
#if ENABLED(LPC_SD_LCD)
|
||||
|
||||
|
|
|
@ -105,18 +105,29 @@
|
|||
#define LCD_PINS_RS P0_16
|
||||
#define LCD_PINS_ENABLE P0_18
|
||||
#define LCD_PINS_D4 P0_15
|
||||
|
||||
#if ENABLED(MKS_MINI_12864)
|
||||
#define DOGLCD_CS P2_06
|
||||
#define DOGLCD_A0 P0_16
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//
|
||||
// SD Support
|
||||
//
|
||||
//#define USB_SD_DISABLED // Disable host access to SD card as mass storage device through USB
|
||||
#define USB_SD_ONBOARD // Enable host access to SD card as mass storage device through USB
|
||||
|
||||
//#define LPC_SD_LCD // Marlin uses the SD drive attached to the LCD
|
||||
#define LPC_SD_ONBOARD // Marlin uses the SD drive on the control board. There is no SD detect pin
|
||||
// for the onboard card. Init card from LCD menu or send M21 whenever printer
|
||||
// is powered on to enable SD access.
|
||||
// MKS_MINI_12864 strongly prefers the SD card on the display and
|
||||
// requires jumpers on the SKR V1.1 board as documented here:
|
||||
// https://www.facebook.com/groups/505736576548648/permalink/630639874058317/
|
||||
#if !ANY(LPC_SD_LCD, LPC_SD_ONBOARD, LPC_SD_CUSTOM_CABLE)
|
||||
#if ENABLED(MKS_MINI_12864)
|
||||
#define LPC_SD_LCD
|
||||
#undef USB_SD_DISABLED
|
||||
#define USB_SD_ONBOARD
|
||||
#else
|
||||
#define USB_SD_ONBOARD
|
||||
#define LPC_SD_ONBOARD
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if ENABLED(LPC_SD_LCD)
|
||||
|
||||
|
|
|
@ -158,23 +158,11 @@
|
|||
#define ENET_TXD0 P1_00 // J12-11
|
||||
#define ENET_TXD1 P1_01 // J12-12
|
||||
|
||||
/**
|
||||
* The SBase can share the on-board SD card with a PC via USB the following
|
||||
* definitions control this feature:
|
||||
*/
|
||||
//#define USB_SD_DISABLED
|
||||
#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device
|
||||
|
||||
/**
|
||||
* There are a number of configurations available for the SBase SD card reader.
|
||||
* - A custom cable can be used to allow access to the LCD based SD card.
|
||||
* - A standard cable can be used for access to the LCD SD card (but no SD detect).
|
||||
* - The onboard SD card can be used and optionally shared with a PC via USB.
|
||||
*/
|
||||
|
||||
//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD
|
||||
//#define LPC_SD_LCD // Marlin uses the SD drive attached to the LCD
|
||||
#define LPC_SD_ONBOARD // Marlin uses the SD drive attached to the control board
|
||||
#if !ANY(LPC_SD_LCD, LPC_SD_ONBOARD, LPC_SD_CUSTOM_CABLE)
|
||||
#undef USB_SD_DISABLED
|
||||
#define USB_SD_ONBOARD
|
||||
#define LPC_SD_ONBOARD
|
||||
#endif
|
||||
|
||||
#if ENABLED(LPC_SD_CUSTOM_CABLE)
|
||||
|
||||
|
|
|
@ -361,11 +361,14 @@
|
|||
#define ENET_TXD0 P1_00 // (78) J12-11
|
||||
#define ENET_TXD1 P1_01 // (79) J12-12
|
||||
|
||||
//#define USB_SD_DISABLED
|
||||
#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device
|
||||
|
||||
//#define LPC_SD_LCD // Marlin uses the SD drive attached to the LCD
|
||||
#define LPC_SD_ONBOARD // Marlin uses the SD drive on the control board
|
||||
//
|
||||
// SD Support
|
||||
//
|
||||
#if !ANY(LPC_SD_LCD, LPC_SD_ONBOARD, LPC_SD_CUSTOM_CABLE)
|
||||
#undef USB_SD_DISABLED
|
||||
#define USB_SD_ONBOARD
|
||||
#define LPC_SD_ONBOARD
|
||||
#endif
|
||||
|
||||
#if ENABLED(LPC_SD_LCD)
|
||||
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -911,6 +911,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -904,6 +904,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -912,6 +912,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -904,6 +904,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -904,6 +904,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -904,6 +904,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -903,6 +903,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -911,6 +911,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -911,6 +911,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -904,6 +904,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -908,6 +908,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -904,6 +904,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -904,6 +904,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -920,6 +920,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -906,6 +906,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -906,6 +906,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -906,6 +906,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -906,6 +906,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -906,6 +906,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -906,6 +906,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -906,6 +906,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -906,6 +906,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -906,6 +906,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -905,6 +905,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -906,6 +906,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -907,6 +907,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
|
@ -908,6 +908,17 @@
|
|||
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
|
||||
//#define BINARY_FILE_TRANSFER
|
||||
|
||||
// LPC-based boards have on-board SD Card options. Override here or defaults apply.
|
||||
#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.)
|
||||
//#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).
|
||||
#if ENABLED(LPC_SD_ONBOARD)
|
||||
//#define USB_SD_ONBOARD // Provide the onboard SD card to the host as a USB mass storage device.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue