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_FYSETC_S6_V2_0.h 2.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. #define BOARD_INFO_NAME "FYSETC S6 2.0"
  24. //
  25. // EEPROM Emulation
  26. //
  27. #if NO_EEPROM_SELECTED
  28. #undef NO_EEPROM_SELECTED
  29. //#define FLASH_EEPROM_EMULATION
  30. #define I2C_EEPROM
  31. #endif
  32. //
  33. // Steppers
  34. //
  35. #define X_ENABLE_PIN PE9
  36. #if HAS_TMC_UART
  37. #define X_SERIAL_TX_PIN PE8
  38. #define X_SERIAL_RX_PIN PE8
  39. #define Y_SERIAL_TX_PIN PC4
  40. #define Y_SERIAL_RX_PIN PC4
  41. #define Z_SERIAL_TX_PIN PD12
  42. #define Z_SERIAL_RX_PIN PD12
  43. #define E0_SERIAL_TX_PIN PA15
  44. #define E0_SERIAL_RX_PIN PA15
  45. #define E1_SERIAL_TX_PIN PC5
  46. #define E1_SERIAL_RX_PIN PC5
  47. #define E2_SERIAL_TX_PIN PE0
  48. #define E2_SERIAL_RX_PIN PE0
  49. #endif
  50. //
  51. // Software SPI pins for TMC2130 stepper drivers
  52. //
  53. #define TMC_USE_SW_SPI
  54. #if ENABLED(TMC_USE_SW_SPI)
  55. #ifndef TMC_SW_MOSI
  56. #define TMC_SW_MOSI PE14
  57. #endif
  58. #ifndef TMC_SW_MISO
  59. #define TMC_SW_MISO PE13
  60. #endif
  61. #ifndef TMC_SW_SCK
  62. #define TMC_SW_SCK PE12
  63. #endif
  64. #endif
  65. #include "pins_FYSETC_S6.h"