My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

pins_THE_BORG.h 4.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (C) 2019 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 <http://www.gnu.org/licenses/>.
  20. *
  21. */
  22. #if !defined(STM32F7)
  23. #error "Oops! Select an STM32F7 board in 'Tools > Board.'"
  24. #endif
  25. #define DEFAULT_MACHINE_NAME "The-Borge"
  26. #define BOARD_NAME "The-Borge"
  27. #define E2END 0xFFF // EEPROM end address
  28. // Ignore temp readings during develpment.
  29. #define BOGUS_TEMPERATURE_FAILSAFE_OVERRIDE
  30. #if HOTENDS > 3 || E_STEPPERS > 3
  31. #error "The-Borg supports up to 3 hotends / E-steppers."
  32. #endif
  33. //
  34. // Limit Switches
  35. //
  36. #define X_MIN_PIN PE9
  37. #define X_MAX_PIN PE10
  38. #define Y_MIN_PIN PE7
  39. #define Y_MAX_PIN PE8
  40. #define Z_MIN_PIN PF15
  41. #define Z_MAX_PIN PG0
  42. #define E_MIN_PIN PE2
  43. #define E_MAX_PIN PE3
  44. //
  45. // Z Probe (when not Z_MIN_PIN)
  46. //
  47. #ifndef Z_MIN_PROBE_PIN
  48. #define Z_MIN_PROBE_PIN PA4
  49. #endif
  50. //
  51. // Steppers
  52. //
  53. #define STEPPER_ENABLE_PIN PE0
  54. #define X_STEP_PIN PC6 // 96, 39 in Arduino
  55. #define X_DIR_PIN PC7
  56. #define X_ENABLE_PIN PC8
  57. #define Y_STEP_PIN PD9
  58. #define Y_DIR_PIN PD10
  59. #define Y_ENABLE_PIN PD11
  60. #define Z_STEP_PIN PE15
  61. #define Z_DIR_PIN PG1
  62. #define Z_ENABLE_PIN PD8
  63. #define E0_STEP_PIN PB1
  64. #define E0_DIR_PIN PB2
  65. #define E0_ENABLE_PIN PE11
  66. #define E1_STEP_PIN PC4
  67. #define E1_DIR_PIN PC5
  68. #define E1_ENABLE_PIN PB0
  69. #define E2_STEP_PIN PC13
  70. #define E2_DIR_PIN PC14
  71. #define E2_ENABLE_PIN PC15
  72. #define Z2_STEP_PIN PC13
  73. #define Z2_DIR_PIN PC14
  74. #define Z2_ENABLE_PIN PC15
  75. #define SCK_PIN PA5
  76. #define MISO_PIN PA6
  77. #define MOSI_PIN PA7
  78. #define SPI1_SCK_PIN PA5
  79. #define SPI1_MISO_PIN PA6
  80. #define SPI1_MOSI_PIN PA7
  81. #define SPI6_SCK_PIN PG13
  82. #define SPI6_MISO_PIN PG12
  83. #define SPI6_MOSI_PIN PG14
  84. //
  85. // Temperature Sensors
  86. //
  87. #define TEMP_0_PIN PC3 // Analog Input
  88. #define TEMP_1_PIN PC2 // Analog Input
  89. #define TEMP_2_PIN PC1 // Analog Input
  90. #define TEMP_3_PIN PC0 // Analog Input
  91. #define TEMP_BED_PIN PF10 // Analog Input
  92. #define TEMP_5_PIN PE12 // Analog Input, Probe temp
  93. //
  94. // Heaters / Fans
  95. //
  96. #define HEATER_0_PIN PD15
  97. #define HEATER_1_PIN PD14
  98. #define HEATER_BED_PIN PF6
  99. #ifndef FAN_PIN
  100. #define FAN_PIN PD13
  101. #endif
  102. #define FAN1_PIN PA0
  103. #define FAN2_PIN PA1
  104. #define ORIG_E0_AUTO_FAN_PIN PA1 // Use this by NOT overriding E0_AUTO_FAN_PIN
  105. //
  106. // Misc. Functions
  107. //
  108. //#define CASE_LIGHT_PIN_CI PF13
  109. //#define CASE_LIGHT_PIN_DO PF14
  110. //#define NEOPIXEL_PIN PF13
  111. //
  112. // Průša i3 MK2 Multi Material Multiplexer Support
  113. //
  114. #define E_MUX0_PIN PG3
  115. #define E_MUX1_PIN PG4
  116. //
  117. // Servos
  118. //
  119. #define SERVO0_PIN PE13
  120. #define SERVO1_PIN PE14
  121. #define SDSS PA8
  122. #define SS_PIN PA8
  123. #define LED_PIN PA2 // Alive
  124. #define PS_ON_PIN PA3
  125. #define KILL_PIN -1 //PD5 // EXP2-10
  126. #define PWR_LOSS PG5 // Power loss / nAC_FAULT
  127. //
  128. // MAX7219_DEBUG
  129. //
  130. #define MAX7219_CLK_PIN PG10 // EXP1-1
  131. #define MAX7219_DIN_PIN PD7 // EXP1-3
  132. #define MAX7219_LOAD_PIN PD1 // EXP1-5
  133. //
  134. // LCD / Controller
  135. //
  136. //#define SD_DETECT_PIN -1 //PB6) // EXP2-4
  137. #define BEEPER_PIN PG10 // EXP1-1
  138. #define LCD_PINS_RS PG9 // EXP1-4
  139. #define LCD_PINS_ENABLE PD7 // EXP1-3
  140. #define LCD_PINS_D4 PD1 // EXP1-5
  141. #define LCD_PINS_D5 PF0 // EXP1-6
  142. #define LCD_PINS_D6 PD3 // EXP1-7
  143. #define LCD_PINS_D7 PD4 // EXP1-8
  144. #define BTN_EN1 PD6 // EXP2-5
  145. #define BTN_EN2 PD0 // EXP2-3
  146. #define BTN_ENC PG11 // EXP1-2