Bläddra i källkod

Fix SKR onboard TF card CS pin (#13272)

Msq001 6 år sedan
förälder
incheckning
5b7ad3a5a0
2 ändrade filer med 5 tillägg och 14 borttagningar
  1. 4
    13
      Marlin/src/pins/pins_BIGTREE_SKR_V1.3.h
  2. 1
    1
      Marlin/src/pins/pins_BIQU_SKR_V1.1.h

+ 4
- 13
Marlin/src/pins/pins_BIGTREE_SKR_V1.3.h Visa fil

@@ -156,11 +156,6 @@
156 156
 #define FAN_PIN            P2_03
157 157
 #define HEATER_BED_PIN     P2_05
158 158
 
159
-//
160
-// Misc. Functions
161
-//
162
-#define SDSS               P0_06   
163
-
164 159
 /*
165 160
 |               _____                                             _____
166 161
 |           NC | · · | GND                                    5V | · · | GND
@@ -172,7 +167,6 @@
172 167
 |               EXP2                                              EXP1  
173 168
 */
174 169
 #if ENABLED(ULTRA_LCD)
175
-
176 170
   #define BEEPER_PIN       P1_30   // (37) not 5V tolerant
177 171
   #define BTN_ENC          P0_28   // (58) open-drain
178 172
   #define LCD_PINS_RS      P1_19
@@ -180,20 +174,17 @@
180 174
   #define BTN_EN1          P3_26   // (31) J3-2 & AUX-4
181 175
   #define BTN_EN2          P3_25   // (33) J3-4 & AUX-4
182 176
   #define SD_DETECT_PIN    P1_31   // (49) (NOT 5V tolerant)
183
-  
177
+
184 178
   #define LCD_SDSS         P0_16   // (16) J3-7 & AUX-4
185 179
 
186 180
   #define LCD_PINS_ENABLE  P1_18  
187 181
   #define LCD_PINS_D4      P1_20  
188 182
 
189 183
   #if ENABLED(ULTIPANEL)
190
-
191 184
     #define LCD_PINS_D5    P1_21
192 185
     #define LCD_PINS_D6    P1_22
193 186
     #define LCD_PINS_D7    P1_23
194
-
195 187
   #endif
196
-
197 188
 #endif // ULTRA_LCD
198 189
 
199 190
 //#define USB_SD_DISABLED
@@ -216,14 +207,14 @@
216 207
     // When sharing the SD card with a PC we want the menu options to
217 208
     // mount/unmount the card and refresh it. So we disable card detect.
218 209
     #define SHARED_SD_CARD
219
-    #undef SD_DETECT_PIN           // redefine detect pin onboard tf card
220
-    #define SD_DETECT_PIN  P0_27   // (57) open-drain
210
+    #undef SD_DETECT_PIN
211
+    //#define SD_DETECT_PIN  P0_27   // (57) open-drain
221 212
   #endif
222 213
 
223 214
   #define SCK_PIN          P0_07
224 215
   #define MISO_PIN         P0_08
225 216
   #define MOSI_PIN         P0_09
226
-  #define SS_PIN           P0_16   // Chip select for SD card used by Marlin
217
+  #define SS_PIN           P0_06   // Chip select for SD card used by Marlin
227 218
   #define ONBOARD_SD_CS    P0_06   // Chip select for "System" SD card
228 219
 
229 220
 #endif

+ 1
- 1
Marlin/src/pins/pins_BIQU_SKR_V1.1.h Visa fil

@@ -137,7 +137,7 @@
137 137
   #define SCK_PIN          P0_07
138 138
   #define MISO_PIN         P0_08
139 139
   #define MOSI_PIN         P0_09
140
-  #define SS_PIN           P1_23   // Chip select for SD card used by Marlin
140
+  #define SS_PIN           P0_06   // Chip select for SD card used by Marlin
141 141
   #define ONBOARD_SD_CS    P0_06   // Chip select for "System" SD card
142 142
 
143 143
 #endif

Laddar…
Avbryt
Spara