diff --git a/Marlin/src/core/boards.h b/Marlin/src/core/boards.h index 099e804c51..774a73900f 100644 --- a/Marlin/src/core/boards.h +++ b/Marlin/src/core/boards.h @@ -74,6 +74,7 @@ #define BOARD_RUMBA 80 // Rumba #define BOARD_BQ_ZUM_MEGA_3D 503 // bq ZUM Mega 3D #define BOARD_MAKEBOARD_MINI 431 // MakeBoard Mini v2.1.2 is a control board sold by MicroMake +#define BOARD_TRIGORILLA 343 // TriGorilla Anycubic version 1.3 based on RAMPS EFB // // Other ATmega1280, ATmega2560 diff --git a/Marlin/src/pins/pins.h b/Marlin/src/pins/pins.h index 824adeba10..042c77634d 100644 --- a/Marlin/src/pins/pins.h +++ b/Marlin/src/pins/pins.h @@ -132,6 +132,8 @@ #include "pins_BQ_ZUM_MEGA_3D.h" // ATmega2560 #elif MB(MAKEBOARD_MINI) #include "pins_MAKEBOARD_MINI.h" // ATmega2560 +#elif MB(TRIGORILLA) + #include "pins_TRIGORILLA.h" // ATmega2560 // // Other ATmega1280, ATmega2560 diff --git a/Marlin/src/pins/pins_TRIGORILLA.h b/Marlin/src/pins/pins_TRIGORILLA.h new file mode 100644 index 0000000000..527c166c58 --- /dev/null +++ b/Marlin/src/pins/pins_TRIGORILLA.h @@ -0,0 +1,48 @@ +/** + * Marlin 3D Printer Firmware + * Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] + * + * Based on Sprinter and grbl. + * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + */ + +/** + * Arduino Mega with RAMPS v1.4 for Anycubic + * + * Defines RAMPS_D44_PIN 44 + * Defines FAN_PIN RAMPS_D44_PIN or -1 + */ + +#ifndef BOARD_NAME + #define BOARD_NAME "Anycubic RAMPS 1.4" +#endif + +#define IS_RAMPS_EFB + +#include "pins_RAMPS_13.h" + +#undef FAN_PIN +#define RAMPS_D44_PIN 44 +#define FAN_PIN RAMPS_D44_PIN + +#undef ORIG_E0_AUTO_FAN_PIN +#define ORIG_E0_AUTO_FAN_PIN RAMPS_D44_PIN + +#undef E1_STEP_PIN +#undef E1_DIR_PIN +#undef E1_ENABLE_PIN +#undef E1_CS_PIN