Browse Source

Update Cohesion3D Pins Files (#13027)

pull/1/head
Thomas Moore 6 years ago
committed by Scott Lahteine
parent
commit
02ab66fca3
  1. 8
      Marlin/src/pins/pins_COHESION3D_MINI.h
  2. 8
      Marlin/src/pins/pins_COHESION3D_REMIX.h
  3. 2
      platformio.ini

8
Marlin/src/pins/pins_COHESION3D_MINI.h

@ -25,8 +25,8 @@
* Cohesion3D Mini pin assignments * Cohesion3D Mini pin assignments
*/ */
#ifndef TARGET_LPC1768 #if !defined(TARGET_LPC1768) && !defined(LPC1769)
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE." #error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
#endif #endif
#define BOARD_NAME "Cohesion3D Mini" #define BOARD_NAME "Cohesion3D Mini"
@ -97,7 +97,7 @@
#define HEATER_BED_PIN P2_05 #define HEATER_BED_PIN P2_05
#define HEATER_0_PIN P2_07 // FET 1 #define HEATER_0_PIN P2_07 // FET 1
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN P2_06 // ReMix FET 4, Mini FET 3 #define FAN_PIN P2_06 // FET 3
#endif #endif
// //
@ -123,7 +123,7 @@
#undef HEATER_BED_PIN #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 #undef FAN_PIN
#define SPINDLE_DIR_PIN P2_06 // ReMix FET 4, Mini FET 3 #define SPINDLE_DIR_PIN P2_06 // FET 3
#endif #endif
// //

8
Marlin/src/pins/pins_COHESION3D_REMIX.h

@ -25,8 +25,8 @@
* Cohesion3D ReMix pin assignments * Cohesion3D ReMix pin assignments
*/ */
#ifndef TARGET_LPC1768 #if !defined(TARGET_LPC1768) && !defined(LPC1769)
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE." #error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
#endif #endif
#define BOARD_NAME "Cohesion3D ReMix" #define BOARD_NAME "Cohesion3D ReMix"
@ -115,7 +115,7 @@
#define HEATER_1_PIN P1_23 // FET 2 #define HEATER_1_PIN P1_23 // FET 2
#define HEATER_2_PIN P1_22 // FET 3 #define HEATER_2_PIN P1_22 // FET 3
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN P2_06 // ReMix FET 4, Mini FET 3 #define FAN_PIN P2_06 // FET 4
#endif #endif
// //
@ -144,7 +144,7 @@
#undef HEATER_BED_PIN #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 #undef FAN_PIN
#define SPINDLE_DIR_PIN P2_06 // ReMix FET 4, Mini FET 3 #define SPINDLE_DIR_PIN P2_06 // FET 4
#endif #endif
// //

2
platformio.ini

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

Loading…
Cancel
Save