My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pins_LONGER3D_LKx_PRO.h 3.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
  4. *
  5. * Based on Sprinter and grbl.
  6. * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
  7. *
  8. * This program is free software: you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation, either version 3 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program. If not, see <https://www.gnu.org/licenses/>.
  20. *
  21. */
  22. #pragma once
  23. /**
  24. * Longer3D LK1/LK4/LK5 Pro board pin assignments
  25. */
  26. #define REQUIRE_MEGA2560
  27. #include "env_validate.h"
  28. #if HAS_MULTI_HOTEND || E_STEPPERS > 1
  29. #error "Longer3D LGT KIT V1.0 only supports 1 hotend / E stepper."
  30. #endif
  31. #if SERIAL_PORT == 1 || SERIAL_PORT_2 == 1 || SERIAL_PORT_3 == 1
  32. #warning "Serial 1 is originally reserved to DGUS LCD."
  33. #endif
  34. #if SERIAL_PORT == 2 || SERIAL_PORT_2 == 2 || SERIAL_PORT_3 == 2 || LCD_SERIAL_PORT == 2
  35. #warning "Serial 2 has no connector. Hardware changes may be required to use it."
  36. #endif
  37. #if SERIAL_PORT == 3 || SERIAL_PORT_2 == 3 || SERIAL_PORT_3 == 3 || LCD_SERIAL_PORT == 3
  38. #define CHANGE_Y_LIMIT_PINS
  39. #warning "Serial 3 is originally reserved to Y limit switches. Hardware changes are required to use it."
  40. #endif
  41. // Custom flags and defines for the build
  42. //#define BOARD_CUSTOM_BUILD_FLAGS -D__FOO__
  43. #define BOARD_INFO_NAME "LGT KIT V1.0"
  44. //
  45. // Servos
  46. //
  47. #if !MB(LONGER3D_LK1_PRO)
  48. #define SERVO0_PIN 7
  49. #endif
  50. #define SERVO1_PIN -1
  51. #define SERVO2_PIN -1
  52. #define SERVO3_PIN -1
  53. //
  54. // Limit Switches
  55. //
  56. #define X_STOP_PIN 3
  57. #ifdef CHANGE_Y_LIMIT_PINS
  58. #define Y_STOP_PIN 37
  59. #else
  60. #define Y_MIN_PIN 14
  61. #define Y_MAX_PIN 15
  62. #endif
  63. #if !MB(LONGER3D_LK1_PRO)
  64. #ifdef CHANGE_Y_LIMIT_PINS
  65. #define Z_STOP_PIN 35
  66. #else
  67. #define Z_MIN_PIN 35
  68. #define Z_MAX_PIN 37
  69. #endif
  70. #else
  71. #define Z_MIN_PIN 11
  72. #define Z_MAX_PIN 37
  73. #endif
  74. #undef CHANGE_Y_LIMIT_PINS
  75. //
  76. // Steppers - No E1 pins
  77. //
  78. #define E1_STEP_PIN -1
  79. #define E1_DIR_PIN -1
  80. #define E1_ENABLE_PIN -1
  81. #define E1_CS_PIN -1
  82. //
  83. // Z Probe (when not Z_MIN_PIN)
  84. //
  85. #define Z_MIN_PROBE_PIN -1
  86. //
  87. // Temperature Sensors
  88. //
  89. #define TEMP_1_PIN -1
  90. //
  91. // Průša i3 MK2 Multiplexer Support
  92. //
  93. #if HAS_PRUSA_MMU1
  94. #define E_MUX2_PIN -1
  95. #endif
  96. //
  97. // Misc. Functions
  98. //
  99. #define SD_DETECT_PIN 49
  100. #define FIL_RUNOUT_PIN 2
  101. //
  102. // Other RAMPS 1.3 pins
  103. //
  104. #include "pins_RAMPS_13.h" // ... RAMPS