Format some pins files
This commit is contained in:
committed by
Scott Lahteine
parent
9340a33980
commit
2c325c2a7d
@ -41,93 +41,92 @@
|
||||
//
|
||||
// Servos
|
||||
//
|
||||
#define SERVO0_PIN P1_23
|
||||
#define SERVO0_PIN P1_23
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_MIN_PIN P1_24
|
||||
#define X_MAX_PIN P1_27
|
||||
#define Y_MIN_PIN P1_25
|
||||
#define Y_MAX_PIN P1_28
|
||||
#define Z_MIN_PIN P1_26
|
||||
#define Z_MAX_PIN P1_29
|
||||
#define X_MIN_PIN P1_24
|
||||
#define X_MAX_PIN P1_27
|
||||
#define Y_MIN_PIN P1_25
|
||||
#define Y_MAX_PIN P1_28
|
||||
#define Z_MIN_PIN P1_26
|
||||
#define Z_MAX_PIN P1_29
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN P2_01
|
||||
#define X_DIR_PIN P0_11
|
||||
#define X_ENABLE_PIN P0_10
|
||||
#define X_STEP_PIN P2_01
|
||||
#define X_DIR_PIN P0_11
|
||||
#define X_ENABLE_PIN P0_10
|
||||
#ifndef X_CS_PIN
|
||||
#define X_CS_PIN P0_10 // BSD2660 default
|
||||
#define X_CS_PIN P0_10 // BSD2660 default
|
||||
#endif
|
||||
|
||||
#define Y_STEP_PIN P2_02
|
||||
#define Y_DIR_PIN P0_20
|
||||
#define Y_ENABLE_PIN P0_19
|
||||
#define Y_STEP_PIN P2_02
|
||||
#define Y_DIR_PIN P0_20
|
||||
#define Y_ENABLE_PIN P0_19
|
||||
#ifndef Y_CS_PIN
|
||||
#define Y_CS_PIN P0_19 // BSD2660 default
|
||||
#define Y_CS_PIN P0_19 // BSD2660 default
|
||||
#endif
|
||||
|
||||
#define Z_STEP_PIN P2_03
|
||||
#define Z_DIR_PIN P0_22
|
||||
#define Z_ENABLE_PIN P0_21
|
||||
#define Z_STEP_PIN P2_03
|
||||
#define Z_DIR_PIN P0_22
|
||||
#define Z_ENABLE_PIN P0_21
|
||||
#ifndef Z_CS_PIN
|
||||
#define Z_CS_PIN P0_21 // BSD2660 default
|
||||
#define Z_CS_PIN P0_21 // BSD2660 default
|
||||
#endif
|
||||
|
||||
#define E0_STEP_PIN P2_00
|
||||
#define E0_DIR_PIN P0_05
|
||||
#define E0_ENABLE_PIN P0_04
|
||||
#define E0_STEP_PIN P2_00
|
||||
#define E0_DIR_PIN P0_05
|
||||
#define E0_ENABLE_PIN P0_04
|
||||
#ifndef E0_CS_PIN
|
||||
#define E0_CS_PIN P0_04 // BSD2660 default
|
||||
#define E0_CS_PIN P0_04 // BSD2660 default
|
||||
#endif
|
||||
|
||||
#define E1_STEP_PIN P2_08
|
||||
#define E1_DIR_PIN P2_13
|
||||
#define E1_ENABLE_PIN P4_29
|
||||
#define E1_STEP_PIN P2_08
|
||||
#define E1_DIR_PIN P2_13
|
||||
#define E1_ENABLE_PIN P4_29
|
||||
#ifndef E1_CS_PIN
|
||||
#define E1_CS_PIN P4_29 // BSD2660 default
|
||||
#define E1_CS_PIN P4_29 // BSD2660 default
|
||||
#endif
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
// 3.3V max when defined as an analog input
|
||||
//
|
||||
#define TEMP_BED_PIN P0_23_A0 // A0 (TH1)
|
||||
#define TEMP_0_PIN P0_24_A1 // A1 (TH2)
|
||||
#define TEMP_1_PIN P0_25_A2 // A2 (TH3)
|
||||
|
||||
#define TEMP_BED_PIN P0_23_A0 // A0 (TH1)
|
||||
#define TEMP_0_PIN P0_24_A1 // A1 (TH2)
|
||||
#define TEMP_1_PIN P0_25_A2 // A2 (TH3)
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
|
||||
#define HEATER_BED_PIN P2_07
|
||||
#define HEATER_0_PIN P2_04
|
||||
#define HEATER_1_PIN P2_05
|
||||
#define HEATER_BED_PIN P2_07
|
||||
#define HEATER_0_PIN P2_04
|
||||
#define HEATER_1_PIN P2_05
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN P0_26
|
||||
#define FAN_PIN P0_26
|
||||
#endif
|
||||
#define FAN1_PIN P1_22
|
||||
#define FAN1_PIN P1_22
|
||||
|
||||
//
|
||||
// Display
|
||||
//
|
||||
|
||||
#if ANY(VIKI2, miniVIKI)
|
||||
#define BEEPER_PIN P1_31
|
||||
#define DOGLCD_A0 P2_06
|
||||
#define DOGLCD_CS P0_16
|
||||
#define BEEPER_PIN P1_31
|
||||
#define DOGLCD_A0 P2_06
|
||||
#define DOGLCD_CS P0_16
|
||||
|
||||
#define BTN_EN1 P3_25
|
||||
#define BTN_EN2 P3_26
|
||||
#define BTN_ENC P2_11
|
||||
#define BTN_EN1 P3_25
|
||||
#define BTN_EN2 P3_26
|
||||
#define BTN_ENC P2_11
|
||||
|
||||
#define SD_DETECT_PIN P1_18
|
||||
#define SDSS P1_21
|
||||
#define SD_DETECT_PIN P1_18
|
||||
#define SDSS P1_21
|
||||
|
||||
#define STAT_LED_RED_PIN P1_19
|
||||
#define STAT_LED_BLUE_PIN P1_20
|
||||
#define STAT_LED_RED_PIN P1_19
|
||||
#define STAT_LED_BLUE_PIN P1_20
|
||||
#endif
|
||||
|
@ -37,74 +37,74 @@
|
||||
//
|
||||
// LED
|
||||
//
|
||||
#define LED_PIN P1_18
|
||||
#define LED_PIN P1_18
|
||||
|
||||
//
|
||||
// Servos
|
||||
//
|
||||
#define SERVO0_PIN P1_29
|
||||
#define SERVO0_PIN P1_29
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_STOP_PIN P1_24
|
||||
#define Y_STOP_PIN P1_26
|
||||
#define Z_STOP_PIN P1_28
|
||||
#define X_STOP_PIN P1_24
|
||||
#define Y_STOP_PIN P1_26
|
||||
#define Z_STOP_PIN P1_28
|
||||
|
||||
#ifndef FIL_RUNOUT_PIN
|
||||
#define FIL_RUNOUT_PIN P2_04
|
||||
#define FIL_RUNOUT_PIN P2_04
|
||||
#endif
|
||||
|
||||
#ifndef FILWIDTH_PIN
|
||||
#define FILWIDTH_PIN P0_25_A2 // Analog Input (P0_25)
|
||||
#define FILWIDTH_PIN P0_25_A2 // Analog Input (P0_25)
|
||||
#endif
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN P2_01
|
||||
#define X_DIR_PIN P0_11
|
||||
#define X_ENABLE_PIN P0_10
|
||||
#define X_STEP_PIN P2_01
|
||||
#define X_DIR_PIN P0_11
|
||||
#define X_ENABLE_PIN P0_10
|
||||
|
||||
#define Y_STEP_PIN P2_02
|
||||
#define Y_DIR_PIN P0_20
|
||||
#define Y_ENABLE_PIN P0_19
|
||||
#define Y_STEP_PIN P2_02
|
||||
#define Y_DIR_PIN P0_20
|
||||
#define Y_ENABLE_PIN P0_19
|
||||
|
||||
#define Z_STEP_PIN P2_03
|
||||
#define Z_DIR_PIN P0_22
|
||||
#define Z_ENABLE_PIN P0_21
|
||||
#define Z_STEP_PIN P2_03
|
||||
#define Z_DIR_PIN P0_22
|
||||
#define Z_ENABLE_PIN P0_21
|
||||
|
||||
#define E0_STEP_PIN P2_00
|
||||
#define E0_DIR_PIN P0_05
|
||||
#define E0_ENABLE_PIN P0_04
|
||||
#define E0_STEP_PIN P2_00
|
||||
#define E0_DIR_PIN P0_05
|
||||
#define E0_ENABLE_PIN P0_04
|
||||
|
||||
//
|
||||
// DIGIPOT slave addresses
|
||||
//
|
||||
#ifndef DIGIPOT_I2C_ADDRESS_A
|
||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT
|
||||
#endif
|
||||
|
||||
#ifndef DIGIPOT_I2C_ADDRESS_B
|
||||
#define DIGIPOT_I2C_ADDRESS_B 0x2E // unshifted slave address for second DIGIPOT
|
||||
#define DIGIPOT_I2C_ADDRESS_B 0x2E // unshifted slave address for second DIGIPOT
|
||||
#endif
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
// 3.3V max when defined as an analog input
|
||||
//
|
||||
#define TEMP_BED_PIN P0_23_A0 // A0 (TH1)
|
||||
#define TEMP_0_PIN P0_24_A1 // A1 (TH2)
|
||||
#define TEMP_BED_PIN P0_23_A0 // A0 (TH1)
|
||||
#define TEMP_0_PIN P0_24_A1 // A1 (TH2)
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_BED_PIN P2_07
|
||||
#define HEATER_0_PIN P2_05
|
||||
#define HEATER_BED_PIN P2_07
|
||||
#define HEATER_0_PIN P2_05
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN P0_26
|
||||
#define FAN_PIN P0_26
|
||||
#endif
|
||||
#define FAN1_PIN P1_25
|
||||
#define FAN1_PIN P1_25
|
||||
|
||||
//
|
||||
// Display
|
||||
@ -118,61 +118,61 @@
|
||||
// 10-pin IDC connector trimmed or replaced with a 12-pin IDC connector to fit J3.
|
||||
// Requires REVERSE_ENCODER_DIRECTION in Configuration.h
|
||||
|
||||
#define BEEPER_PIN P2_11 // J3-3 & AUX-4
|
||||
#define BEEPER_PIN P2_11 // J3-3 & AUX-4
|
||||
|
||||
#define BTN_EN1 P0_16 // J3-7 & AUX-4
|
||||
#define BTN_EN2 P1_23 // J3-5 & AUX-4
|
||||
#define BTN_ENC P3_25 // J3-4 & AUX-4
|
||||
#define BTN_EN1 P0_16 // J3-7 & AUX-4
|
||||
#define BTN_EN2 P1_23 // J3-5 & AUX-4
|
||||
#define BTN_ENC P3_25 // J3-4 & AUX-4
|
||||
|
||||
#define LCD_PINS_RS P0_15 // J3-9 & AUX-4 (CS)
|
||||
#define LCD_PINS_ENABLE P0_18 // J3-10 & AUX-3 (SID, MOSI)
|
||||
#define LCD_PINS_D4 P2_06 // J3-8 & AUX-3 (SCK, CLK)
|
||||
#define LCD_PINS_RS P0_15 // J3-9 & AUX-4 (CS)
|
||||
#define LCD_PINS_ENABLE P0_18 // J3-10 & AUX-3 (SID, MOSI)
|
||||
#define LCD_PINS_D4 P2_06 // J3-8 & AUX-3 (SCK, CLK)
|
||||
|
||||
#else
|
||||
|
||||
#define BTN_EN1 P3_26 // (31) J3-2 & AUX-4
|
||||
#define BTN_EN2 P3_25 // (33) J3-4 & AUX-4
|
||||
#define BTN_ENC P2_11 // (35) J3-3 & AUX-4
|
||||
#define BTN_EN1 P3_26 // (31) J3-2 & AUX-4
|
||||
#define BTN_EN2 P3_25 // (33) J3-4 & AUX-4
|
||||
#define BTN_ENC P2_11 // (35) J3-3 & AUX-4
|
||||
|
||||
#define SD_DETECT_PIN P1_31 // (49) not 5V tolerant J3-1 & AUX-3
|
||||
#define KILL_PIN P1_22 // (41) J5-4 & AUX-4
|
||||
#define LCD_PINS_RS P0_16 // (16) J3-7 & AUX-4
|
||||
#define LCD_SDSS P0_16 // (16) J3-7 & AUX-4
|
||||
#define LCD_BACKLIGHT_PIN P0_16 // (16) J3-7 & AUX-4 - only used on DOGLCD controllers
|
||||
#define LCD_PINS_ENABLE P0_18 // (51) (MOSI) J3-10 & AUX-3
|
||||
#define LCD_PINS_D4 P0_15 // (52) (SCK) J3-9 & AUX-3
|
||||
#define SD_DETECT_PIN P1_31 // (49) not 5V tolerant J3-1 & AUX-3
|
||||
#define KILL_PIN P1_22 // (41) J5-4 & AUX-4
|
||||
#define LCD_PINS_RS P0_16 // (16) J3-7 & AUX-4
|
||||
#define LCD_SDSS P0_16 // (16) J3-7 & AUX-4
|
||||
#define LCD_BACKLIGHT_PIN P0_16 // (16) J3-7 & AUX-4 - only used on DOGLCD controllers
|
||||
#define LCD_PINS_ENABLE P0_18 // (51) (MOSI) J3-10 & AUX-3
|
||||
#define LCD_PINS_D4 P0_15 // (52) (SCK) J3-9 & AUX-3
|
||||
|
||||
#define DOGLCD_A0 P2_06 // (59) J3-8 & AUX-2
|
||||
#define DOGLCD_A0 P2_06 // (59) J3-8 & AUX-2
|
||||
|
||||
#if ENABLED(REPRAPWORLD_KEYPAD)
|
||||
#define SHIFT_OUT P0_18 // (51) (MOSI) J3-10 & AUX-3
|
||||
#define SHIFT_CLK P0_15 // (52) (SCK) J3-9 & AUX-3
|
||||
#define SHIFT_LD P1_31 // (49) not 5V tolerant J3-1 & AUX-3
|
||||
#define SHIFT_OUT P0_18 // (51) (MOSI) J3-10 & AUX-3
|
||||
#define SHIFT_CLK P0_15 // (52) (SCK) J3-9 & AUX-3
|
||||
#define SHIFT_LD P1_31 // (49) not 5V tolerant J3-1 & AUX-3
|
||||
#elif DISABLED(NEWPANEL)
|
||||
//#define SHIFT_OUT P2_11 // (35) J3-3 & AUX-4
|
||||
//#define SHIFT_CLK P3_26 // (31) J3-2 & AUX-4
|
||||
//#define SHIFT_LD P3_25 // (33) J3-4 & AUX-4
|
||||
//#define SHIFT_EN P1_22 // (41) J5-4 & AUX-4
|
||||
//#define SHIFT_OUT P2_11 // (35) J3-3 & AUX-4
|
||||
//#define SHIFT_CLK P3_26 // (31) J3-2 & AUX-4
|
||||
//#define SHIFT_LD P3_25 // (33) J3-4 & AUX-4
|
||||
//#define SHIFT_EN P1_22 // (41) J5-4 & AUX-4
|
||||
#endif
|
||||
|
||||
#if ANY(VIKI2, miniVIKI)
|
||||
//#define LCD_SCREEN_ROT_180
|
||||
|
||||
#define BEEPER_PIN P1_30 // (37) may change if cable changes
|
||||
#define DOGLCD_CS P0_26 // (63) J5-3 & AUX-2
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
#define BEEPER_PIN P1_30 // (37) may change if cable changes
|
||||
#define DOGLCD_CS P0_26 // (63) J5-3 & AUX-2
|
||||
#define DOGLCD_SCK SCK_PIN
|
||||
#define DOGLCD_MOSI MOSI_PIN
|
||||
|
||||
#define STAT_LED_BLUE_PIN P0_26 // (63) may change if cable changes
|
||||
#define STAT_LED_RED_PIN P1_21 // ( 6) may change if cable changes
|
||||
#define STAT_LED_BLUE_PIN P0_26 // (63) may change if cable changes
|
||||
#define STAT_LED_RED_PIN P1_21 // ( 6) may change if cable changes
|
||||
#else
|
||||
#if ENABLED(ULTIPANEL)
|
||||
#define LCD_PINS_D5 P1_17 // (71) ENET_MDIO
|
||||
#define LCD_PINS_D6 P1_14 // (73) ENET_RX_ER
|
||||
#define LCD_PINS_D7 P1_10 // (75) ENET_RXD1
|
||||
#define LCD_PINS_D5 P1_17 // (71) ENET_MDIO
|
||||
#define LCD_PINS_D6 P1_14 // (73) ENET_RX_ER
|
||||
#define LCD_PINS_D7 P1_10 // (75) ENET_RXD1
|
||||
#endif
|
||||
#define BEEPER_PIN P1_30 // (37) not 5V tolerant
|
||||
#define DOGLCD_CS P0_16 // (16)
|
||||
#define BEEPER_PIN P1_30 // (37) not 5V tolerant
|
||||
#define DOGLCD_CS P0_16 // (16)
|
||||
#endif
|
||||
|
||||
#if ENABLED(MINIPANEL)
|
||||
@ -199,22 +199,22 @@
|
||||
// SD Support
|
||||
//
|
||||
#ifndef SDCARD_CONNECTION
|
||||
#define SDCARD_CONNECTION ONBOARD
|
||||
#define SDCARD_CONNECTION ONBOARD
|
||||
#endif
|
||||
|
||||
#define ONBOARD_SD_CS_PIN P0_06 // Chip select for "System" SD card
|
||||
#define ONBOARD_SD_CS_PIN P0_06 // Chip select for "System" SD card
|
||||
|
||||
#if SD_CONNECTION_IS(LCD)
|
||||
#define SCK_PIN P0_15
|
||||
#define MISO_PIN P0_17
|
||||
#define MOSI_PIN P0_18
|
||||
#define SS_PIN P1_23
|
||||
#define SCK_PIN P0_15
|
||||
#define MISO_PIN P0_17
|
||||
#define MOSI_PIN P0_18
|
||||
#define SS_PIN P1_23
|
||||
#elif SD_CONNECTION_IS(ONBOARD)
|
||||
#undef SD_DETECT_PIN
|
||||
#define SCK_PIN P0_07
|
||||
#define MISO_PIN P0_08
|
||||
#define MOSI_PIN P0_09
|
||||
#define SS_PIN ONBOARD_SD_CS_PIN
|
||||
#define SCK_PIN P0_07
|
||||
#define MISO_PIN P0_08
|
||||
#define MOSI_PIN P0_09
|
||||
#define SS_PIN ONBOARD_SD_CS_PIN
|
||||
#elif SD_CONNECTION_IS(CUSTOM_CABLE)
|
||||
#error "No custom SD drive cable defined for this board."
|
||||
#endif
|
||||
|
@ -40,53 +40,53 @@
|
||||
//
|
||||
// Servos
|
||||
//
|
||||
#define SERVO0_PIN P1_23
|
||||
#define SERVO0_PIN P1_23
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_MIN_PIN P1_24 // 10k pullup to 3.3V
|
||||
#define X_MAX_PIN P1_25 // 10k pullup to 3.3V
|
||||
#define Y_MIN_PIN P1_26 // 10k pullup to 3.3V
|
||||
#define Y_MAX_PIN P1_27 // 10k pullup to 3.3V
|
||||
#define Z_MIN_PIN P1_28 // 10k pullup to 3.3V
|
||||
#define Z_MAX_PIN P1_29 // 10k pullup to 3.3V
|
||||
#define X_MIN_PIN P1_24 // 10k pullup to 3.3V
|
||||
#define X_MAX_PIN P1_25 // 10k pullup to 3.3V
|
||||
#define Y_MIN_PIN P1_26 // 10k pullup to 3.3V
|
||||
#define Y_MAX_PIN P1_27 // 10k pullup to 3.3V
|
||||
#define Z_MIN_PIN P1_28 // 10k pullup to 3.3V
|
||||
#define Z_MAX_PIN P1_29 // 10k pullup to 3.3V
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN P2_00
|
||||
#define X_DIR_PIN P0_05
|
||||
#define X_ENABLE_PIN P0_04
|
||||
#define X_CS_PIN P1_10 // Ethernet Expansion - Pin 9
|
||||
#define X_STEP_PIN P2_00
|
||||
#define X_DIR_PIN P0_05
|
||||
#define X_ENABLE_PIN P0_04
|
||||
#define X_CS_PIN P1_10 // Ethernet Expansion - Pin 9
|
||||
|
||||
#define Y_STEP_PIN P2_01
|
||||
#define Y_DIR_PIN P0_11
|
||||
#define Y_ENABLE_PIN P0_10
|
||||
#define Y_CS_PIN P1_09 // Ethernet Expansion - Pin 10
|
||||
#define Y_STEP_PIN P2_01
|
||||
#define Y_DIR_PIN P0_11
|
||||
#define Y_ENABLE_PIN P0_10
|
||||
#define Y_CS_PIN P1_09 // Ethernet Expansion - Pin 10
|
||||
|
||||
#define Z_STEP_PIN P2_02
|
||||
#define Z_DIR_PIN P0_20
|
||||
#define Z_ENABLE_PIN P0_19
|
||||
#define Z_CS_PIN P1_00 // Ethernet Expansion - Pin 11
|
||||
#define Z_STEP_PIN P2_02
|
||||
#define Z_DIR_PIN P0_20
|
||||
#define Z_ENABLE_PIN P0_19
|
||||
#define Z_CS_PIN P1_00 // Ethernet Expansion - Pin 11
|
||||
|
||||
#define E0_STEP_PIN P2_03
|
||||
#define E0_DIR_PIN P0_22
|
||||
#define E0_ENABLE_PIN P0_21
|
||||
#define E0_CS_PIN P1_04 // Ethernet Expansion - Pin 12
|
||||
#define E0_STEP_PIN P2_03
|
||||
#define E0_DIR_PIN P0_22
|
||||
#define E0_ENABLE_PIN P0_21
|
||||
#define E0_CS_PIN P1_04 // Ethernet Expansion - Pin 12
|
||||
|
||||
//
|
||||
// Default pins for TMC software SPI
|
||||
//
|
||||
#if ENABLED(TMC_USE_SW_SPI)
|
||||
#ifndef TMC_SW_MOSI
|
||||
#define TMC_SW_MOSI P1_16 // Ethernet Expansion - Pin 5
|
||||
#define TMC_SW_MOSI P1_16 // Ethernet Expansion - Pin 5
|
||||
#endif
|
||||
#ifndef TMC_SW_MISO
|
||||
#define TMC_SW_MISO P1_17 // Ethernet Expansion - Pin 6
|
||||
#define TMC_SW_MISO P1_17 // Ethernet Expansion - Pin 6
|
||||
#endif
|
||||
#ifndef TMC_SW_SCK
|
||||
#define TMC_SW_SCK P1_08 // Ethernet Expansion - Pin 7
|
||||
#define TMC_SW_SCK P1_08 // Ethernet Expansion - Pin 7
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@ -94,42 +94,42 @@
|
||||
// Analog Inputs
|
||||
// 3.3V max when defined as an analog input
|
||||
//
|
||||
#define TEMP_0_PIN P0_23_A0 // P0_23
|
||||
#define TEMP_BED_PIN P0_24_A1 // P0_24
|
||||
#define TEMP_0_PIN P0_23_A0 // P0_23
|
||||
#define TEMP_BED_PIN P0_24_A1 // P0_24
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_BED_PIN P2_05
|
||||
#define HEATER_0_PIN P2_07 // FET 1
|
||||
#define HEATER_BED_PIN P2_05
|
||||
#define HEATER_0_PIN P2_07 // FET 1
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN P2_06 // FET 3
|
||||
#define FAN_PIN P2_06 // FET 3
|
||||
#endif
|
||||
|
||||
//
|
||||
// Auto fans
|
||||
//
|
||||
#define AUTO_FAN_PIN P2_04 // FET 4
|
||||
#define AUTO_FAN_PIN P2_04 // FET 4
|
||||
|
||||
#define ORIG_E0_AUTO_FAN_PIN AUTO_FAN_PIN
|
||||
#define ORIG_E1_AUTO_FAN_PIN AUTO_FAN_PIN
|
||||
#define ORIG_E2_AUTO_FAN_PIN AUTO_FAN_PIN
|
||||
#define ORIG_E0_AUTO_FAN_PIN AUTO_FAN_PIN
|
||||
#define ORIG_E1_AUTO_FAN_PIN AUTO_FAN_PIN
|
||||
#define ORIG_E2_AUTO_FAN_PIN AUTO_FAN_PIN
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define LED_PIN P4_28 // Play LED
|
||||
#define LED_PIN P4_28 // Play LED
|
||||
|
||||
//
|
||||
// M3/M4/M5 - Spindle/Laser Control
|
||||
//
|
||||
#if HAS_CUTTER
|
||||
#undef HEATER_0_PIN
|
||||
#define SPINDLE_LASER_ENA_PIN P2_07 // FET 1
|
||||
#define SPINDLE_LASER_ENA_PIN P2_07 // FET 1
|
||||
#undef HEATER_BED_PIN
|
||||
#define SPINDLE_LASER_PWM_PIN P2_05 // Bed FET
|
||||
#define SPINDLE_LASER_PWM_PIN P2_05 // Bed FET
|
||||
#undef FAN_PIN
|
||||
#define SPINDLE_DIR_PIN P2_06 // FET 3
|
||||
#define SPINDLE_DIR_PIN P2_06 // FET 3
|
||||
#endif
|
||||
|
||||
//
|
||||
@ -144,18 +144,18 @@
|
||||
//
|
||||
#if HAS_SPI_LCD
|
||||
|
||||
#define BEEPER_PIN P0_27 // EXP2-7 - open drain
|
||||
#define BEEPER_PIN P0_27 // EXP2-7 - open drain
|
||||
|
||||
#define BTN_EN1 P3_26 // EXP2-5
|
||||
#define BTN_EN2 P3_25 // EXP2-3
|
||||
#define BTN_ENC P1_30 // EXP1-2
|
||||
#define BTN_EN1 P3_26 // EXP2-5
|
||||
#define BTN_EN2 P3_25 // EXP2-3
|
||||
#define BTN_ENC P1_30 // EXP1-2
|
||||
|
||||
#define LCD_PINS_RS P0_16 // EXP1-4
|
||||
#define LCD_SDSS P0_28 // EXP2-4
|
||||
#define LCD_PINS_ENABLE P0_18 // EXP1-3
|
||||
#define LCD_PINS_D4 P0_15 // EXP1-5
|
||||
#define LCD_PINS_RS P0_16 // EXP1-4
|
||||
#define LCD_SDSS P0_28 // EXP2-4
|
||||
#define LCD_PINS_ENABLE P0_18 // EXP1-3
|
||||
#define LCD_PINS_D4 P0_15 // EXP1-5
|
||||
|
||||
#define KILL_PIN P2_11 // EXP2-10
|
||||
#define KILL_PIN P2_11 // EXP2-10
|
||||
|
||||
#if ENABLED(SDSUPPORT)
|
||||
#error "SDSUPPORT is not currently supported by the Cohesion3D boards"
|
||||
@ -166,13 +166,13 @@
|
||||
//
|
||||
// Ethernet pins
|
||||
//
|
||||
#define ENET_MDIO P1_17
|
||||
#define ENET_RX_ER P1_14
|
||||
#define ENET_RXD1 P1_10
|
||||
#define ENET_MOC P1_16
|
||||
#define REF_CLK P1_15
|
||||
#define ENET_RXD0 P1_09
|
||||
#define ENET_CRS P1_08
|
||||
#define ENET_TX_EN P1_04
|
||||
#define ENET_TXD0 P1_00
|
||||
#define ENET_TXD1 P1_01
|
||||
#define ENET_MDIO P1_17
|
||||
#define ENET_RX_ER P1_14
|
||||
#define ENET_RXD1 P1_10
|
||||
#define ENET_MOC P1_16
|
||||
#define REF_CLK P1_15
|
||||
#define ENET_RXD0 P1_09
|
||||
#define ENET_CRS P1_08
|
||||
#define ENET_TX_EN P1_04
|
||||
#define ENET_TXD0 P1_00
|
||||
#define ENET_TXD1 P1_01
|
||||
|
@ -40,70 +40,70 @@
|
||||
//
|
||||
// Servos
|
||||
//
|
||||
#define SERVO0_PIN P2_04
|
||||
#define SERVO0_PIN P2_04
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_MIN_PIN P1_24 // 10k pullup to 3.3V
|
||||
#define X_MAX_PIN P1_25 // 10k pullup to 3.3V
|
||||
#define Y_MIN_PIN P1_26 // 10k pullup to 3.3V
|
||||
#define Y_MAX_PIN P1_27 // 10k pullup to 3.3V
|
||||
#define Z_MIN_PIN P1_28 // 10k pullup to 3.3V
|
||||
#define Z_MAX_PIN P1_29 // 10k pullup to 3.3V
|
||||
#define X_MIN_PIN P1_24 // 10k pullup to 3.3V
|
||||
#define X_MAX_PIN P1_25 // 10k pullup to 3.3V
|
||||
#define Y_MIN_PIN P1_26 // 10k pullup to 3.3V
|
||||
#define Y_MAX_PIN P1_27 // 10k pullup to 3.3V
|
||||
#define Z_MIN_PIN P1_28 // 10k pullup to 3.3V
|
||||
#define Z_MAX_PIN P1_29 // 10k pullup to 3.3V
|
||||
|
||||
//
|
||||
// Z Probe (when not Z_MIN_PIN)
|
||||
//
|
||||
#ifndef Z_MIN_PROBE_PIN
|
||||
#define Z_MIN_PROBE_PIN P1_29
|
||||
#define Z_MIN_PROBE_PIN P1_29
|
||||
#endif
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN P2_00
|
||||
#define X_DIR_PIN P0_05
|
||||
#define X_ENABLE_PIN P0_04
|
||||
#define X_CS_PIN P1_10 // Ethernet Expansion - Pin 9
|
||||
#define X_STEP_PIN P2_00
|
||||
#define X_DIR_PIN P0_05
|
||||
#define X_ENABLE_PIN P0_04
|
||||
#define X_CS_PIN P1_10 // Ethernet Expansion - Pin 9
|
||||
|
||||
#define Y_STEP_PIN P2_01
|
||||
#define Y_DIR_PIN P0_11
|
||||
#define Y_ENABLE_PIN P0_10
|
||||
#define Y_CS_PIN P1_09 // Ethernet Expansion - Pin 10
|
||||
#define Y_STEP_PIN P2_01
|
||||
#define Y_DIR_PIN P0_11
|
||||
#define Y_ENABLE_PIN P0_10
|
||||
#define Y_CS_PIN P1_09 // Ethernet Expansion - Pin 10
|
||||
|
||||
#define Z_STEP_PIN P2_02
|
||||
#define Z_DIR_PIN P0_20
|
||||
#define Z_ENABLE_PIN P0_19
|
||||
#define Z_CS_PIN P1_00 // Ethernet Expansion - Pin 11
|
||||
#define Z_STEP_PIN P2_02
|
||||
#define Z_DIR_PIN P0_20
|
||||
#define Z_ENABLE_PIN P0_19
|
||||
#define Z_CS_PIN P1_00 // Ethernet Expansion - Pin 11
|
||||
|
||||
#define E0_STEP_PIN P2_03
|
||||
#define E0_DIR_PIN P0_22
|
||||
#define E0_ENABLE_PIN P0_21
|
||||
#define E0_CS_PIN P1_04 // Ethernet Expansion - Pin 12
|
||||
#define E0_STEP_PIN P2_03
|
||||
#define E0_DIR_PIN P0_22
|
||||
#define E0_ENABLE_PIN P0_21
|
||||
#define E0_CS_PIN P1_04 // Ethernet Expansion - Pin 12
|
||||
|
||||
#define E1_STEP_PIN P2_08
|
||||
#define E1_DIR_PIN P2_13
|
||||
#define E1_ENABLE_PIN P4_29
|
||||
#define E1_CS_PIN P1_01 // Ethernet Expansion - Pin 14
|
||||
#define E1_STEP_PIN P2_08
|
||||
#define E1_DIR_PIN P2_13
|
||||
#define E1_ENABLE_PIN P4_29
|
||||
#define E1_CS_PIN P1_01 // Ethernet Expansion - Pin 14
|
||||
|
||||
#define E2_STEP_PIN P1_20
|
||||
#define E2_DIR_PIN P1_19
|
||||
#define E2_ENABLE_PIN P1_21
|
||||
#define E2_CS_PIN P1_18 // FET 6
|
||||
#define E2_STEP_PIN P1_20
|
||||
#define E2_DIR_PIN P1_19
|
||||
#define E2_ENABLE_PIN P1_21
|
||||
#define E2_CS_PIN P1_18 // FET 6
|
||||
|
||||
//
|
||||
// Default pins for TMC software SPI
|
||||
//
|
||||
#if ENABLED(TMC_USE_SW_SPI)
|
||||
#ifndef TMC_SW_MOSI
|
||||
#define TMC_SW_MOSI P1_16 // Ethernet Expansion - Pin 5
|
||||
#define TMC_SW_MOSI P1_16 // Ethernet Expansion - Pin 5
|
||||
#endif
|
||||
#ifndef TMC_SW_MISO
|
||||
#define TMC_SW_MISO P1_17 // Ethernet Expansion - Pin 6
|
||||
#define TMC_SW_MISO P1_17 // Ethernet Expansion - Pin 6
|
||||
#endif
|
||||
#ifndef TMC_SW_SCK
|
||||
#define TMC_SW_SCK P1_08 // Ethernet Expansion - Pin 7
|
||||
#define TMC_SW_SCK P1_08 // Ethernet Expansion - Pin 7
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@ -111,42 +111,42 @@
|
||||
// Analog Inputs
|
||||
// 3.3V max when defined as an analog input
|
||||
//
|
||||
#define TEMP_0_PIN P0_23_A0
|
||||
#define TEMP_BED_PIN P0_24_A1
|
||||
#define TEMP_1_PIN P0_25_A2
|
||||
#define TEMP_0_PIN P0_23_A0
|
||||
#define TEMP_BED_PIN P0_24_A1
|
||||
#define TEMP_1_PIN P0_25_A2
|
||||
#if ENABLED(FILAMENT_WIDTH_SENSOR)
|
||||
#define FILWIDTH_PIN P0_26_A3
|
||||
#define FILWIDTH_PIN P0_26_A3
|
||||
#else
|
||||
#define TEMP_2_PIN P0_26_A3
|
||||
#define TEMP_2_PIN P0_26_A3
|
||||
#endif
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_BED_PIN P2_05
|
||||
#define HEATER_0_PIN P2_07 // FET 1
|
||||
#define HEATER_1_PIN P1_23 // FET 2
|
||||
#define HEATER_2_PIN P1_22 // FET 3
|
||||
#define HEATER_BED_PIN P2_05
|
||||
#define HEATER_0_PIN P2_07 // FET 1
|
||||
#define HEATER_1_PIN P1_23 // FET 2
|
||||
#define HEATER_2_PIN P1_22 // FET 3
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN P2_06 // FET 4
|
||||
#define FAN_PIN P2_06 // FET 4
|
||||
#endif
|
||||
|
||||
//
|
||||
// Auto fans
|
||||
//
|
||||
#if HOTENDS == 3
|
||||
#define AUTO_FAN_PIN P1_18 // FET 6
|
||||
#define AUTO_FAN_PIN P1_18 // FET 6
|
||||
#else
|
||||
#define AUTO_FAN_PIN P1_22 // FET 3
|
||||
#define AUTO_FAN_PIN P1_22 // FET 3
|
||||
#endif
|
||||
#define ORIG_E0_AUTO_FAN_PIN AUTO_FAN_PIN
|
||||
#define ORIG_E1_AUTO_FAN_PIN AUTO_FAN_PIN
|
||||
#define ORIG_E2_AUTO_FAN_PIN AUTO_FAN_PIN
|
||||
#define ORIG_E0_AUTO_FAN_PIN AUTO_FAN_PIN
|
||||
#define ORIG_E1_AUTO_FAN_PIN AUTO_FAN_PIN
|
||||
#define ORIG_E2_AUTO_FAN_PIN AUTO_FAN_PIN
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define LED_PIN P4_28 // Play LED
|
||||
#define LED_PIN P4_28 // Play LED
|
||||
|
||||
//
|
||||
// M3/M4/M5 - Spindle/Laser Control
|
||||
@ -155,9 +155,9 @@
|
||||
#undef HEATER_0_PIN
|
||||
#undef HEATER_BED_PIN
|
||||
#undef FAN_PIN
|
||||
#define SPINDLE_LASER_ENA_PIN P2_07 // FET 1
|
||||
#define SPINDLE_LASER_PWM_PIN P2_05 // Bed FET
|
||||
#define SPINDLE_DIR_PIN P2_06 // FET 4
|
||||
#define SPINDLE_LASER_ENA_PIN P2_07 // FET 1
|
||||
#define SPINDLE_LASER_PWM_PIN P2_05 // Bed FET
|
||||
#define SPINDLE_DIR_PIN P2_06 // FET 4
|
||||
#endif
|
||||
|
||||
//
|
||||
@ -173,54 +173,54 @@
|
||||
|
||||
#if ENABLED(FYSETC_MINI_12864)
|
||||
|
||||
#define FORCE_SOFT_SPI // REQUIRED - results in LCD soft SPI mode 3
|
||||
#define FORCE_SOFT_SPI // REQUIRED - results in LCD soft SPI mode 3
|
||||
|
||||
#define BEEPER_PIN P1_31 // EXP1-1
|
||||
#define BTN_ENC P1_30 // EXP1-2
|
||||
#define DOGLCD_CS P0_18 // EXP1-3
|
||||
#define DOGLCD_A0 P0_16 // EXP1-4
|
||||
#define LCD_RESET_PIN P0_15 // EXP1-5
|
||||
#define BEEPER_PIN P1_31 // EXP1-1
|
||||
#define BTN_ENC P1_30 // EXP1-2
|
||||
#define DOGLCD_CS P0_18 // EXP1-3
|
||||
#define DOGLCD_A0 P0_16 // EXP1-4
|
||||
#define LCD_RESET_PIN P0_15 // EXP1-5
|
||||
|
||||
// A custom cable is REQUIRED for EXP2 cable because the SCK & MOSI on the card's EXP2 are dedicated
|
||||
// to the onboard SD card. All required EXP2 signals come from the Ethernet connector. Pin 1 of this
|
||||
// connector is the one nearest the motor power connector.
|
||||
#define DOGLCD_SCK P1_17 // EXP2-2 => Ethernet pin 5 (bottom, 3 from left)
|
||||
#define BTN_EN2 P1_09 // EXP2-3 => Ethernet pin 9 (bottom, 5 from left)
|
||||
#define BTN_EN1 P1_04 // EXP2-5 => Ethernet pin 11 (bottom, 6 from left)
|
||||
#define DOGLCD_MOSI P1_01 // EXP2-6 => Ethernet pin 13 (bottom, 7 from left)
|
||||
#define DOGLCD_SCK P1_17 // EXP2-2 => Ethernet pin 5 (bottom, 3 from left)
|
||||
#define BTN_EN2 P1_09 // EXP2-3 => Ethernet pin 9 (bottom, 5 from left)
|
||||
#define BTN_EN1 P1_04 // EXP2-5 => Ethernet pin 11 (bottom, 6 from left)
|
||||
#define DOGLCD_MOSI P1_01 // EXP2-6 => Ethernet pin 13 (bottom, 7 from left)
|
||||
|
||||
// A custom EXP1 cable is required colored LEDs. Pins 1-5, 9, 10 of the cable go to pins 1-5, 9, 10
|
||||
// on the board's EXP1 connector. Pins 6, 7, and 8 of the EXP1 cable go to the Ethernet connector.
|
||||
// Rev 1.2 displays do NOT require the RGB LEDs. 2.0 and 2.1 displays do require RGB.
|
||||
#if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0)
|
||||
#ifndef RGB_LED_R_PIN
|
||||
#define RGB_LED_R_PIN P1_16 // EXP1-6 => Ethernet pin 6 (top row, 3 from left)
|
||||
#define RGB_LED_R_PIN P1_16 // EXP1-6 => Ethernet pin 6 (top row, 3 from left)
|
||||
#endif
|
||||
#ifndef RGB_LED_G_PIN
|
||||
#define RGB_LED_G_PIN P1_10 // EXP1-7 => Ethernet pin 10 (top row, 5 from left)
|
||||
#define RGB_LED_G_PIN P1_10 // EXP1-7 => Ethernet pin 10 (top row, 5 from left)
|
||||
#endif
|
||||
#ifndef RGB_LED_B_PIN
|
||||
#define RGB_LED_B_PIN P1_00 // EXP1-8 => Ethernet pin 12 (top row, 6 from left)
|
||||
#define RGB_LED_B_PIN P1_00 // EXP1-8 => Ethernet pin 12 (top row, 6 from left)
|
||||
#endif
|
||||
#elif ENABLED(FYSETC_MINI_12864_2_1)
|
||||
#define NEOPIXEL_PIN P1_16 // EXP1-6 => Ethernet pin 6 (top row, 3 from left)
|
||||
#define NEOPIXEL_PIN P1_16 // EXP1-6 => Ethernet pin 6 (top row, 3 from left)
|
||||
#endif
|
||||
|
||||
#elif HAS_SPI_LCD
|
||||
|
||||
#define BEEPER_PIN P1_31 // EXP1-1
|
||||
//#define SD_DETECT_PIN P0_27 // EXP2-7
|
||||
#define BEEPER_PIN P1_31 // EXP1-1
|
||||
//#define SD_DETECT_PIN P0_27 // EXP2-7
|
||||
|
||||
#define BTN_EN1 P3_26 // EXP2-5
|
||||
#define BTN_EN2 P3_25 // EXP2-3
|
||||
#define BTN_ENC P1_30 // EXP1-2
|
||||
#define BTN_EN1 P3_26 // EXP2-5
|
||||
#define BTN_EN2 P3_25 // EXP2-3
|
||||
#define BTN_ENC P1_30 // EXP1-2
|
||||
|
||||
#define LCD_PINS_RS P0_16 // EXP1-4
|
||||
#define LCD_SDSS P0_28 // EXP2-4
|
||||
#define LCD_PINS_ENABLE P0_18 // EXP1-3
|
||||
#define LCD_PINS_D4 P0_15 // EXP1-5
|
||||
#define LCD_PINS_RS P0_16 // EXP1-4
|
||||
#define LCD_SDSS P0_28 // EXP2-4
|
||||
#define LCD_PINS_ENABLE P0_18 // EXP1-3
|
||||
#define LCD_PINS_D4 P0_15 // EXP1-5
|
||||
|
||||
#define KILL_PIN P2_11 // EXP2-10
|
||||
#define KILL_PIN P2_11 // EXP2-10
|
||||
|
||||
#endif // HAS_SPI_LCD
|
||||
|
||||
@ -228,22 +228,22 @@
|
||||
// SD Support
|
||||
//
|
||||
#ifndef SDCARD_CONNECTION
|
||||
#define SDCARD_CONNECTION ONBOARD
|
||||
#define SDCARD_CONNECTION ONBOARD
|
||||
#endif
|
||||
|
||||
#define ONBOARD_SD_CS_PIN P0_06 // Chip select for "System" SD card
|
||||
#define ONBOARD_SD_CS_PIN P0_06 // Chip select for "System" SD card
|
||||
|
||||
#if SD_CONNECTION_IS(LCD)
|
||||
#define SCK_PIN P0_07 // (52) system defined J3-9 & AUX-3
|
||||
#define MISO_PIN P0_08 // (50) system defined J3-10 & AUX-3
|
||||
#define MOSI_PIN P0_09 // (51) system defined J3-10 & AUX-3
|
||||
#define SS_PIN P1_23 // (53) system defined J3-5 & AUX-3 (Sometimes called SDSS) - CS used by Marlin
|
||||
#define SCK_PIN P0_07 // (52) system defined J3-9 & AUX-3
|
||||
#define MISO_PIN P0_08 // (50) system defined J3-10 & AUX-3
|
||||
#define MOSI_PIN P0_09 // (51) system defined J3-10 & AUX-3
|
||||
#define SS_PIN P1_23 // (53) system defined J3-5 & AUX-3 (Sometimes called SDSS) - CS used by Marlin
|
||||
#elif SD_CONNECTION_IS(ONBOARD)
|
||||
#undef SD_DETECT_PIN
|
||||
#define SCK_PIN P0_07
|
||||
#define MISO_PIN P0_08
|
||||
#define MOSI_PIN P0_09
|
||||
#define SS_PIN ONBOARD_SD_CS_PIN
|
||||
#define SCK_PIN P0_07
|
||||
#define MISO_PIN P0_08
|
||||
#define MOSI_PIN P0_09
|
||||
#define SS_PIN ONBOARD_SD_CS_PIN
|
||||
#elif SD_CONNECTION_IS(CUSTOM_CABLE)
|
||||
#error "No custom SD drive cable defined for this board."
|
||||
#endif
|
||||
@ -251,16 +251,16 @@
|
||||
//
|
||||
// Ethernet pins
|
||||
//
|
||||
//#define ENET_MDIO P1_17 // Ethernet pin 5 (bottom, 3 from left)
|
||||
//#define ENET_RX_ER P1_14
|
||||
//#define ENET_RXD1 P1_10 // Ethernet pin 10 (top row, 5 from left)
|
||||
//#define ENET_MOC P1_16 // Ethernet pin 6 (top row, 3 from left)
|
||||
//#define REF_CLK P1_15
|
||||
//#define ENET_RXD0 P1_09 // Ethernet pin 9 (bottom, 5 from left)
|
||||
//#define ENET_CRS P1_08 // Ethernet pin 8 (top row, 4 from left) - INPUT ONLY
|
||||
//#define ENET_TX_EN P1_04 // Ethernet pin 11 (bottom, 6 from left)
|
||||
//#define ENET_TXD0 P1_00 // Ethernet pin 12 (top row, 6 from left)
|
||||
//#define ENET_TXD1 P1_01 // Ethernet pin 13 (bottom, 7 from left)
|
||||
//#define ENET_MDIO P1_17 // Ethernet pin 5 (bottom, 3 from left)
|
||||
//#define ENET_RX_ER P1_14
|
||||
//#define ENET_RXD1 P1_10 // Ethernet pin 10 (top row, 5 from left)
|
||||
//#define ENET_MOC P1_16 // Ethernet pin 6 (top row, 3 from left)
|
||||
//#define REF_CLK P1_15
|
||||
//#define ENET_RXD0 P1_09 // Ethernet pin 9 (bottom, 5 from left)
|
||||
//#define ENET_CRS P1_08 // Ethernet pin 8 (top row, 4 from left) - INPUT ONLY
|
||||
//#define ENET_TX_EN P1_04 // Ethernet pin 11 (bottom, 6 from left)
|
||||
//#define ENET_TXD0 P1_00 // Ethernet pin 12 (top row, 6 from left)
|
||||
//#define ENET_TXD1 P1_01 // Ethernet pin 13 (bottom, 7 from left)
|
||||
|
||||
/**
|
||||
* EXP1 pins
|
||||
|
@ -47,8 +47,8 @@
|
||||
|
||||
//#undef BTN_EN1
|
||||
//#undef BTN_EN2
|
||||
//#define BTN_EN1 P1_23 // EXP2.5
|
||||
//#define BTN_EN2 P1_22 // EXP2.3
|
||||
//#define BTN_EN1 P1_23 // EXP2.5
|
||||
//#define BTN_EN2 P1_22 // EXP2.3
|
||||
|
||||
#if HAS_TMC_UART
|
||||
/**
|
||||
@ -58,16 +58,16 @@
|
||||
* In the worst case you may have to give up the LCD.
|
||||
* RX pins must be interrupt-capable.
|
||||
*/
|
||||
#define X_SERIAL_TX_PIN P4_29 // J8-2
|
||||
#define X_SERIAL_RX_PIN P4_29 // J8-2
|
||||
#define X_SERIAL_TX_PIN P4_29 // J8-2
|
||||
#define X_SERIAL_RX_PIN P4_29 // J8-2
|
||||
|
||||
#define Y_SERIAL_TX_PIN P2_08 // J8-3
|
||||
#define Y_SERIAL_RX_PIN P2_08 // J8-3
|
||||
#define Y_SERIAL_TX_PIN P2_08 // J8-3
|
||||
#define Y_SERIAL_RX_PIN P2_08 // J8-3
|
||||
|
||||
#define Z_SERIAL_TX_PIN P2_11 // J8-4
|
||||
#define Z_SERIAL_RX_PIN P2_11 // J8-4
|
||||
#define E0_SERIAL_TX_PIN P2_13 // J8-5
|
||||
#define E0_SERIAL_RX_PIN P2_13 // J8-5
|
||||
#define Z_SERIAL_TX_PIN P2_11 // J8-4
|
||||
#define Z_SERIAL_RX_PIN P2_11 // J8-4
|
||||
#define E0_SERIAL_TX_PIN P2_13 // J8-5
|
||||
#define E0_SERIAL_RX_PIN P2_13 // J8-5
|
||||
|
||||
// Reduce baud rate to improve software serial reliability
|
||||
#define TMC_BAUD_RATE 19200
|
||||
|
@ -41,79 +41,79 @@
|
||||
//
|
||||
// Servos
|
||||
//
|
||||
#define SERVO0_PIN P1_23
|
||||
#define SERVO0_PIN P1_23
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_MIN_PIN P1_24
|
||||
#define X_MAX_PIN P1_25
|
||||
#define Y_MIN_PIN P1_26
|
||||
#define Y_MAX_PIN P1_27
|
||||
#define Z_MIN_PIN P1_28
|
||||
#define Z_MAX_PIN P1_29
|
||||
#define X_MIN_PIN P1_24
|
||||
#define X_MAX_PIN P1_25
|
||||
#define Y_MIN_PIN P1_26
|
||||
#define Y_MAX_PIN P1_27
|
||||
#define Z_MIN_PIN P1_28
|
||||
#define Z_MAX_PIN P1_29
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN P2_00
|
||||
#define X_DIR_PIN P0_05
|
||||
#define X_ENABLE_PIN P0_04
|
||||
#define X_STEP_PIN P2_00
|
||||
#define X_DIR_PIN P0_05
|
||||
#define X_ENABLE_PIN P0_04
|
||||
|
||||
#define Y_STEP_PIN P2_01
|
||||
#define Y_DIR_PIN P0_11
|
||||
#define Y_ENABLE_PIN P0_10
|
||||
#define Y_STEP_PIN P2_01
|
||||
#define Y_DIR_PIN P0_11
|
||||
#define Y_ENABLE_PIN P0_10
|
||||
|
||||
#define Z_STEP_PIN P2_02
|
||||
#define Z_DIR_PIN P0_20
|
||||
#define Z_ENABLE_PIN P0_19
|
||||
#define Z_STEP_PIN P2_02
|
||||
#define Z_DIR_PIN P0_20
|
||||
#define Z_ENABLE_PIN P0_19
|
||||
|
||||
#define E0_STEP_PIN P2_03
|
||||
#define E0_DIR_PIN P0_22
|
||||
#define E0_ENABLE_PIN P0_21
|
||||
#define E0_STEP_PIN P2_03
|
||||
#define E0_DIR_PIN P0_22
|
||||
#define E0_ENABLE_PIN P0_21
|
||||
|
||||
#define E1_STEP_PIN P2_08
|
||||
#define E1_DIR_PIN P2_13
|
||||
#define E1_ENABLE_PIN P4_29
|
||||
#define E1_STEP_PIN P2_08
|
||||
#define E1_DIR_PIN P2_13
|
||||
#define E1_ENABLE_PIN P4_29
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
// 3.3V max when defined as an analog input
|
||||
//
|
||||
#define TEMP_0_PIN P0_23_A0 // (T1)
|
||||
#define TEMP_BED_PIN P0_24_A1 // (T2)
|
||||
#define TEMP_1_PIN P0_25_A2 // (T3)
|
||||
#define TEMP_2_PIN P0_26_A3 // (T4)
|
||||
#define TEMP_0_PIN P0_23_A0 // (T1)
|
||||
#define TEMP_BED_PIN P0_24_A1 // (T2)
|
||||
#define TEMP_1_PIN P0_25_A2 // (T3)
|
||||
#define TEMP_2_PIN P0_26_A3 // (T4)
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_BED_PIN P2_05
|
||||
#define HEATER_0_PIN P2_07
|
||||
#define HEATER_1_PIN P1_23
|
||||
#define HEATER_BED_PIN P2_05
|
||||
#define HEATER_0_PIN P2_07
|
||||
#define HEATER_1_PIN P1_23
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN P2_06
|
||||
#define FAN_PIN P2_06
|
||||
#endif
|
||||
#define FAN1_PIN P2_04
|
||||
#define FAN1_PIN P2_04
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
//
|
||||
#if ANY(VIKI2, miniVIKI)
|
||||
|
||||
#define BEEPER_PIN P1_31
|
||||
#define DOGLCD_A0 P2_11
|
||||
#define DOGLCD_CS P0_16
|
||||
#define BEEPER_PIN P1_31
|
||||
#define DOGLCD_A0 P2_11
|
||||
#define DOGLCD_CS P0_16
|
||||
|
||||
#define BTN_EN1 P3_25
|
||||
#define BTN_EN2 P3_26
|
||||
#define BTN_ENC P1_30
|
||||
#define BTN_EN1 P3_25
|
||||
#define BTN_EN2 P3_26
|
||||
#define BTN_ENC P1_30
|
||||
|
||||
#define SD_DETECT_PIN P1_18
|
||||
#define SDSS P1_21
|
||||
#define SD_DETECT_PIN P1_18
|
||||
#define SDSS P1_21
|
||||
|
||||
#define STAT_LED_RED_PIN P1_19
|
||||
#define STAT_LED_BLUE_PIN P1_20
|
||||
#define STAT_LED_RED_PIN P1_19
|
||||
#define STAT_LED_BLUE_PIN P1_20
|
||||
|
||||
#elif HAS_SPI_LCD
|
||||
|
||||
|
@ -41,58 +41,58 @@
|
||||
//
|
||||
// Servos
|
||||
//
|
||||
#define SERVO0_PIN P2_04
|
||||
#define SERVO0_PIN P2_04
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_STOP_PIN P1_24
|
||||
#define Y_STOP_PIN P1_25
|
||||
#define Z_STOP_PIN P1_26
|
||||
#define X_STOP_PIN P1_24
|
||||
#define Y_STOP_PIN P1_25
|
||||
#define Z_STOP_PIN P1_26
|
||||
|
||||
//
|
||||
// Filament Runout Sensor
|
||||
//
|
||||
#ifndef FIL_RUNOUT_PIN
|
||||
#define FIL_RUNOUT_PIN P1_27
|
||||
#define FIL_RUNOUT_PIN P1_27
|
||||
#endif
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN P2_00
|
||||
#define X_DIR_PIN P1_16
|
||||
#define X_ENABLE_PIN P1_17
|
||||
#define X_STEP_PIN P2_00
|
||||
#define X_DIR_PIN P1_16
|
||||
#define X_ENABLE_PIN P1_17
|
||||
|
||||
#define Y_STEP_PIN P2_01
|
||||
#define Y_DIR_PIN P1_10
|
||||
#define Y_ENABLE_PIN P1_09
|
||||
#define Y_STEP_PIN P2_01
|
||||
#define Y_DIR_PIN P1_10
|
||||
#define Y_ENABLE_PIN P1_09
|
||||
|
||||
#define Z_STEP_PIN P2_02
|
||||
#define Z_DIR_PIN P1_15
|
||||
#define Z_ENABLE_PIN P1_14
|
||||
#define Z_STEP_PIN P2_02
|
||||
#define Z_DIR_PIN P1_15
|
||||
#define Z_ENABLE_PIN P1_14
|
||||
|
||||
#define E0_STEP_PIN P2_03
|
||||
#define E0_DIR_PIN P1_04
|
||||
#define E0_ENABLE_PIN P1_08
|
||||
#define E0_STEP_PIN P2_03
|
||||
#define E0_DIR_PIN P1_04
|
||||
#define E0_ENABLE_PIN P1_08
|
||||
|
||||
#define E1_STEP_PIN P2_08
|
||||
#define E1_DIR_PIN P2_13
|
||||
#define E1_ENABLE_PIN P4_29
|
||||
#define E1_STEP_PIN P2_08
|
||||
#define E1_DIR_PIN P2_13
|
||||
#define E1_ENABLE_PIN P4_29
|
||||
|
||||
#if HAS_TMC_UART
|
||||
//
|
||||
// TMC220x stepper drivers
|
||||
// Software serial
|
||||
//
|
||||
#define X_SERIAL_TX_PIN P0_04
|
||||
#define X_SERIAL_RX_PIN P0_05
|
||||
#define Y_SERIAL_TX_PIN P0_10
|
||||
#define Y_SERIAL_RX_PIN P0_11
|
||||
#define Z_SERIAL_TX_PIN P0_19
|
||||
#define Z_SERIAL_RX_PIN P0_20
|
||||
#define E0_SERIAL_TX_PIN P0_22
|
||||
#define E0_SERIAL_RX_PIN P0_21
|
||||
#define X_SERIAL_TX_PIN P0_04
|
||||
#define X_SERIAL_RX_PIN P0_05
|
||||
#define Y_SERIAL_TX_PIN P0_10
|
||||
#define Y_SERIAL_RX_PIN P0_11
|
||||
#define Z_SERIAL_TX_PIN P0_19
|
||||
#define Z_SERIAL_RX_PIN P0_20
|
||||
#define E0_SERIAL_TX_PIN P0_22
|
||||
#define E0_SERIAL_RX_PIN P0_21
|
||||
|
||||
// Reduce baud rate to improve software serial reliability
|
||||
#define TMC_BAUD_RATE 19200
|
||||
@ -102,50 +102,50 @@
|
||||
// Temp Sensors
|
||||
// 3.3V max when defined as an Analog Input!
|
||||
//
|
||||
#if TEMP_SENSOR_0 == 20 // PT100 Adapter
|
||||
#define TEMP_0_PIN P0_02_A7 // Analog Input
|
||||
#if TEMP_SENSOR_0 == 20 // PT100 Adapter
|
||||
#define TEMP_0_PIN P0_02_A7 // Analog Input
|
||||
#else
|
||||
#define TEMP_0_PIN P0_23_A0 // Analog Input P0_23
|
||||
#define TEMP_0_PIN P0_23_A0 // Analog Input P0_23
|
||||
#endif
|
||||
|
||||
#define TEMP_BED_PIN P0_24_A1 // Analog Input P0_24
|
||||
#define TEMP_1_PIN P0_25_A2 // Analog Input P0_25
|
||||
#define TEMP_BED_PIN P0_24_A1 // Analog Input P0_24
|
||||
#define TEMP_1_PIN P0_25_A2 // Analog Input P0_25
|
||||
|
||||
#if ENABLED(FILAMENT_WIDTH_SENSOR)
|
||||
#define FILWIDTH_PIN P0_26_A3 // Analog Input P0_26
|
||||
#define FILWIDTH_PIN P0_26_A3 // Analog Input P0_26
|
||||
#else
|
||||
#define TEMP_2_PIN P0_26_A3 // Analog Input P0_26
|
||||
#define TEMP_2_PIN P0_26_A3 // Analog Input P0_26
|
||||
#endif
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_BED_PIN P2_05
|
||||
#define HEATER_0_PIN P2_07
|
||||
#define HEATER_BED_PIN P2_05
|
||||
#define HEATER_0_PIN P2_07
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN P2_06
|
||||
#define FAN_PIN P2_06
|
||||
#endif
|
||||
#define FAN1_PIN P1_22
|
||||
#define FAN1_PIN P1_22
|
||||
|
||||
//
|
||||
// Auto fans
|
||||
//
|
||||
#define AUTO_FAN_PIN P1_22 // FET 3
|
||||
#define ORIG_E0_AUTO_FAN_PIN AUTO_FAN_PIN
|
||||
#define ORIG_E1_AUTO_FAN_PIN AUTO_FAN_PIN
|
||||
#define ORIG_E2_AUTO_FAN_PIN AUTO_FAN_PIN
|
||||
#define AUTO_FAN_PIN P1_22 // FET 3
|
||||
#define ORIG_E0_AUTO_FAN_PIN AUTO_FAN_PIN
|
||||
#define ORIG_E1_AUTO_FAN_PIN AUTO_FAN_PIN
|
||||
#define ORIG_E2_AUTO_FAN_PIN AUTO_FAN_PIN
|
||||
|
||||
//
|
||||
// SD Card
|
||||
//
|
||||
|
||||
#define SDCARD_CONNECTION ONBOARD
|
||||
#define SDCARD_CONNECTION ONBOARD
|
||||
|
||||
#define SCK_PIN P0_07
|
||||
#define MISO_PIN P0_08
|
||||
#define MOSI_PIN P0_09
|
||||
#define ONBOARD_SD_CS_PIN P0_06
|
||||
#define SS_PIN ONBOARD_SD_CS_PIN
|
||||
#define SCK_PIN P0_07
|
||||
#define MISO_PIN P0_08
|
||||
#define MOSI_PIN P0_09
|
||||
#define ONBOARD_SD_CS_PIN P0_06
|
||||
#define SS_PIN ONBOARD_SD_CS_PIN
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
@ -170,14 +170,14 @@
|
||||
*/
|
||||
|
||||
#if ENABLED(CR10_STOCKDISPLAY)
|
||||
#define BEEPER_PIN P1_31
|
||||
#define BTN_EN1 P3_26
|
||||
#define BTN_EN2 P3_25
|
||||
#define BTN_ENC P1_30
|
||||
#define LCD_PINS_RS P0_16
|
||||
#define LCD_PINS_ENABLE P0_18
|
||||
#define LCD_PINS_D4 P0_15
|
||||
#define KILL_PIN P2_11
|
||||
#define BEEPER_PIN P1_31
|
||||
#define BTN_EN1 P3_26
|
||||
#define BTN_EN2 P3_25
|
||||
#define BTN_ENC P1_30
|
||||
#define LCD_PINS_RS P0_16
|
||||
#define LCD_PINS_ENABLE P0_18
|
||||
#define LCD_PINS_D4 P0_15
|
||||
#define KILL_PIN P2_11
|
||||
#elif HAS_SPI_LCD
|
||||
#error "Only the CR10_STOCKDISPLAY is supported with TH3D EZBoard."
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user