Преглед изворни кода

Update Cohesion3D Pins Files (#13027)

Thomas Moore пре 6 година
родитељ
комит
02ab66fca3
3 измењених фајлова са 9 додато и 9 уклоњено
  1. 4
    4
      Marlin/src/pins/pins_COHESION3D_MINI.h
  2. 4
    4
      Marlin/src/pins/pins_COHESION3D_REMIX.h
  3. 1
    1
      platformio.ini

+ 4
- 4
Marlin/src/pins/pins_COHESION3D_MINI.h Прегледај датотеку

25
  * Cohesion3D Mini pin assignments
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
 #endif
30
 #endif
31
 
31
 
32
 #define BOARD_NAME "Cohesion3D Mini"
32
 #define BOARD_NAME "Cohesion3D Mini"
97
 #define HEATER_BED_PIN     P2_05
97
 #define HEATER_BED_PIN     P2_05
98
 #define HEATER_0_PIN       P2_07   // FET 1
98
 #define HEATER_0_PIN       P2_07   // FET 1
99
 #ifndef FAN_PIN
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
 #endif
101
 #endif
102
 
102
 
103
 //
103
 //
123
   #undef HEATER_BED_PIN
123
   #undef HEATER_BED_PIN
124
   #define SPINDLE_LASER_PWM_PIN     P2_05   // Bed FET
124
   #define SPINDLE_LASER_PWM_PIN     P2_05   // Bed FET
125
   #undef FAN_PIN
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
 #endif
127
 #endif
128
 
128
 
129
 //
129
 //

+ 4
- 4
Marlin/src/pins/pins_COHESION3D_REMIX.h Прегледај датотеку

25
  * Cohesion3D ReMix pin assignments
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
 #endif
30
 #endif
31
 
31
 
32
 #define BOARD_NAME "Cohesion3D ReMix"
32
 #define BOARD_NAME "Cohesion3D ReMix"
115
 #define HEATER_1_PIN       P1_23   // FET 2
115
 #define HEATER_1_PIN       P1_23   // FET 2
116
 #define HEATER_2_PIN       P1_22   // FET 3
116
 #define HEATER_2_PIN       P1_22   // FET 3
117
 #ifndef FAN_PIN
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
 #endif
119
 #endif
120
 
120
 
121
 //
121
 //
144
   #undef HEATER_BED_PIN
144
   #undef HEATER_BED_PIN
145
   #define SPINDLE_LASER_PWM_PIN     P2_05   // Bed FET
145
   #define SPINDLE_LASER_PWM_PIN     P2_05   // Bed FET
146
   #undef FAN_PIN
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
 #endif
148
 #endif
149
 
149
 
150
 //
150
 //

+ 1
- 1
platformio.ini Прегледај датотеку

171
 platform          = https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/master.zip
171
 platform          = https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/master.zip
172
 framework         = arduino
172
 framework         = arduino
173
 board             = nxp_lpc1769
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
 # debug options for backtrace
175
 # debug options for backtrace
176
 #  -funwind-tables
176
 #  -funwind-tables
177
 #  -mpoke-function-name
177
 #  -mpoke-function-name

Loading…
Откажи
Сачувај