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_REMRAM_V1.h 4.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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 1 hotend / E stepper."
  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_MAX_PIN 63
  43. #else
  44. #define X_STOP_PIN 36
  45. #define Y_STOP_PIN 39
  46. #define Z_MAX_PIN 42
  47. #endif
  48. #define Z_MIN_PIN 62
  49. //
  50. // Z Probe (when not Z_MIN_PIN)
  51. //
  52. #ifndef Z_MIN_PROBE_PIN
  53. #define Z_MIN_PROBE_PIN 26 // EXT_D1
  54. #endif
  55. //
  56. // Steppers
  57. //
  58. #define X_STEP_PIN 22
  59. #define X_DIR_PIN 35
  60. #define X_ENABLE_PIN 34
  61. #define X_CS_PIN 14
  62. #define Y_STEP_PIN 23
  63. #define Y_DIR_PIN 38
  64. #define Y_ENABLE_PIN 37
  65. #define Y_CS_PIN 15
  66. #define Z_STEP_PIN 24
  67. #define Z_DIR_PIN 41
  68. #define Z_ENABLE_PIN 40
  69. #define Z_CS_PIN 16
  70. #define E0_STEP_PIN 25
  71. #define E0_DIR_PIN 44
  72. #define E0_ENABLE_PIN 43
  73. #define E0_CS_PIN 10
  74. //
  75. // Temperature Sensors
  76. //
  77. #define TEMP_0_PIN 64 // THERM_1
  78. #define TEMP_1_PIN 65 // THERM_2
  79. #define TEMP_BED_PIN 66 // THERM_3
  80. //
  81. // Heaters / Fans
  82. //
  83. #define HEATER_0_PIN 33
  84. #define HEATER_BED_PIN 31
  85. #ifndef FAN_PIN
  86. #define FAN_PIN 30 // "FAN1"
  87. #endif
  88. #define FAN1_PIN 32 // "FAN2"
  89. #ifndef E0_AUTO_FAN_PIN
  90. #define E0_AUTO_FAN_PIN 32
  91. #endif
  92. //
  93. // Servos
  94. //
  95. #define SERVO0_PIN 26 // PWM_EXT1
  96. #define SERVO1_PIN 27 // PWM_EXT2
  97. #define SDSS 57 // Onboard SD card reader
  98. //#define SDSS 9 // LCD SD card reader
  99. #define LED_PIN 21 // STATUS_LED
  100. //
  101. // LCD / Controller
  102. //
  103. #define SD_DETECT_PIN 56 // SD_CARD_DET
  104. #define BEEPER_PIN 46 // LCD_BEEPER
  105. #define LCD_PINS_RS 49 // LCD_RS
  106. #define LCD_PINS_ENABLE 48 // LCD_EN
  107. #define LCD_PINS_D4 50 // LCD_D4
  108. #define LCD_PINS_D5 51 // LCD_D5
  109. #define LCD_PINS_D6 52 // LCD_D6
  110. #define LCD_PINS_D7 53 // LCD_D7
  111. #define BTN_EN1 54 // BTN_EN1
  112. #define BTN_EN2 55 // BTN_EN2
  113. #define BTN_ENC 47 // BTN_ENC
  114. //
  115. // Timers
  116. //
  117. #define STEP_TIMER 2