My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

pins_FYSETC_E4.h 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. * FYSETC E4 pin assignments
  25. *
  26. * 3D printer control board based on the ESP32 microcontroller.
  27. * Supports 4 stepper drivers, heated bed, single hotend.
  28. */
  29. #include "env_validate.h"
  30. #if EXTRUDERS > 1 || E_STEPPERS > 1
  31. #error "FYSETC E4 only supports 1 E stepper."
  32. #elif HAS_MULTI_HOTEND
  33. #error "FYSETC E4 only supports 1 hotend / E stepper."
  34. #endif
  35. #define BOARD_INFO_NAME "FYSETC_E4"
  36. #include "pins_ESPA_common.h"
  37. #if HAS_TMC_UART
  38. //
  39. // TMC2209 stepper drivers
  40. //
  41. //
  42. // Hardware serial 1
  43. //
  44. #define X_HARDWARE_SERIAL Serial1
  45. #define Y_HARDWARE_SERIAL Serial1
  46. #define Z_HARDWARE_SERIAL Serial1
  47. #define E0_HARDWARE_SERIAL Serial1
  48. #define TMC_BAUD_RATE 115200
  49. #endif
  50. /**
  51. * Hardware serial pins
  52. *
  53. * Override these pins in Configuration.h or Configuration_adv.h if needed.
  54. *
  55. * Note: Serial2 can be defined using HARDWARE_SERIAL2_RX and HARDWARE_SERIAL2_TX
  56. * but MRR ESPA does not have enough spare pins for such reassignment.
  57. */
  58. #ifndef HARDWARE_SERIAL1_RX
  59. #define HARDWARE_SERIAL1_RX 21
  60. #endif
  61. #ifndef HARDWARE_SERIAL1_TX
  62. #define HARDWARE_SERIAL1_TX 22
  63. #endif