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_RUMBA32_MKS.h 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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. /**
  24. * Pin assignments for the MKS RUMBA32
  25. *
  26. * https://github.com/makerbase-mks/MKS-RUMBA32
  27. *
  28. * The MKS and Aus3D versions have the same pinout but the MKS version
  29. * has some added resistors and LEDs. The resistors needed for the
  30. * TMC2208/9 UART interface are among the additions. Also added were
  31. * connectors and resistors dedicated to the TMC2130 sensorless homing
  32. * interface.
  33. */
  34. #define BOARD_INFO_NAME "MKS RUMBA32"
  35. #if NO_EEPROM_SELECTED
  36. #define FLASH_EEPROM_EMULATION
  37. #define MARLIN_EEPROM_SIZE 0x1000 // 4K
  38. #endif
  39. #if ENABLED(FLASH_EEPROM_EMULATION)
  40. // Decrease delays and flash wear by spreading writes across the
  41. // 128 kB sector allocated for EEPROM emulation.
  42. #define FLASH_EEPROM_LEVELING
  43. #endif
  44. #include "pins_RUMBA32_common.h"
  45. #if HAS_TMC_UART
  46. /**
  47. * TMC2208/TMC2209 stepper drivers
  48. *
  49. * Hardware serial communication ports.
  50. * If undefined software serial is used according to the pins below
  51. */
  52. //#define X_HARDWARE_SERIAL Serial1
  53. //#define X2_HARDWARE_SERIAL Serial1
  54. //#define Y_HARDWARE_SERIAL Serial1
  55. //#define Y2_HARDWARE_SERIAL Serial1
  56. //#define Z_HARDWARE_SERIAL Serial1
  57. //#define Z2_HARDWARE_SERIAL Serial1
  58. //#define E0_HARDWARE_SERIAL Serial1
  59. //#define E1_HARDWARE_SERIAL Serial1
  60. //#define E2_HARDWARE_SERIAL Serial1
  61. //#define E3_HARDWARE_SERIAL Serial1
  62. //#define E4_HARDWARE_SERIAL Serial1
  63. #define X_SERIAL_TX_PIN PA3
  64. #define X_SERIAL_RX_PIN PC14
  65. #define Y_SERIAL_TX_PIN PA4
  66. #define Y_SERIAL_RX_PIN PE4
  67. #define Z_SERIAL_TX_PIN PD13
  68. #define Z_SERIAL_RX_PIN PE0
  69. #define E0_SERIAL_TX_PIN PD14
  70. #define E0_SERIAL_RX_PIN PC13
  71. #define E1_SERIAL_TX_PIN PD15
  72. #define E1_SERIAL_RX_PIN PD5
  73. #define E2_SERIAL_TX_PIN PD12
  74. #define E2_SERIAL_RX_PIN PD1
  75. #endif