My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

pins_REMRAM_V1.h 3.4KB

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