Browse Source

Move LPC SD options to configs, add MKS_MINI_DISPLAY to SKR boards (#13712)

jmdearras 5 years ago
parent
commit
5f49b65c1f
81 changed files with 893 additions and 40 deletions
  1. 11
    0
      Marlin/Configuration_adv.h
  2. 21
    0
      Marlin/src/HAL/HAL_LPC1768/main.cpp
  3. 3
    7
      Marlin/src/pins/pins_AZTEEG_X5_MINI.h
  4. 13
    4
      Marlin/src/pins/pins_BIGTREE_SKR_V1.3.h
  5. 18
    7
      Marlin/src/pins/pins_BIQU_SKR_V1.1.h
  6. 5
    17
      Marlin/src/pins/pins_MKS_SBASE.h
  7. 8
    5
      Marlin/src/pins/pins_RAMPS_RE_ARM.h
  8. 11
    0
      config/default/Configuration_adv.h
  9. 11
    0
      config/examples/3DFabXYZ/Migbot/Configuration_adv.h
  10. 11
    0
      config/examples/AlephObjects/TAZ4/Configuration_adv.h
  11. 11
    0
      config/examples/AliExpress/UM2pExt/Configuration_adv.h
  12. 11
    0
      config/examples/Anet/A2/Configuration_adv.h
  13. 11
    0
      config/examples/Anet/A2plus/Configuration_adv.h
  14. 11
    0
      config/examples/Anet/A6/Configuration_adv.h
  15. 11
    0
      config/examples/Anet/A8/Configuration_adv.h
  16. 11
    0
      config/examples/AnyCubic/i3/Configuration_adv.h
  17. 11
    0
      config/examples/ArmEd/Configuration_adv.h
  18. 11
    0
      config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
  19. 11
    0
      config/examples/BIBO/TouchX/default/Configuration_adv.h
  20. 11
    0
      config/examples/BQ/Hephestos/Configuration_adv.h
  21. 11
    0
      config/examples/BQ/Hephestos_2/Configuration_adv.h
  22. 11
    0
      config/examples/BQ/WITBOX/Configuration_adv.h
  23. 11
    0
      config/examples/Cartesio/Configuration_adv.h
  24. 11
    0
      config/examples/Creality/CR-10/Configuration_adv.h
  25. 11
    0
      config/examples/Creality/CR-10S/Configuration_adv.h
  26. 11
    0
      config/examples/Creality/CR-10_5S/Configuration_adv.h
  27. 11
    0
      config/examples/Creality/CR-10mini/Configuration_adv.h
  28. 11
    0
      config/examples/Creality/CR-8/Configuration_adv.h
  29. 11
    0
      config/examples/Creality/Ender-2/Configuration_adv.h
  30. 11
    0
      config/examples/Creality/Ender-3/Configuration_adv.h
  31. 11
    0
      config/examples/Creality/Ender-4/Configuration_adv.h
  32. 11
    0
      config/examples/Einstart-S/Configuration_adv.h
  33. 11
    0
      config/examples/Felix/Configuration_adv.h
  34. 11
    0
      config/examples/FlashForge/CreatorPro/Configuration_adv.h
  35. 11
    0
      config/examples/FolgerTech/i3-2020/Configuration_adv.h
  36. 11
    0
      config/examples/Formbot/Raptor/Configuration_adv.h
  37. 11
    0
      config/examples/Formbot/T_Rex_2+/Configuration_adv.h
  38. 11
    0
      config/examples/Formbot/T_Rex_3/Configuration_adv.h
  39. 11
    0
      config/examples/Geeetech/A10M/Configuration_adv.h
  40. 11
    0
      config/examples/Geeetech/A20M/Configuration_adv.h
  41. 11
    0
      config/examples/Geeetech/MeCreator2/Configuration_adv.h
  42. 11
    0
      config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
  43. 11
    0
      config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
  44. 11
    0
      config/examples/Infitary/i3-M508/Configuration_adv.h
  45. 11
    0
      config/examples/JGAurora/A5/Configuration_adv.h
  46. 11
    0
      config/examples/MakerParts/Configuration_adv.h
  47. 11
    0
      config/examples/Malyan/M150/Configuration_adv.h
  48. 11
    0
      config/examples/Malyan/M200/Configuration_adv.h
  49. 11
    0
      config/examples/Micromake/C1/enhanced/Configuration_adv.h
  50. 11
    0
      config/examples/Mks/Robin/Configuration_adv.h
  51. 11
    0
      config/examples/Mks/Sbase/Configuration_adv.h
  52. 11
    0
      config/examples/RapideLite/RL200/Configuration_adv.h
  53. 11
    0
      config/examples/RigidBot/Configuration_adv.h
  54. 11
    0
      config/examples/SCARA/Configuration_adv.h
  55. 11
    0
      config/examples/STM32/Black_STM32F407VET6/Configuration_adv.h
  56. 11
    0
      config/examples/Sanguinololu/Configuration_adv.h
  57. 11
    0
      config/examples/TheBorg/Configuration_adv.h
  58. 11
    0
      config/examples/TinyBoy2/Configuration_adv.h
  59. 11
    0
      config/examples/Tronxy/X3A/Configuration_adv.h
  60. 11
    0
      config/examples/Tronxy/X5S-2E/Configuration_adv.h
  61. 11
    0
      config/examples/UltiMachine/Archim1/Configuration_adv.h
  62. 11
    0
      config/examples/UltiMachine/Archim2/Configuration_adv.h
  63. 11
    0
      config/examples/VORONDesign/Configuration_adv.h
  64. 11
    0
      config/examples/Velleman/K8200/Configuration_adv.h
  65. 11
    0
      config/examples/Velleman/K8400/Configuration_adv.h
  66. 11
    0
      config/examples/WASP/PowerWASP/Configuration_adv.h
  67. 11
    0
      config/examples/Wanhao/Duplicator 6/Configuration_adv.h
  68. 11
    0
      config/examples/delta/Anycubic/Kossel/Configuration_adv.h
  69. 11
    0
      config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  70. 11
    0
      config/examples/delta/FLSUN/kossel/Configuration_adv.h
  71. 11
    0
      config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  72. 11
    0
      config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h
  73. 11
    0
      config/examples/delta/MKS/SBASE/Configuration_adv.h
  74. 11
    0
      config/examples/delta/Tevo Little Monster/Configuration_adv.h
  75. 11
    0
      config/examples/delta/generic/Configuration_adv.h
  76. 11
    0
      config/examples/delta/kossel_mini/Configuration_adv.h
  77. 11
    0
      config/examples/delta/kossel_xl/Configuration_adv.h
  78. 11
    0
      config/examples/gCreate/gMax1.5+/Configuration_adv.h
  79. 11
    0
      config/examples/makibox/Configuration_adv.h
  80. 11
    0
      config/examples/tvrrug/Round2/Configuration_adv.h
  81. 11
    0
      config/examples/wt150/Configuration_adv.h

+ 11
- 0
Marlin/Configuration_adv.h View File

@@ -905,6 +905,17 @@
905 905
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
906 906
   //#define BINARY_FILE_TRANSFER
907 907
 
908
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
909
+  #ifdef TARGET_LPC1768
910
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
911
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
912
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
913
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
914
+    #if ENABLED(LPC_SD_ONBOARD)
915
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
916
+    #endif
917
+  #endif
918
+
908 919
 #endif // SDSUPPORT
909 920
 
910 921
 /**

+ 21
- 0
Marlin/src/HAL/HAL_LPC1768/main.cpp View File

@@ -1,3 +1,24 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
4
+ *
5
+ * Based on Sprinter and grbl.
6
+ * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
7
+ *
8
+ * This program is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU General Public License as published by
10
+ * the Free Software Foundation, either version 3 of the License, or
11
+ * (at your option) any later version.
12
+ *
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
+ * GNU General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU General Public License
19
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20
+ *
21
+ */
1 22
 #ifdef TARGET_LPC1768
2 23
 
3 24
 #include <usb/usb.h>

+ 3
- 7
Marlin/src/pins/pins_AZTEEG_X5_MINI.h View File

@@ -185,13 +185,9 @@
185 185
 //
186 186
 // SD Support
187 187
 //
188
-//#define USB_SD_DISABLED     // Disable host access to SD card as mass storage device through USB
189
-//#define USB_SD_ONBOARD      // Enable host access to SD card as mass storage device through USB
190
-
191
-//#define LPC_SD_LCD          // Marlin uses the SD drive attached to the LCD
192
-#define LPC_SD_ONBOARD        // Marlin uses the SD drive on the control board.  There is no SD detect pin
193
-                              // for the onboard card.  Init card from LCD menu or send M21 whenever printer
194
-                              // is powered on to enable SD access.
188
+#if !ANY(LPC_SD_LCD, LPC_SD_ONBOARD, LPC_SD_CUSTOM_CABLE)
189
+  #define LPC_SD_ONBOARD
190
+#endif
195 191
 
196 192
 #if ENABLED(LPC_SD_LCD)
197 193
 

+ 13
- 4
Marlin/src/pins/pins_BIGTREE_SKR_V1.3.h View File

@@ -208,15 +208,24 @@
208 208
       #define LCD_PINS_D7   P1_23
209 209
     #endif
210 210
 
211
+    #if ENABLED(MKS_MINI_12864)
212
+      #define DOGLCD_CS     P1_21
213
+      #define DOGLCD_A0     P1_22
214
+    #endif
215
+
211 216
   #endif
212 217
 
213 218
 #endif // ULTRA_LCD
214 219
 
215
-//#define USB_SD_DISABLED
216
-#define USB_SD_ONBOARD        // Provide the onboard SD card to the host as a USB mass storage device
220
+//
221
+// SD Support
222
+//
217 223
 
218
-#define LPC_SD_LCD            // Marlin uses the SD drive attached to the LCD
219
-//#define LPC_SD_ONBOARD        // Marlin uses the SD drive on the control board
224
+#if !ANY(LPC_SD_LCD, LPC_SD_ONBOARD, LPC_SD_CUSTOM_CABLE)
225
+  #undef USB_SD_DISABLED
226
+  #define USB_SD_ONBOARD
227
+  #define LPC_SD_LCD
228
+#endif
220 229
 
221 230
 #if ENABLED(LPC_SD_LCD)
222 231
 

+ 18
- 7
Marlin/src/pins/pins_BIQU_SKR_V1.1.h View File

@@ -105,18 +105,29 @@
105 105
   #define LCD_PINS_RS      P0_16
106 106
   #define LCD_PINS_ENABLE  P0_18
107 107
   #define LCD_PINS_D4      P0_15
108
+
109
+  #if ENABLED(MKS_MINI_12864)
110
+    #define DOGLCD_CS      P2_06
111
+    #define DOGLCD_A0      P0_16
112
+  #endif
108 113
 #endif
109 114
 
110 115
 //
111 116
 // SD Support
112 117
 //
113
-//#define USB_SD_DISABLED     // Disable host access to SD card as mass storage device through USB
114
-#define USB_SD_ONBOARD        // Enable host access to SD card as mass storage device through USB
115
-
116
-//#define LPC_SD_LCD          // Marlin uses the SD drive attached to the LCD
117
-#define LPC_SD_ONBOARD        // Marlin uses the SD drive on the control board.  There is no SD detect pin
118
-                              // for the onboard card.  Init card from LCD menu or send M21 whenever printer
119
-                              // is powered on to enable SD access.
118
+// MKS_MINI_12864 strongly prefers the SD card on the display and
119
+// requires jumpers on the SKR V1.1 board as documented here:
120
+// https://www.facebook.com/groups/505736576548648/permalink/630639874058317/
121
+#if !ANY(LPC_SD_LCD, LPC_SD_ONBOARD, LPC_SD_CUSTOM_CABLE)
122
+  #if ENABLED(MKS_MINI_12864)
123
+    #define LPC_SD_LCD
124
+    #undef USB_SD_DISABLED
125
+    #define USB_SD_ONBOARD
126
+  #else
127
+    #define USB_SD_ONBOARD
128
+    #define LPC_SD_ONBOARD
129
+  #endif
130
+#endif
120 131
 
121 132
 #if ENABLED(LPC_SD_LCD)
122 133
 

+ 5
- 17
Marlin/src/pins/pins_MKS_SBASE.h View File

@@ -158,23 +158,11 @@
158 158
 #define ENET_TXD0          P1_00   // J12-11
159 159
 #define ENET_TXD1          P1_01   // J12-12
160 160
 
161
-/**
162
- * The SBase can share the on-board SD card with a PC via USB the following
163
- * definitions control this feature:
164
- */
165
-//#define USB_SD_DISABLED
166
-#define USB_SD_ONBOARD        // Provide the onboard SD card to the host as a USB mass storage device
167
-
168
-/**
169
- * There are a number of configurations available for the SBase SD card reader.
170
- * - A custom cable can be used to allow access to the LCD based SD card.
171
- * - A standard cable can be used for access to the LCD SD card (but no SD detect).
172
- * - The onboard SD card can be used and optionally shared with a PC via USB.
173
- */
174
-
175
-//#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD
176
-//#define LPC_SD_LCD          // Marlin uses the SD drive attached to the LCD
177
-#define LPC_SD_ONBOARD        // Marlin uses the SD drive attached to the control board
161
+#if !ANY(LPC_SD_LCD, LPC_SD_ONBOARD, LPC_SD_CUSTOM_CABLE)
162
+  #undef USB_SD_DISABLED
163
+  #define USB_SD_ONBOARD
164
+  #define LPC_SD_ONBOARD
165
+#endif
178 166
 
179 167
 #if ENABLED(LPC_SD_CUSTOM_CABLE)
180 168
 

+ 8
- 5
Marlin/src/pins/pins_RAMPS_RE_ARM.h View File

@@ -361,11 +361,14 @@
361 361
 #define ENET_TXD0          P1_00   // (78)  J12-11
362 362
 #define ENET_TXD1          P1_01   // (79)  J12-12
363 363
 
364
-//#define USB_SD_DISABLED
365
-#define USB_SD_ONBOARD        // Provide the onboard SD card to the host as a USB mass storage device
366
-
367
-//#define LPC_SD_LCD          // Marlin uses the SD drive attached to the LCD
368
-#define LPC_SD_ONBOARD        // Marlin uses the SD drive on the control board
364
+//
365
+// SD Support
366
+//
367
+#if !ANY(LPC_SD_LCD, LPC_SD_ONBOARD, LPC_SD_CUSTOM_CABLE)
368
+  #undef USB_SD_DISABLED
369
+  #define USB_SD_ONBOARD
370
+  #define LPC_SD_ONBOARD
371
+#endif
369 372
 
370 373
 #if ENABLED(LPC_SD_LCD)
371 374
 

+ 11
- 0
config/default/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/3DFabXYZ/Migbot/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/AlephObjects/TAZ4/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/AliExpress/UM2pExt/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/Anet/A2/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/Anet/A2plus/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/Anet/A6/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/Anet/A8/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/AnyCubic/i3/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/ArmEd/Configuration_adv.h View File

@@ -911,6 +911,17 @@
911 911
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
912 912
   //#define BINARY_FILE_TRANSFER
913 913
 
914
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
915
+  #ifdef TARGET_LPC1768
916
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
917
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
918
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
919
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
920
+    #if ENABLED(LPC_SD_ONBOARD)
921
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
922
+    #endif
923
+  #endif
924
+
914 925
 #endif // SDSUPPORT
915 926
 
916 927
 /**

+ 11
- 0
config/examples/BIBO/TouchX/cyclops/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/BIBO/TouchX/default/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/BQ/Hephestos/Configuration_adv.h View File

@@ -904,6 +904,17 @@
904 904
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
905 905
   //#define BINARY_FILE_TRANSFER
906 906
 
907
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
908
+  #ifdef TARGET_LPC1768
909
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
910
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
911
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
912
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
913
+    #if ENABLED(LPC_SD_ONBOARD)
914
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
915
+    #endif
916
+  #endif
917
+
907 918
 #endif // SDSUPPORT
908 919
 
909 920
 /**

+ 11
- 0
config/examples/BQ/Hephestos_2/Configuration_adv.h View File

@@ -912,6 +912,17 @@
912 912
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
913 913
   //#define BINARY_FILE_TRANSFER
914 914
 
915
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
916
+  #ifdef TARGET_LPC1768
917
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
918
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
919
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
920
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
921
+    #if ENABLED(LPC_SD_ONBOARD)
922
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
923
+    #endif
924
+  #endif
925
+
915 926
 #endif // SDSUPPORT
916 927
 
917 928
 /**

+ 11
- 0
config/examples/BQ/WITBOX/Configuration_adv.h View File

@@ -904,6 +904,17 @@
904 904
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
905 905
   //#define BINARY_FILE_TRANSFER
906 906
 
907
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
908
+  #ifdef TARGET_LPC1768
909
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
910
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
911
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
912
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
913
+    #if ENABLED(LPC_SD_ONBOARD)
914
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
915
+    #endif
916
+  #endif
917
+
907 918
 #endif // SDSUPPORT
908 919
 
909 920
 /**

+ 11
- 0
config/examples/Cartesio/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/Creality/CR-10/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/Creality/CR-10S/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/Creality/CR-10_5S/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/Creality/CR-10mini/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/Creality/CR-8/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/Creality/Ender-2/Configuration_adv.h View File

@@ -904,6 +904,17 @@
904 904
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
905 905
   //#define BINARY_FILE_TRANSFER
906 906
 
907
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
908
+  #ifdef TARGET_LPC1768
909
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
910
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
911
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
912
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
913
+    #if ENABLED(LPC_SD_ONBOARD)
914
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
915
+    #endif
916
+  #endif
917
+
907 918
 #endif // SDSUPPORT
908 919
 
909 920
 /**

+ 11
- 0
config/examples/Creality/Ender-3/Configuration_adv.h View File

@@ -904,6 +904,17 @@
904 904
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
905 905
   //#define BINARY_FILE_TRANSFER
906 906
 
907
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
908
+  #ifdef TARGET_LPC1768
909
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
910
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
911
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
912
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
913
+    #if ENABLED(LPC_SD_ONBOARD)
914
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
915
+    #endif
916
+  #endif
917
+
907 918
 #endif // SDSUPPORT
908 919
 
909 920
 /**

+ 11
- 0
config/examples/Creality/Ender-4/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/Einstart-S/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/Felix/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/FlashForge/CreatorPro/Configuration_adv.h View File

@@ -903,6 +903,17 @@
903 903
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
904 904
   //#define BINARY_FILE_TRANSFER
905 905
 
906
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
907
+  #ifdef TARGET_LPC1768
908
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
909
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
910
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
911
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
912
+    #if ENABLED(LPC_SD_ONBOARD)
913
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
914
+    #endif
915
+  #endif
916
+
906 917
 #endif // SDSUPPORT
907 918
 
908 919
 /**

+ 11
- 0
config/examples/FolgerTech/i3-2020/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/Formbot/Raptor/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/Formbot/T_Rex_2+/Configuration_adv.h View File

@@ -911,6 +911,17 @@
911 911
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
912 912
   //#define BINARY_FILE_TRANSFER
913 913
 
914
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
915
+  #ifdef TARGET_LPC1768
916
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
917
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
918
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
919
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
920
+    #if ENABLED(LPC_SD_ONBOARD)
921
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
922
+    #endif
923
+  #endif
924
+
914 925
 #endif // SDSUPPORT
915 926
 
916 927
 /**

+ 11
- 0
config/examples/Formbot/T_Rex_3/Configuration_adv.h View File

@@ -911,6 +911,17 @@
911 911
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
912 912
   //#define BINARY_FILE_TRANSFER
913 913
 
914
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
915
+  #ifdef TARGET_LPC1768
916
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
917
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
918
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
919
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
920
+    #if ENABLED(LPC_SD_ONBOARD)
921
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
922
+    #endif
923
+  #endif
924
+
914 925
 #endif // SDSUPPORT
915 926
 
916 927
 /**

+ 11
- 0
config/examples/Geeetech/A10M/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/Geeetech/A20M/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/Geeetech/MeCreator2/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/Infitary/i3-M508/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/JGAurora/A5/Configuration_adv.h View File

@@ -904,6 +904,17 @@
904 904
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
905 905
   //#define BINARY_FILE_TRANSFER
906 906
 
907
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
908
+  #ifdef TARGET_LPC1768
909
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
910
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
911
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
912
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
913
+    #if ENABLED(LPC_SD_ONBOARD)
914
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
915
+    #endif
916
+  #endif
917
+
907 918
 #endif // SDSUPPORT
908 919
 
909 920
 /**

+ 11
- 0
config/examples/MakerParts/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/Malyan/M150/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/Malyan/M200/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/Micromake/C1/enhanced/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/Mks/Robin/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/Mks/Sbase/Configuration_adv.h View File

@@ -908,6 +908,17 @@
908 908
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
909 909
   //#define BINARY_FILE_TRANSFER
910 910
 
911
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
912
+  #ifdef TARGET_LPC1768
913
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
914
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
915
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
916
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
917
+    #if ENABLED(LPC_SD_ONBOARD)
918
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
919
+    #endif
920
+  #endif
921
+
911 922
 #endif // SDSUPPORT
912 923
 
913 924
 /**

+ 11
- 0
config/examples/RapideLite/RL200/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/RigidBot/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/SCARA/Configuration_adv.h View File

@@ -904,6 +904,17 @@
904 904
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
905 905
   //#define BINARY_FILE_TRANSFER
906 906
 
907
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
908
+  #ifdef TARGET_LPC1768
909
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
910
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
911
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
912
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
913
+    #if ENABLED(LPC_SD_ONBOARD)
914
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
915
+    #endif
916
+  #endif
917
+
907 918
 #endif // SDSUPPORT
908 919
 
909 920
 /**

+ 11
- 0
config/examples/STM32/Black_STM32F407VET6/Configuration_adv.h View File

@@ -904,6 +904,17 @@
904 904
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
905 905
   //#define BINARY_FILE_TRANSFER
906 906
 
907
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
908
+  #ifdef TARGET_LPC1768
909
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
910
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
911
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
912
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
913
+    #if ENABLED(LPC_SD_ONBOARD)
914
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
915
+    #endif
916
+  #endif
917
+
907 918
 #endif // SDSUPPORT
908 919
 
909 920
 /**

+ 11
- 0
config/examples/Sanguinololu/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/TheBorg/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/TinyBoy2/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/Tronxy/X3A/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/Tronxy/X5S-2E/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/UltiMachine/Archim1/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/UltiMachine/Archim2/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/VORONDesign/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/Velleman/K8200/Configuration_adv.h View File

@@ -920,6 +920,17 @@
920 920
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
921 921
   //#define BINARY_FILE_TRANSFER
922 922
 
923
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
924
+  #ifdef TARGET_LPC1768
925
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
926
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
927
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
928
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
929
+    #if ENABLED(LPC_SD_ONBOARD)
930
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
931
+    #endif
932
+  #endif
933
+
923 934
 #endif // SDSUPPORT
924 935
 
925 936
 /**

+ 11
- 0
config/examples/Velleman/K8400/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/WASP/PowerWASP/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/Wanhao/Duplicator 6/Configuration_adv.h View File

@@ -906,6 +906,17 @@
906 906
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
907 907
   //#define BINARY_FILE_TRANSFER
908 908
 
909
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
910
+  #ifdef TARGET_LPC1768
911
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
912
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
913
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
914
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
915
+    #if ENABLED(LPC_SD_ONBOARD)
916
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
917
+    #endif
918
+  #endif
919
+
909 920
 #endif // SDSUPPORT
910 921
 
911 922
 /**

+ 11
- 0
config/examples/delta/Anycubic/Kossel/Configuration_adv.h View File

@@ -906,6 +906,17 @@
906 906
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
907 907
   //#define BINARY_FILE_TRANSFER
908 908
 
909
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
910
+  #ifdef TARGET_LPC1768
911
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
912
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
913
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
914
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
915
+    #if ENABLED(LPC_SD_ONBOARD)
916
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
917
+    #endif
918
+  #endif
919
+
909 920
 #endif // SDSUPPORT
910 921
 
911 922
 /**

+ 11
- 0
config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h View File

@@ -906,6 +906,17 @@
906 906
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
907 907
   //#define BINARY_FILE_TRANSFER
908 908
 
909
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
910
+  #ifdef TARGET_LPC1768
911
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
912
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
913
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
914
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
915
+    #if ENABLED(LPC_SD_ONBOARD)
916
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
917
+    #endif
918
+  #endif
919
+
909 920
 #endif // SDSUPPORT
910 921
 
911 922
 /**

+ 11
- 0
config/examples/delta/FLSUN/kossel/Configuration_adv.h View File

@@ -906,6 +906,17 @@
906 906
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
907 907
   //#define BINARY_FILE_TRANSFER
908 908
 
909
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
910
+  #ifdef TARGET_LPC1768
911
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
912
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
913
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
914
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
915
+    #if ENABLED(LPC_SD_ONBOARD)
916
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
917
+    #endif
918
+  #endif
919
+
909 920
 #endif // SDSUPPORT
910 921
 
911 922
 /**

+ 11
- 0
config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h View File

@@ -906,6 +906,17 @@
906 906
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
907 907
   //#define BINARY_FILE_TRANSFER
908 908
 
909
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
910
+  #ifdef TARGET_LPC1768
911
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
912
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
913
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
914
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
915
+    #if ENABLED(LPC_SD_ONBOARD)
916
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
917
+    #endif
918
+  #endif
919
+
909 920
 #endif // SDSUPPORT
910 921
 
911 922
 /**

+ 11
- 0
config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h View File

@@ -906,6 +906,17 @@
906 906
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
907 907
   //#define BINARY_FILE_TRANSFER
908 908
 
909
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
910
+  #ifdef TARGET_LPC1768
911
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
912
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
913
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
914
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
915
+    #if ENABLED(LPC_SD_ONBOARD)
916
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
917
+    #endif
918
+  #endif
919
+
909 920
 #endif // SDSUPPORT
910 921
 
911 922
 /**

+ 11
- 0
config/examples/delta/MKS/SBASE/Configuration_adv.h View File

@@ -906,6 +906,17 @@
906 906
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
907 907
   //#define BINARY_FILE_TRANSFER
908 908
 
909
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
910
+  #ifdef TARGET_LPC1768
911
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
912
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
913
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
914
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
915
+    #if ENABLED(LPC_SD_ONBOARD)
916
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
917
+    #endif
918
+  #endif
919
+
909 920
 #endif // SDSUPPORT
910 921
 
911 922
 /**

+ 11
- 0
config/examples/delta/Tevo Little Monster/Configuration_adv.h View File

@@ -906,6 +906,17 @@
906 906
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
907 907
   //#define BINARY_FILE_TRANSFER
908 908
 
909
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
910
+  #ifdef TARGET_LPC1768
911
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
912
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
913
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
914
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
915
+    #if ENABLED(LPC_SD_ONBOARD)
916
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
917
+    #endif
918
+  #endif
919
+
909 920
 #endif // SDSUPPORT
910 921
 
911 922
 /**

+ 11
- 0
config/examples/delta/generic/Configuration_adv.h View File

@@ -906,6 +906,17 @@
906 906
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
907 907
   //#define BINARY_FILE_TRANSFER
908 908
 
909
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
910
+  #ifdef TARGET_LPC1768
911
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
912
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
913
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
914
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
915
+    #if ENABLED(LPC_SD_ONBOARD)
916
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
917
+    #endif
918
+  #endif
919
+
909 920
 #endif // SDSUPPORT
910 921
 
911 922
 /**

+ 11
- 0
config/examples/delta/kossel_mini/Configuration_adv.h View File

@@ -905,6 +905,17 @@
905 905
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
906 906
   //#define BINARY_FILE_TRANSFER
907 907
 
908
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
909
+  #ifdef TARGET_LPC1768
910
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
911
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
912
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
913
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
914
+    #if ENABLED(LPC_SD_ONBOARD)
915
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
916
+    #endif
917
+  #endif
918
+
908 919
 #endif // SDSUPPORT
909 920
 
910 921
 /**

+ 11
- 0
config/examples/delta/kossel_xl/Configuration_adv.h View File

@@ -906,6 +906,17 @@
906 906
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
907 907
   //#define BINARY_FILE_TRANSFER
908 908
 
909
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
910
+  #ifdef TARGET_LPC1768
911
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
912
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
913
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
914
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
915
+    #if ENABLED(LPC_SD_ONBOARD)
916
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
917
+    #endif
918
+  #endif
919
+
909 920
 #endif // SDSUPPORT
910 921
 
911 922
 /**

+ 11
- 0
config/examples/gCreate/gMax1.5+/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/makibox/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/tvrrug/Round2/Configuration_adv.h View File

@@ -907,6 +907,17 @@
907 907
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
908 908
   //#define BINARY_FILE_TRANSFER
909 909
 
910
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
911
+  #ifdef TARGET_LPC1768
912
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
913
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
914
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
915
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
916
+    #if ENABLED(LPC_SD_ONBOARD)
917
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
918
+    #endif
919
+  #endif
920
+
910 921
 #endif // SDSUPPORT
911 922
 
912 923
 /**

+ 11
- 0
config/examples/wt150/Configuration_adv.h View File

@@ -908,6 +908,17 @@
908 908
   // Add an optimized binary file transfer mode, initiated with 'M28 B1'
909 909
   //#define BINARY_FILE_TRANSFER
910 910
 
911
+  // LPC-based boards have on-board SD Card options. Override here or defaults apply.
912
+  #ifdef TARGET_LPC1768
913
+    //#define LPC_SD_LCD          // Use the SD drive in the external LCD controller.
914
+    //#define LPC_SD_ONBOARD      // Use the SD drive on the control board. (No SD_DETECT_PIN. M21 to init.)
915
+    //#define LPC_SD_CUSTOM_CABLE // Use a custom cable to access the SD (as defined in a pins file).
916
+    //#define USB_SD_DISABLED     // Disable SD Card access over USB (for security).
917
+    #if ENABLED(LPC_SD_ONBOARD)
918
+      //#define USB_SD_ONBOARD    // Provide the onboard SD card to the host as a USB mass storage device.
919
+    #endif
920
+  #endif
921
+
911 922
 #endif // SDSUPPORT
912 923
 
913 924
 /**

Loading…
Cancel
Save