Initial Commit - Add board

This commit is contained in:
InsanityAutomation 2019-06-03 23:49:19 -04:00
parent e4260a41cb
commit bbcb61e042
4 changed files with 69 additions and 7 deletions

View file

@ -86,6 +86,7 @@
#define BOARD_TRIGORILLA_14 443 // TriGorilla Anycubic version 1.4 based on RAMPS EFB #define BOARD_TRIGORILLA_14 443 // TriGorilla Anycubic version 1.4 based on RAMPS EFB
#define BOARD_RAMPS_ENDER_4 243 // Creality: Ender-4, CR-8 #define BOARD_RAMPS_ENDER_4 243 // Creality: Ender-4, CR-8
#define BOARD_RAMPS_CREALITY 244 // Creality: CR10S, CR20, CR-X #define BOARD_RAMPS_CREALITY 244 // Creality: CR10S, CR20, CR-X
#define BOARD_RAMPS_Dagoma 245 // Dagoma F5
#define BOARD_FYSETC_F6_13 541 // Fysetc F6 #define BOARD_FYSETC_F6_13 541 // Fysetc F6
#define BOARD_DUPLICATOR_I3_PLUS 31 // Wanhao Duplicator i3 Plus #define BOARD_DUPLICATOR_I3_PLUS 31 // Wanhao Duplicator i3 Plus
#define BOARD_VORON 441 // VORON Design #define BOARD_VORON 441 // VORON Design

View file

@ -160,6 +160,8 @@
#include "pins_RAMPS_ENDER_4.h" // ATmega2560 env:megaatmega2560 #include "pins_RAMPS_ENDER_4.h" // ATmega2560 env:megaatmega2560
#elif MB(RAMPS_CREALITY) #elif MB(RAMPS_CREALITY)
#include "pins_RAMPS_CREALITY.h" // ATmega2560 env:megaatmega2560 #include "pins_RAMPS_CREALITY.h" // ATmega2560 env:megaatmega2560
#elif MB(RAMPS_Dagoma)
#include "pins_RAMPS_Dagoma.h" // ATmega2560 env:megaatmega2560
#elif MB(FYSETC_F6_13) #elif MB(FYSETC_F6_13)
#include "pins_FYSETC_F6_13.h" // ATmega2560 env:fysetc_f6_13 #include "pins_FYSETC_F6_13.h" // ATmega2560 env:fysetc_f6_13
#elif MB(DUPLICATOR_I3_PLUS) #elif MB(DUPLICATOR_I3_PLUS)

View file

@ -70,8 +70,12 @@
#define SERVO0_PIN 11 #define SERVO0_PIN 11
#endif #endif
#endif #endif
#define SERVO1_PIN 6 #ifndef SERVO1_PIN
#define SERVO2_PIN 5 #define SERVO1_PIN 6
#endif
#ifndef SERVO2_PIN
#define SERVO2_PIN 5
#endif
#ifndef SERVO3_PIN #ifndef SERVO3_PIN
#define SERVO3_PIN 4 #define SERVO3_PIN 4
#endif #endif
@ -79,14 +83,24 @@
// //
// Limit Switches // Limit Switches
// //
#define X_MIN_PIN 3 #ifndef X_MIN_PIN
#define X_MIN_PIN 3
#endif
#ifndef X_MAX_PIN #ifndef X_MAX_PIN
#define X_MAX_PIN 2 #define X_MAX_PIN 2
#endif #endif
#define Y_MIN_PIN 14 #ifndef Y_MIN_PIN
#define Y_MAX_PIN 15 #define Y_MIN_PIN 14
#define Z_MIN_PIN 18 #endif
#define Z_MAX_PIN 19 #ifndef Y_MAX_PIN
#define Y_MAX_PIN 15
#endif
#ifndef Z_MIN_PIN
#define Z_MIN_PIN 18
#endif
#ifndef Z_MAX_PIN
#define Z_MAX_PIN 19
#endif
// //
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)

View file

@ -0,0 +1,45 @@
/**
* Marlin 3D Printer Firmware
* Copyright (C) 2019 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 <http://www.gnu.org/licenses/>.
*
*/
#if HOTENDS > 2 || E_STEPPERS > 2
#error "Dagoma3D F5 RAMPS supports only 2 hotends / E-steppers. Comment out this line to continue."
#endif
#define BOARD_NAME "Dagoma3D F5 RAMPS"
#ifdef E0_AUTO_FAN_PIN
#undef E0_AUTO_FAN_PIN
#endif
#define E0_AUTO_FAN_PIN 7
#define X_MAX_PIN -1
#define X_MIN_PIN 2
#define Y_MAX_PIN 3
#define Y_MIN_MIN -1
#define Z_MAX_PIN -1
#define Z_MIN_PIN 15
#define FILRUNOUT_PIN 39
#define MOSFET_D_PIN -1
#include "pins_RAMPS.h"