Browse Source

RADDS Extension Board V3 support

pull/1/head
Scott Lahteine 6 years ago
parent
commit
d948c6e867
  1. 66
      Marlin/src/pins/pins_RADDS.h

66
Marlin/src/pins/pins_RADDS.h

@ -100,38 +100,65 @@
#define E2_CS_PIN 35 #define E2_CS_PIN 35
#endif #endif
// /**
// Extension Board V2 * RADDS Extension Board V2 / V3
// http://doku.radds.org/dokumentation/extension-board * http://doku.radds.org/dokumentation/extension-board
// */
//#define RADDS_EXTENSION //#define RADDS_EXTENSION 2
#if ENABLED(RADDS_EXTENSION) #if RADDS_EXTENSION >= 2
#define E3_STEP_PIN 35
#define E3_DIR_PIN 33 #define E3_DIR_PIN 33
#define E3_STEP_PIN 35
#define E3_ENABLE_PIN 37 #define E3_ENABLE_PIN 37
#ifndef E3_CS_PIN #ifndef E3_CS_PIN
#define E3_CS_PIN 6 #define E3_CS_PIN 6
#endif #endif
#if RADDS_EXTENSION == 3
#define E4_DIR_PIN 27
#define E4_STEP_PIN 29
#define E4_ENABLE_PIN 31
#ifndef E4_CS_PIN
#define E4_CS_PIN 39
#endif
#define E5_DIR_PIN 66
#define E5_STEP_PIN 67
#define E5_ENABLE_PIN 68
#ifndef E5_CS_PIN
#define E5_CS_PIN 6
#endif
#define RADDS_EXT_MSI_PIN 69
#define MAX_EXTRUDERS 6
#define BOARD_INIT() OUT_WRITE(RADDS_EXT_VDD_PIN, HIGH)
#else
#define E4_DIR_PIN 27
#define E4_STEP_PIN 29
#define E4_ENABLE_PIN 31
#ifndef E4_CS_PIN
#define E4_CS_PIN 39
#endif
// E3 and E4 share the same MSx pins
#define E3_MS1_PIN 67 #define E3_MS1_PIN 67
#define E4_MS1_PIN 67
#define E3_MS2_PIN 68 #define E3_MS2_PIN 68
#define E4_MS2_PIN 68
#define E3_MS3_PIN 69 #define E3_MS3_PIN 69
#define E4_MS3_PIN 69
#define Z2_STEP_PIN 29 #define RADDS_EXT_VDD2_PIN 66
#define Z2_DIR_PIN 27
#define Z2_ENABLE_PIN 31
#ifndef Z2_CS_PIN
#define Z2_CS_PIN 39
#endif
#define Z2_MS1_PIN 67 // shared with E3_MS1_PIN #define BOARD_INIT() do{ OUT_WRITE(RADDS_EXT_VDD_PIN, HIGH); OUT_WRITE(RADDS_EXT_VDD2_PIN, HIGH); }while(0)
#define Z2_MS2_PIN 68 // shared with E3_MS2_PIN
#define Z2_MS3_PIN 69 // shared with E3_MS3_PIN
#define RADDS_EXT_VDD1_PIN 25 #endif
#define RADDS_EXT_VDD2_PIN 66
#define RADDS_EXT_VDD_PIN 25
#define BOARD_INIT() OUT_WRITE(RADDS_EXT_VDD1_PIN, HIGH); OUT_WRITE(RADDS_EXT_VDD2_PIN, HIGH)
#endif #endif
// //
@ -168,6 +195,7 @@
// Misc. Functions // Misc. Functions
// //
#define SDSS 4 #define SDSS 4
#define SD_DETECT_PIN 14
#define PS_ON_PIN 40 // SERVO3_PIN #define PS_ON_PIN 40 // SERVO3_PIN
#ifndef FIL_RUNOUT_PIN #ifndef FIL_RUNOUT_PIN

Loading…
Cancel
Save