|
|
|
@ -66,7 +66,7 @@
|
|
|
|
|
#define Y_MAX_PIN 15 //10k pullup to 3.3V, 1K series
|
|
|
|
|
#define Z_MIN_PIN 18 //10k pullup to 3.3V, 1K series
|
|
|
|
|
#define Z_MAX_PIN 19 //10k pullup to 3.3V, 1K series
|
|
|
|
|
//#define Z_probe_pin 1 // AUX-1
|
|
|
|
|
//#define Z_PROBE_PIN 1 // AUX-1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
@ -267,23 +267,18 @@
|
|
|
|
|
//#define SHIFT_EN 41 // J5-4 & AUX-4
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if ENABLED(SDSUPPORT)
|
|
|
|
|
#define SDCARD_SORT_ALPHA // Using SORT feature to keep one directory level in RAM
|
|
|
|
|
// When going up/down directory levels the SD card is
|
|
|
|
|
// accessed but the garbage/lines are removed when the
|
|
|
|
|
// LCD updates
|
|
|
|
|
|
|
|
|
|
// SD Card Sorting options
|
|
|
|
|
#if ENABLED(SDCARD_SORT_ALPHA)
|
|
|
|
|
#define SDSORT_LIMIT 255 // Maximum number of sorted items (10-256). Costs 27 bytes each.
|
|
|
|
|
#define FOLDER_SORTING -1 // -1=above 0=none 1=below
|
|
|
|
|
#define SDSORT_GCODE false // Allow turning sorting on/off with LCD and M34 g-code.
|
|
|
|
|
#define SDSORT_USES_RAM true // Pre-allocate a static array for faster pre-sorting.
|
|
|
|
|
#define SDSORT_USES_STACK false // Prefer the stack for pre-sorting to give back some SRAM. (Negated by next 2 options.)
|
|
|
|
|
#define SDSORT_CACHE_NAMES true // Keep sorted items in RAM longer for speedy performance. Most expensive option.
|
|
|
|
|
#define SDSORT_DYNAMIC_RAM false // Use dynamic allocation (within SD menus). Least expensive option. Set SDSORT_LIMIT before use!
|
|
|
|
|
#endif
|
|
|
|
|
#endif
|
|
|
|
|
#define SDCARD_SORT_ALPHA // Using SORT feature to keep one directory level in RAM
|
|
|
|
|
// When going up/down directory levels the SD card is
|
|
|
|
|
// accessed but the garbage/lines are removed when the
|
|
|
|
|
// LCD updates
|
|
|
|
|
|
|
|
|
|
#define SDSORT_LIMIT 256 // Maximum number of sorted items (10-256). Costs 27 bytes each.
|
|
|
|
|
#define FOLDER_SORTING -1 // -1=above 0=none 1=below
|
|
|
|
|
#define SDSORT_GCODE false // Allow turning sorting on/off with LCD and M34 g-code.
|
|
|
|
|
#define SDSORT_USES_RAM true // Pre-allocate a static array for faster pre-sorting.
|
|
|
|
|
#define SDSORT_USES_STACK false // Prefer the stack for pre-sorting to give back some SRAM. (Negated by next 2 options.)
|
|
|
|
|
#define SDSORT_CACHE_NAMES true // Keep sorted items in RAM longer for speedy performance. Most expensive option.
|
|
|
|
|
#define SDSORT_DYNAMIC_RAM false // Use dynamic allocation (within SD menus). Least expensive option. Set SDSORT_LIMIT before use!
|
|
|
|
|
|
|
|
|
|
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
|
|
|
|
// #define LCD_SCREEN_ROT_180
|
|
|
|
@ -307,7 +302,7 @@
|
|
|
|
|
#undef LCD_PINS_D5 //59 // J3-8 & AUX-2
|
|
|
|
|
#define DOGLCD_A0 59 // J3-8 & AUX-2
|
|
|
|
|
#undef LCD_PINS_D6 //63 // J5-3 & AUX-2
|
|
|
|
|
#undef LCD_PINS_D7 //6 // (SERVO1) J5-1 & SERVO connector
|
|
|
|
|
#undef LCD_PINS_D7 // 6 // (SERVO1) J5-1 & SERVO connector
|
|
|
|
|
#define DOGLCD_SCK SCK_PIN
|
|
|
|
|
#define DOGLCD_MOSI MOSI_PIN
|
|
|
|
|
|
|
|
|
@ -335,17 +330,17 @@
|
|
|
|
|
// Ethernet pins
|
|
|
|
|
//
|
|
|
|
|
#ifndef ULTIPANEL
|
|
|
|
|
#define ENET_MDIO 71 // J12-4
|
|
|
|
|
#define ENET_RX_ER 73 // J12-6
|
|
|
|
|
#define ENET_RXD1 75 // J12-8
|
|
|
|
|
#define ENET_MDIO 71 // J12-4
|
|
|
|
|
#define ENET_RX_ER 73 // J12-6
|
|
|
|
|
#define ENET_RXD1 75 // J12-8
|
|
|
|
|
#endif
|
|
|
|
|
#define ENET_MOC 70 // J12-3
|
|
|
|
|
#define REF_CLK 72 // J12-5
|
|
|
|
|
#define ENET_RXD0 74 // J12-7
|
|
|
|
|
#define ENET_CRS 76 // J12-9
|
|
|
|
|
#define ENET_TX_EN 77 // J12-10
|
|
|
|
|
#define ENET_TXD0 78 // J12-11
|
|
|
|
|
#define ENET_TXD1 79 // J12-12
|
|
|
|
|
#define ENET_MOC 70 // J12-3
|
|
|
|
|
#define REF_CLK 72 // J12-5
|
|
|
|
|
#define ENET_RXD0 74 // J12-7
|
|
|
|
|
#define ENET_CRS 76 // J12-9
|
|
|
|
|
#define ENET_TX_EN 77 // J12-10
|
|
|
|
|
#define ENET_TXD0 78 // J12-11
|
|
|
|
|
#define ENET_TXD1 79 // J12-12
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* PWMS
|
|
|
|
|