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_MKS_ROBIN_E3D_V1_1.h 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. * MKS Robin E3D v1.1 (STM32F103RCT6) board pin assignments
  25. */
  26. #if HAS_MULTI_HOTEND || E_STEPPERS > 1
  27. #error "MKS Robin E3D v1.1 only supports 1 hotend / E stepper."
  28. #endif
  29. #ifndef BOARD_INFO_NAME
  30. #define BOARD_INFO_NAME "MKS Robin E3D V1.1"
  31. #endif
  32. //
  33. // Steppers
  34. //
  35. #ifndef X_CS_PIN
  36. #define X_CS_PIN PC7
  37. #endif
  38. #ifndef Y_CS_PIN
  39. #define Y_CS_PIN PD2
  40. #endif
  41. #ifndef Z_CS_PIN
  42. #define Z_CS_PIN PC12
  43. #endif
  44. #ifndef E0_CS_PIN
  45. #define E0_CS_PIN PC11
  46. #endif
  47. //
  48. // Software SPI pins for TMC2130 stepper drivers
  49. //
  50. #if ENABLED(TMC_USE_SW_SPI)
  51. #ifndef TMC_SW_MOSI
  52. #define TMC_SW_MOSI PB15
  53. #endif
  54. #ifndef TMC_SW_MISO
  55. #define TMC_SW_MISO PB14
  56. #endif
  57. #ifndef TMC_SW_SCK
  58. #define TMC_SW_SCK PB13
  59. #endif
  60. #endif
  61. #include "pins_MKS_ROBIN_E3_V1_1_common.h" // ... MKS_ROBIN_E3_common