From 5b7ad3a5a0dbec27329fd96ef0137c739f1cda69 Mon Sep 17 00:00:00 2001 From: Msq001 <760675063@qq.com> Date: Fri, 1 Mar 2019 09:41:19 +0800 Subject: [PATCH] Fix SKR onboard TF card CS pin (#13272) --- Marlin/src/pins/pins_BIGTREE_SKR_V1.3.h | 17 ++++------------- Marlin/src/pins/pins_BIQU_SKR_V1.1.h | 2 +- 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/Marlin/src/pins/pins_BIGTREE_SKR_V1.3.h b/Marlin/src/pins/pins_BIGTREE_SKR_V1.3.h index 59554aa1d7..34686fde49 100644 --- a/Marlin/src/pins/pins_BIGTREE_SKR_V1.3.h +++ b/Marlin/src/pins/pins_BIGTREE_SKR_V1.3.h @@ -156,11 +156,6 @@ #define FAN_PIN P2_03 #define HEATER_BED_PIN P2_05 -// -// Misc. Functions -// -#define SDSS P0_06 - /* | _____ _____ | NC | · · | GND 5V | · · | GND @@ -172,7 +167,6 @@ | EXP2 EXP1 */ #if ENABLED(ULTRA_LCD) - #define BEEPER_PIN P1_30 // (37) not 5V tolerant #define BTN_ENC P0_28 // (58) open-drain #define LCD_PINS_RS P1_19 @@ -180,20 +174,17 @@ #define BTN_EN1 P3_26 // (31) J3-2 & AUX-4 #define BTN_EN2 P3_25 // (33) J3-4 & AUX-4 #define SD_DETECT_PIN P1_31 // (49) (NOT 5V tolerant) - + #define LCD_SDSS P0_16 // (16) J3-7 & AUX-4 #define LCD_PINS_ENABLE P1_18 #define LCD_PINS_D4 P1_20 #if ENABLED(ULTIPANEL) - #define LCD_PINS_D5 P1_21 #define LCD_PINS_D6 P1_22 #define LCD_PINS_D7 P1_23 - #endif - #endif // ULTRA_LCD //#define USB_SD_DISABLED @@ -216,14 +207,14 @@ // When sharing the SD card with a PC we want the menu options to // mount/unmount the card and refresh it. So we disable card detect. #define SHARED_SD_CARD - #undef SD_DETECT_PIN // redefine detect pin onboard tf card - #define SD_DETECT_PIN P0_27 // (57) open-drain + #undef SD_DETECT_PIN + //#define SD_DETECT_PIN P0_27 // (57) open-drain #endif #define SCK_PIN P0_07 #define MISO_PIN P0_08 #define MOSI_PIN P0_09 - #define SS_PIN P0_16 // Chip select for SD card used by Marlin + #define SS_PIN P0_06 // Chip select for SD card used by Marlin #define ONBOARD_SD_CS P0_06 // Chip select for "System" SD card #endif diff --git a/Marlin/src/pins/pins_BIQU_SKR_V1.1.h b/Marlin/src/pins/pins_BIQU_SKR_V1.1.h index 2c6be700ec..91e76d1b91 100644 --- a/Marlin/src/pins/pins_BIQU_SKR_V1.1.h +++ b/Marlin/src/pins/pins_BIQU_SKR_V1.1.h @@ -137,7 +137,7 @@ #define SCK_PIN P0_07 #define MISO_PIN P0_08 #define MOSI_PIN P0_09 - #define SS_PIN P1_23 // Chip select for SD card used by Marlin + #define SS_PIN P0_06 // Chip select for SD card used by Marlin #define ONBOARD_SD_CS P0_06 // Chip select for "System" SD card #endif