|
@ -131,71 +131,6 @@ |
|
|
#define E1_CS_PIN 44 |
|
|
#define E1_CS_PIN 44 |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* Default pins for TMC software SPI |
|
|
|
|
|
*/ |
|
|
|
|
|
#if ENABLED(TMC_USE_SW_SPI) |
|
|
|
|
|
#ifndef TMC_SW_MOSI |
|
|
|
|
|
#define TMC_SW_MOSI 66 |
|
|
|
|
|
#endif |
|
|
|
|
|
#ifndef TMC_SW_MISO |
|
|
|
|
|
#define TMC_SW_MISO 44 |
|
|
|
|
|
#endif |
|
|
|
|
|
#ifndef TMC_SW_SCK |
|
|
|
|
|
#define TMC_SW_SCK 64 |
|
|
|
|
|
#endif |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#if HAS_DRIVER(TMC2208) |
|
|
|
|
|
/**
|
|
|
|
|
|
* TMC2208 stepper drivers |
|
|
|
|
|
* |
|
|
|
|
|
* Hardware serial communication ports. |
|
|
|
|
|
* If undefined software serial is used according to the pins below |
|
|
|
|
|
*/ |
|
|
|
|
|
//#define X_HARDWARE_SERIAL Serial1
|
|
|
|
|
|
//#define X2_HARDWARE_SERIAL Serial1
|
|
|
|
|
|
//#define Y_HARDWARE_SERIAL Serial1
|
|
|
|
|
|
//#define Y2_HARDWARE_SERIAL Serial1
|
|
|
|
|
|
//#define Z_HARDWARE_SERIAL Serial1
|
|
|
|
|
|
//#define Z2_HARDWARE_SERIAL Serial1
|
|
|
|
|
|
//#define E0_HARDWARE_SERIAL Serial1
|
|
|
|
|
|
//#define E1_HARDWARE_SERIAL Serial1
|
|
|
|
|
|
//#define E2_HARDWARE_SERIAL Serial1
|
|
|
|
|
|
//#define E3_HARDWARE_SERIAL Serial1
|
|
|
|
|
|
//#define E4_HARDWARE_SERIAL Serial1
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* Software serial |
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
#define X_SERIAL_TX_PIN 40 |
|
|
|
|
|
#define X_SERIAL_RX_PIN 63 |
|
|
|
|
|
#define X2_SERIAL_TX_PIN -1 |
|
|
|
|
|
#define X2_SERIAL_RX_PIN -1 |
|
|
|
|
|
|
|
|
|
|
|
#define Y_SERIAL_TX_PIN 59 |
|
|
|
|
|
#define Y_SERIAL_RX_PIN 64 |
|
|
|
|
|
#define Y2_SERIAL_TX_PIN -1 |
|
|
|
|
|
#define Y2_SERIAL_RX_PIN -1 |
|
|
|
|
|
|
|
|
|
|
|
#define Z_SERIAL_TX_PIN 42 |
|
|
|
|
|
#define Z_SERIAL_RX_PIN 65 |
|
|
|
|
|
#define Z2_SERIAL_TX_PIN -1 |
|
|
|
|
|
#define Z2_SERIAL_RX_PIN -1 |
|
|
|
|
|
|
|
|
|
|
|
#define E0_SERIAL_TX_PIN 44 |
|
|
|
|
|
#define E0_SERIAL_RX_PIN 66 |
|
|
|
|
|
#define E1_SERIAL_TX_PIN -1 |
|
|
|
|
|
#define E1_SERIAL_RX_PIN -1 |
|
|
|
|
|
#define E2_SERIAL_TX_PIN -1 |
|
|
|
|
|
#define E2_SERIAL_RX_PIN -1 |
|
|
|
|
|
#define E3_SERIAL_TX_PIN -1 |
|
|
|
|
|
#define E3_SERIAL_RX_PIN -1 |
|
|
|
|
|
#define E4_SERIAL_TX_PIN -1 |
|
|
|
|
|
#define E4_SERIAL_RX_PIN -1 |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
//
|
|
|
// Temperature Sensors
|
|
|
// Temperature Sensors
|
|
|
//
|
|
|
//
|
|
@ -285,7 +220,7 @@ |
|
|
#define FILWIDTH_PIN 5 // Analog Input on AUX2
|
|
|
#define FILWIDTH_PIN 5 // Analog Input on AUX2
|
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
// define digital pin 4 for the filament runout sensor. Use the RAMPS 1.4 digital input 4 on the servos connector
|
|
|
// RAMPS 1.4 DIO 4 on the servos connector
|
|
|
#ifndef FIL_RUNOUT_PIN |
|
|
#ifndef FIL_RUNOUT_PIN |
|
|
#define FIL_RUNOUT_PIN 4 |
|
|
#define FIL_RUNOUT_PIN 4 |
|
|
#endif |
|
|
#endif |
|
@ -319,6 +254,71 @@ |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
// TMC software SPI
|
|
|
|
|
|
//
|
|
|
|
|
|
#if ENABLED(TMC_USE_SW_SPI) |
|
|
|
|
|
#ifndef TMC_SW_MOSI |
|
|
|
|
|
#define TMC_SW_MOSI 66 |
|
|
|
|
|
#endif |
|
|
|
|
|
#ifndef TMC_SW_MISO |
|
|
|
|
|
#define TMC_SW_MISO 44 |
|
|
|
|
|
#endif |
|
|
|
|
|
#ifndef TMC_SW_SCK |
|
|
|
|
|
#define TMC_SW_SCK 64 |
|
|
|
|
|
#endif |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#if HAS_DRIVER(TMC2208) |
|
|
|
|
|
/**
|
|
|
|
|
|
* TMC2208 stepper drivers |
|
|
|
|
|
* |
|
|
|
|
|
* Hardware serial communication ports. |
|
|
|
|
|
* If undefined software serial is used according to the pins below |
|
|
|
|
|
*/ |
|
|
|
|
|
//#define X_HARDWARE_SERIAL Serial1
|
|
|
|
|
|
//#define X2_HARDWARE_SERIAL Serial1
|
|
|
|
|
|
//#define Y_HARDWARE_SERIAL Serial1
|
|
|
|
|
|
//#define Y2_HARDWARE_SERIAL Serial1
|
|
|
|
|
|
//#define Z_HARDWARE_SERIAL Serial1
|
|
|
|
|
|
//#define Z2_HARDWARE_SERIAL Serial1
|
|
|
|
|
|
//#define E0_HARDWARE_SERIAL Serial1
|
|
|
|
|
|
//#define E1_HARDWARE_SERIAL Serial1
|
|
|
|
|
|
//#define E2_HARDWARE_SERIAL Serial1
|
|
|
|
|
|
//#define E3_HARDWARE_SERIAL Serial1
|
|
|
|
|
|
//#define E4_HARDWARE_SERIAL Serial1
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
// Software serial
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
#define X_SERIAL_TX_PIN 40 |
|
|
|
|
|
#define X_SERIAL_RX_PIN 63 |
|
|
|
|
|
#define X2_SERIAL_TX_PIN -1 |
|
|
|
|
|
#define X2_SERIAL_RX_PIN -1 |
|
|
|
|
|
|
|
|
|
|
|
#define Y_SERIAL_TX_PIN 59 |
|
|
|
|
|
#define Y_SERIAL_RX_PIN 64 |
|
|
|
|
|
#define Y2_SERIAL_TX_PIN -1 |
|
|
|
|
|
#define Y2_SERIAL_RX_PIN -1 |
|
|
|
|
|
|
|
|
|
|
|
#define Z_SERIAL_TX_PIN 42 |
|
|
|
|
|
#define Z_SERIAL_RX_PIN 65 |
|
|
|
|
|
#define Z2_SERIAL_TX_PIN -1 |
|
|
|
|
|
#define Z2_SERIAL_RX_PIN -1 |
|
|
|
|
|
|
|
|
|
|
|
#define E0_SERIAL_TX_PIN 44 |
|
|
|
|
|
#define E0_SERIAL_RX_PIN 66 |
|
|
|
|
|
#define E1_SERIAL_TX_PIN -1 |
|
|
|
|
|
#define E1_SERIAL_RX_PIN -1 |
|
|
|
|
|
#define E2_SERIAL_TX_PIN -1 |
|
|
|
|
|
#define E2_SERIAL_RX_PIN -1 |
|
|
|
|
|
#define E3_SERIAL_TX_PIN -1 |
|
|
|
|
|
#define E3_SERIAL_RX_PIN -1 |
|
|
|
|
|
#define E4_SERIAL_TX_PIN -1 |
|
|
|
|
|
#define E4_SERIAL_RX_PIN -1 |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
//
|
|
|
//
|
|
|
// Průša i3 MK2 Multiplexer Support
|
|
|
// Průša i3 MK2 Multiplexer Support
|
|
|
//
|
|
|
//
|
|
|