瀏覽代碼

Fix SKR onboard TF card CS pin (#13272)

Msq001 6 年之前
父節點
當前提交
5b7ad3a5a0
共有 2 個文件被更改,包括 5 次插入14 次删除
  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 查看文件

156
 #define FAN_PIN            P2_03
156
 #define FAN_PIN            P2_03
157
 #define HEATER_BED_PIN     P2_05
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
 |           NC | · · | GND                                    5V | · · | GND
161
 |           NC | · · | GND                                    5V | · · | GND
172
 |               EXP2                                              EXP1  
167
 |               EXP2                                              EXP1  
173
 */
168
 */
174
 #if ENABLED(ULTRA_LCD)
169
 #if ENABLED(ULTRA_LCD)
175
-
176
   #define BEEPER_PIN       P1_30   // (37) not 5V tolerant
170
   #define BEEPER_PIN       P1_30   // (37) not 5V tolerant
177
   #define BTN_ENC          P0_28   // (58) open-drain
171
   #define BTN_ENC          P0_28   // (58) open-drain
178
   #define LCD_PINS_RS      P1_19
172
   #define LCD_PINS_RS      P1_19
180
   #define BTN_EN1          P3_26   // (31) J3-2 & AUX-4
174
   #define BTN_EN1          P3_26   // (31) J3-2 & AUX-4
181
   #define BTN_EN2          P3_25   // (33) J3-4 & AUX-4
175
   #define BTN_EN2          P3_25   // (33) J3-4 & AUX-4
182
   #define SD_DETECT_PIN    P1_31   // (49) (NOT 5V tolerant)
176
   #define SD_DETECT_PIN    P1_31   // (49) (NOT 5V tolerant)
183
-  
177
+
184
   #define LCD_SDSS         P0_16   // (16) J3-7 & AUX-4
178
   #define LCD_SDSS         P0_16   // (16) J3-7 & AUX-4
185
 
179
 
186
   #define LCD_PINS_ENABLE  P1_18  
180
   #define LCD_PINS_ENABLE  P1_18  
187
   #define LCD_PINS_D4      P1_20  
181
   #define LCD_PINS_D4      P1_20  
188
 
182
 
189
   #if ENABLED(ULTIPANEL)
183
   #if ENABLED(ULTIPANEL)
190
-
191
     #define LCD_PINS_D5    P1_21
184
     #define LCD_PINS_D5    P1_21
192
     #define LCD_PINS_D6    P1_22
185
     #define LCD_PINS_D6    P1_22
193
     #define LCD_PINS_D7    P1_23
186
     #define LCD_PINS_D7    P1_23
194
-
195
   #endif
187
   #endif
196
-
197
 #endif // ULTRA_LCD
188
 #endif // ULTRA_LCD
198
 
189
 
199
 //#define USB_SD_DISABLED
190
 //#define USB_SD_DISABLED
216
     // When sharing the SD card with a PC we want the menu options to
207
     // When sharing the SD card with a PC we want the menu options to
217
     // mount/unmount the card and refresh it. So we disable card detect.
208
     // mount/unmount the card and refresh it. So we disable card detect.
218
     #define SHARED_SD_CARD
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
   #endif
212
   #endif
222
 
213
 
223
   #define SCK_PIN          P0_07
214
   #define SCK_PIN          P0_07
224
   #define MISO_PIN         P0_08
215
   #define MISO_PIN         P0_08
225
   #define MOSI_PIN         P0_09
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
   #define ONBOARD_SD_CS    P0_06   // Chip select for "System" SD card
218
   #define ONBOARD_SD_CS    P0_06   // Chip select for "System" SD card
228
 
219
 
229
 #endif
220
 #endif

+ 1
- 1
Marlin/src/pins/pins_BIQU_SKR_V1.1.h 查看文件

137
   #define SCK_PIN          P0_07
137
   #define SCK_PIN          P0_07
138
   #define MISO_PIN         P0_08
138
   #define MISO_PIN         P0_08
139
   #define MOSI_PIN         P0_09
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
   #define ONBOARD_SD_CS    P0_06   // Chip select for "System" SD card
141
   #define ONBOARD_SD_CS    P0_06   // Chip select for "System" SD card
142
 
142
 
143
 #endif
143
 #endif

Loading…
取消
儲存