Browse Source

Cleanup pins in RAMPS_13_EFB boards

Scott Lahteine 9 years ago
parent
commit
672b0c1fd3
5 changed files with 14 additions and 43 deletions
  1. 2
    3
      Marlin/pins_AZTEEG_X3.h
  2. 2
    6
      Marlin/pins_BAM_DICE_DUE.h
  3. 6
    29
      Marlin/pins_FELIX2.h
  4. 2
    3
      Marlin/pins_MKS_BASE.h
  5. 2
    2
      Marlin/pins_RAMPS_13.h

+ 2
- 3
Marlin/pins_AZTEEG_X3.h View File

@@ -2,10 +2,9 @@
2 2
  * AZTEEG_X3 Arduino Mega with RAMPS v1.3 pin assignments
3 3
  */
4 4
 
5
-#include "pins_RAMPS_13.h"
5
+#define IS_RAMPS_EFB
6 6
 
7
-#define FAN_PIN            9 // (Sprinter config)
8
-#define HEATER_1_PIN       -1
7
+#include "pins_RAMPS_13.h"
9 8
 
10 9
 //LCD Pins//
11 10
 

+ 2
- 6
Marlin/pins_BAM_DICE_DUE.h View File

@@ -2,13 +2,9 @@
2 2
  * BAM&DICE Due (Arduino Mega) pin assignments
3 3
  */
4 4
 
5
-#include "pins_RAMPS_13.h"
6
-
7
-#undef FAN_PIN
8
-#define FAN_PIN             9 // (Sprinter config)
5
+#define IS_RAMPS_EFB
9 6
 
10
-#undef HEATER_1_PIN
11
-#define HEATER_1_PIN       -1
7
+#include "pins_RAMPS_13.h"
12 8
 
13 9
 #undef TEMP_0_PIN
14 10
 #undef TEMP_1_PIN

+ 6
- 29
Marlin/pins_FELIX2.h View File

@@ -2,43 +2,20 @@
2 2
  * FELIXprinters v2.0/3.0 (RAMPS v1.3) pin assignments
3 3
  */
4 4
 
5
+#define IS_RAMPS_EFB
6
+
5 7
 #include "pins_RAMPS_13.h"
6 8
 
7
-#undef X_MAX_PIN
8
-#undef Y_MAX_PIN
9
-#undef Z_MAX_PIN
10
-#define X_MAX_PIN          -1
11
-#define Y_MAX_PIN          -1
12
-#define Z_MAX_PIN          -1
13
-
14
-#undef Y2_STEP_PIN
15
-#undef Y2_DIR_PIN
16
-#undef Y2_ENABLE_PIN
17
-#define Y2_STEP_PIN        -1
18
-#define Y2_DIR_PIN         -1
19
-#define Y2_ENABLE_PIN      -1
20
-
21
-#undef Z2_STEP_PIN
22
-#undef Z2_DIR_PIN
23
-#undef Z2_ENABLE_PIN
24
-#define Z2_STEP_PIN        -1
25
-#define Z2_DIR_PIN         -1
26
-#define Z2_ENABLE_PIN      -1
27
-
28
-#define E1_STEP_PIN        36 // FELIX E1 uses RAMPS Y2/Z2 pins
29
-#define E1_DIR_PIN         34
30
-#define E1_ENABLE_PIN      30
9
+#undef HEATER_1_PIN
10
+#define HEATER_1_PIN        7 // EXTRUDER 2
11
+
12
+#define DISABLE_MAX_ENDSTOPS
31 13
 
32 14
 #undef SDPOWER
33 15
 #define SDPOWER             1
34 16
 
35
-#undef FAN_PIN
36
-#define FAN_PIN             9 // (Sprinter config)
37 17
 #define PS_ON_PIN          12
38 18
 
39
-#undef HEATER_1_PIN
40
-#define HEATER_1_PIN        7 // EXTRUDER 2
41
-
42 19
 #if defined(ULTRA_LCD) && defined(NEWPANEL)
43 20
 
44 21
   #define BLEN_C 2

+ 2
- 3
Marlin/pins_MKS_BASE.h View File

@@ -2,10 +2,9 @@
2 2
  * MKS BASE 1.0 – Arduino Mega2560 with RAMPS v1.4 pin assignments
3 3
  */
4 4
 
5
-#include "pins_RAMPS_13.h"
5
+#define IS_RAMPS_EFB
6 6
 
7
-#undef FAN_PIN
8
-#define FAN_PIN             9 // (Sprinter config)
7
+#include "pins_RAMPS_13.h"
9 8
 
10 9
 #undef HEATER_1_PIN
11 10
 #define HEATER_1_PIN        7

+ 2
- 2
Marlin/pins_RAMPS_13.h View File

@@ -77,7 +77,7 @@
77 77
   #define FILRUNOUT_PIN        4
78 78
 #endif
79 79
 
80
-#if MB(RAMPS_13_EFB) || MB(RAMPS_13_EFF)
80
+#if MB(RAMPS_13_EFB) || MB(RAMPS_13_EFF) || defined(IS_RAMPS_EFB)
81 81
   #define FAN_PIN            9 // (Sprinter config)
82 82
   #if MB(RAMPS_13_EFF)
83 83
     #define CONTROLLERFAN_PIN  -1 // Pin used for the fan to cool controller
@@ -102,7 +102,7 @@
102 102
   #define HEATER_0_PIN       10   // EXTRUDER 1
103 103
 #endif
104 104
 
105
-#if MB(RAMPS_13_EFB) || MB(RAMPS_13_SF)
105
+#if MB(RAMPS_13_EFB) || MB(RAMPS_13_SF) || defined(IS_RAMPS_EFB)
106 106
   #define HEATER_1_PIN       -1
107 107
 #else
108 108
   #define HEATER_1_PIN       9    // EXTRUDER 2 (FAN On Sprinter)

Loading…
Cancel
Save