Browse Source

Update Cohesion3D Pins Files (#13027)

Thomas Moore 5 years ago
parent
commit
02ab66fca3

+ 4
- 4
Marlin/src/pins/pins_COHESION3D_MINI.h View File

@@ -25,8 +25,8 @@
25 25
  * Cohesion3D Mini pin assignments
26 26
  */
27 27
 
28
-#ifndef TARGET_LPC1768
29
-  #error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
28
+#if !defined(TARGET_LPC1768) && !defined(LPC1769)
29
+  #error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
30 30
 #endif
31 31
 
32 32
 #define BOARD_NAME "Cohesion3D Mini"
@@ -97,7 +97,7 @@
97 97
 #define HEATER_BED_PIN     P2_05
98 98
 #define HEATER_0_PIN       P2_07   // FET 1
99 99
 #ifndef FAN_PIN
100
-  #define FAN_PIN          P2_06   // ReMix FET 4, Mini FET 3
100
+  #define FAN_PIN          P2_06   // FET 3
101 101
 #endif
102 102
 
103 103
 //
@@ -123,7 +123,7 @@
123 123
   #undef HEATER_BED_PIN
124 124
   #define SPINDLE_LASER_PWM_PIN     P2_05   // Bed FET
125 125
   #undef FAN_PIN
126
-  #define SPINDLE_DIR_PIN           P2_06   // ReMix FET 4, Mini FET 3
126
+  #define SPINDLE_DIR_PIN           P2_06   // FET 3
127 127
 #endif
128 128
 
129 129
 //

+ 4
- 4
Marlin/src/pins/pins_COHESION3D_REMIX.h View File

@@ -25,8 +25,8 @@
25 25
  * Cohesion3D ReMix pin assignments
26 26
  */
27 27
 
28
-#ifndef TARGET_LPC1768
29
-  #error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
28
+#if !defined(TARGET_LPC1768) && !defined(LPC1769)
29
+  #error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
30 30
 #endif
31 31
 
32 32
 #define BOARD_NAME "Cohesion3D ReMix"
@@ -115,7 +115,7 @@
115 115
 #define HEATER_1_PIN       P1_23   // FET 2
116 116
 #define HEATER_2_PIN       P1_22   // FET 3
117 117
 #ifndef FAN_PIN
118
-  #define FAN_PIN          P2_06   // ReMix FET 4, Mini FET 3
118
+  #define FAN_PIN          P2_06   // FET 4
119 119
 #endif
120 120
 
121 121
 //
@@ -144,7 +144,7 @@
144 144
   #undef HEATER_BED_PIN
145 145
   #define SPINDLE_LASER_PWM_PIN     P2_05   // Bed FET
146 146
   #undef FAN_PIN
147
-  #define SPINDLE_DIR_PIN           P2_06   // ReMix FET 4, Mini FET 3
147
+  #define SPINDLE_DIR_PIN           P2_06   // FET 4
148 148
 #endif
149 149
 
150 150
 //

+ 1
- 1
platformio.ini View File

@@ -171,7 +171,7 @@ lib_deps          = Servo
171 171
 platform          = https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/master.zip
172 172
 framework         = arduino
173 173
 board             = nxp_lpc1769
174
-build_flags       = -DTARGET_LPC1768 -DU8G_HAL_LINKS -IMarlin/src/HAL/HAL_LPC1768/include -IMarlin/src/HAL/HAL_LPC1768/u8g ${common.build_flags}
174
+build_flags       = -DTARGET_LPC1768 -DLPC1769 -DU8G_HAL_LINKS -IMarlin/src/HAL/HAL_LPC1768/include -IMarlin/src/HAL/HAL_LPC1768/u8g ${common.build_flags}
175 175
 # debug options for backtrace
176 176
 #  -funwind-tables
177 177
 #  -mpoke-function-name

Loading…
Cancel
Save