Fix SKR onboard TF card CS pin (#13272)
This commit is contained in:
parent
7fde3ed915
commit
5b7ad3a5a0
2 changed files with 5 additions and 14 deletions
|
@ -156,11 +156,6 @@
|
||||||
#define FAN_PIN P2_03
|
#define FAN_PIN P2_03
|
||||||
#define HEATER_BED_PIN P2_05
|
#define HEATER_BED_PIN P2_05
|
||||||
|
|
||||||
//
|
|
||||||
// Misc. Functions
|
|
||||||
//
|
|
||||||
#define SDSS P0_06
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
| _____ _____
|
| _____ _____
|
||||||
| NC | · · | GND 5V | · · | GND
|
| NC | · · | GND 5V | · · | GND
|
||||||
|
@ -172,7 +167,6 @@
|
||||||
| EXP2 EXP1
|
| EXP2 EXP1
|
||||||
*/
|
*/
|
||||||
#if ENABLED(ULTRA_LCD)
|
#if ENABLED(ULTRA_LCD)
|
||||||
|
|
||||||
#define BEEPER_PIN P1_30 // (37) not 5V tolerant
|
#define BEEPER_PIN P1_30 // (37) not 5V tolerant
|
||||||
#define BTN_ENC P0_28 // (58) open-drain
|
#define BTN_ENC P0_28 // (58) open-drain
|
||||||
#define LCD_PINS_RS P1_19
|
#define LCD_PINS_RS P1_19
|
||||||
|
@ -187,13 +181,10 @@
|
||||||
#define LCD_PINS_D4 P1_20
|
#define LCD_PINS_D4 P1_20
|
||||||
|
|
||||||
#if ENABLED(ULTIPANEL)
|
#if ENABLED(ULTIPANEL)
|
||||||
|
|
||||||
#define LCD_PINS_D5 P1_21
|
#define LCD_PINS_D5 P1_21
|
||||||
#define LCD_PINS_D6 P1_22
|
#define LCD_PINS_D6 P1_22
|
||||||
#define LCD_PINS_D7 P1_23
|
#define LCD_PINS_D7 P1_23
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // ULTRA_LCD
|
#endif // ULTRA_LCD
|
||||||
|
|
||||||
//#define USB_SD_DISABLED
|
//#define USB_SD_DISABLED
|
||||||
|
@ -216,14 +207,14 @@
|
||||||
// When sharing the SD card with a PC we want the menu options to
|
// 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.
|
// mount/unmount the card and refresh it. So we disable card detect.
|
||||||
#define SHARED_SD_CARD
|
#define SHARED_SD_CARD
|
||||||
#undef SD_DETECT_PIN // redefine detect pin onboard tf card
|
#undef SD_DETECT_PIN
|
||||||
#define SD_DETECT_PIN P0_27 // (57) open-drain
|
//#define SD_DETECT_PIN P0_27 // (57) open-drain
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define SCK_PIN P0_07
|
#define SCK_PIN P0_07
|
||||||
#define MISO_PIN P0_08
|
#define MISO_PIN P0_08
|
||||||
#define MOSI_PIN P0_09
|
#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
|
#define ONBOARD_SD_CS P0_06 // Chip select for "System" SD card
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -137,7 +137,7 @@
|
||||||
#define SCK_PIN P0_07
|
#define SCK_PIN P0_07
|
||||||
#define MISO_PIN P0_08
|
#define MISO_PIN P0_08
|
||||||
#define MOSI_PIN P0_09
|
#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
|
#define ONBOARD_SD_CS P0_06 // Chip select for "System" SD card
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Reference in a new issue