My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

pins_REMRAM_V1.h 3.3KB

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