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.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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 // 4KB
  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. #define ENABLE_SPI1
  45. #include "pins_RUMBA32_common.h"
  46. #if HAS_TMC_UART
  47. /**
  48. * TMC2208/TMC2209 stepper drivers
  49. *
  50. * Hardware serial communication ports.
  51. * If undefined software serial is used according to the pins below
  52. */
  53. //#define X_HARDWARE_SERIAL Serial1
  54. //#define X2_HARDWARE_SERIAL Serial1
  55. //#define Y_HARDWARE_SERIAL Serial1
  56. //#define Y2_HARDWARE_SERIAL Serial1
  57. //#define Z_HARDWARE_SERIAL Serial1
  58. //#define Z2_HARDWARE_SERIAL Serial1
  59. //#define E0_HARDWARE_SERIAL Serial1
  60. //#define E1_HARDWARE_SERIAL Serial1
  61. //#define E2_HARDWARE_SERIAL Serial1
  62. //#define E3_HARDWARE_SERIAL Serial1
  63. //#define E4_HARDWARE_SERIAL Serial1
  64. //
  65. // Software serial
  66. //
  67. #define X_SERIAL_TX_PIN PA3
  68. #define X_SERIAL_RX_PIN PC14
  69. #define Y_SERIAL_TX_PIN PA4
  70. #define Y_SERIAL_RX_PIN PE4
  71. #define Z_SERIAL_TX_PIN PD13
  72. #define Z_SERIAL_RX_PIN PE0
  73. #define E0_SERIAL_TX_PIN PD14
  74. #define E0_SERIAL_RX_PIN PC13
  75. #define E1_SERIAL_TX_PIN PD15
  76. #define E1_SERIAL_RX_PIN PD5
  77. #define E2_SERIAL_TX_PIN PD12
  78. #define E2_SERIAL_RX_PIN PD1
  79. #endif