From 02ab66fca36a3fe981dce3cc96f3ceb9d948673e Mon Sep 17 00:00:00 2001 From: Thomas Moore Date: Mon, 28 Jan 2019 00:11:34 -0500 Subject: [PATCH] Update Cohesion3D Pins Files (#13027) --- Marlin/src/pins/pins_COHESION3D_MINI.h | 8 ++++---- Marlin/src/pins/pins_COHESION3D_REMIX.h | 8 ++++---- platformio.ini | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Marlin/src/pins/pins_COHESION3D_MINI.h b/Marlin/src/pins/pins_COHESION3D_MINI.h index b1bfe318a9..827733d88d 100644 --- a/Marlin/src/pins/pins_COHESION3D_MINI.h +++ b/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 // diff --git a/Marlin/src/pins/pins_COHESION3D_REMIX.h b/Marlin/src/pins/pins_COHESION3D_REMIX.h index 7ea9e77171..9612d2908b 100644 --- a/Marlin/src/pins/pins_COHESION3D_REMIX.h +++ b/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 // diff --git a/platformio.ini b/platformio.ini index b096d5a562..2b85f1ce2a 100644 --- a/platformio.ini +++ b/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