Browse Source

Update Cohesion3D Pins Files (#13027)

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

8
Marlin/src/pins/pins_COHESION3D_REMIX.h

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

2
platformio.ini

@ -171,7 +171,7 @@ lib_deps = Servo
platform = https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/master.zip
framework = arduino
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
# -funwind-tables
# -mpoke-function-name

Loading…
Cancel
Save