My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pins_REMRAM_V1.h 4.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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. #if NOT_TARGET(STM32F7xx)
  24. #error "Oops! Select an STM32F7 board in 'Tools > Board.'"
  25. #endif
  26. #define BOARD_INFO_NAME "RemRam v1"
  27. #define DEFAULT_MACHINE_NAME "RemRam"
  28. #if NO_EEPROM_SELECTED
  29. #define SRAM_EEPROM_EMULATION // Emulate the EEPROM using Backup SRAM
  30. #endif
  31. #if HAS_MULTI_HOTEND || E_STEPPERS > 1
  32. #error "RemRam only supports one hotend / E-stepper. Comment out this line to continue."
  33. #endif
  34. //
  35. // Limit Switches
  36. //
  37. #if DISABLED(SENSORLESS_HOMING)
  38. #define X_MIN_PIN 58
  39. #define X_MAX_PIN 59
  40. #define Y_MIN_PIN 60
  41. #define Y_MAX_PIN 61
  42. #define Z_MIN_PIN 62
  43. #define Z_MAX_PIN 63
  44. #else
  45. #define X_STOP_PIN 36
  46. #define Y_STOP_PIN 39
  47. #define Z_MIN_PIN 62
  48. #define Z_MAX_PIN 42
  49. #endif
  50. //
  51. // Z Probe (when not Z_MIN_PIN)
  52. //
  53. #ifndef Z_MIN_PROBE_PIN
  54. #define Z_MIN_PROBE_PIN 26 // EXT_D1
  55. #endif
  56. //
  57. // Steppers
  58. //
  59. #define X_STEP_PIN 22
  60. #define X_DIR_PIN 35
  61. #define X_ENABLE_PIN 34
  62. #define X_CS_PIN 14
  63. #define Y_STEP_PIN 23
  64. #define Y_DIR_PIN 38
  65. #define Y_ENABLE_PIN 37
  66. #define Y_CS_PIN 15
  67. #define Z_STEP_PIN 24
  68. #define Z_DIR_PIN 41
  69. #define Z_ENABLE_PIN 40
  70. #define Z_CS_PIN 16
  71. #define E0_STEP_PIN 25
  72. #define E0_DIR_PIN 44
  73. #define E0_ENABLE_PIN 43
  74. #define E0_CS_PIN 10
  75. //
  76. // Temperature Sensors
  77. //
  78. #define TEMP_0_PIN 64 // THERM_1
  79. #define TEMP_1_PIN 65 // THERM_2
  80. #define TEMP_BED_PIN 66 // THERM_3
  81. //
  82. // Heaters / Fans
  83. //
  84. #define HEATER_0_PIN 33
  85. #define HEATER_BED_PIN 31
  86. #ifndef FAN_PIN
  87. #define FAN_PIN 30 // "FAN1"
  88. #endif
  89. #define FAN1_PIN 32 // "FAN2"
  90. #ifndef E0_AUTO_FAN_PIN
  91. #define E0_AUTO_FAN_PIN 32
  92. #endif
  93. //
  94. // Servos
  95. //
  96. #define SERVO0_PIN 26 // PWM_EXT1
  97. #define SERVO1_PIN 27 // PWM_EXT2
  98. #define SDSS 57 // Onboard SD card reader
  99. //#define SDSS 9 // LCD SD card reader
  100. #define LED_PIN 21 // STATUS_LED
  101. //
  102. // LCD / Controller
  103. //
  104. #define SD_DETECT_PIN 56 // SD_CARD_DET
  105. #define BEEPER_PIN 46 // LCD_BEEPER
  106. #define LCD_PINS_RS 49 // LCD_RS
  107. #define LCD_PINS_ENABLE 48 // LCD_EN
  108. #define LCD_PINS_D4 50 // LCD_D4
  109. #define LCD_PINS_D5 51 // LCD_D5
  110. #define LCD_PINS_D6 52 // LCD_D6
  111. #define LCD_PINS_D7 53 // LCD_D7
  112. #define BTN_EN1 54 // BTN_EN1
  113. #define BTN_EN2 55 // BTN_EN2
  114. #define BTN_ENC 47 // BTN_ENC
  115. //
  116. // Timers
  117. //
  118. #define STEP_TIMER 2