My Marlin configs for Fabrikator Mini and CTC i3 Pro B
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

pins_ESPA_common.h 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (c) 2021 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. * ESPA-like pin assignments
  25. * Supports 4 stepper drivers, heated bed, single hotend.
  26. */
  27. #include "env_validate.h"
  28. #ifndef DEFAULT_MACHINE_NAME
  29. #define DEFAULT_MACHINE_NAME BOARD_INFO_NAME
  30. #endif
  31. //
  32. // Limit Switches
  33. //
  34. #define X_STOP_PIN 34
  35. #define Y_STOP_PIN 35
  36. #define Z_STOP_PIN 15
  37. //
  38. // Steppers
  39. //
  40. #define X_STEP_PIN 27
  41. #define X_DIR_PIN 26
  42. #define X_ENABLE_PIN 25
  43. #define Y_STEP_PIN 33
  44. #define Y_DIR_PIN 32
  45. #define Y_ENABLE_PIN X_ENABLE_PIN
  46. #define Z_STEP_PIN 14
  47. #define Z_DIR_PIN 12
  48. #define Z_ENABLE_PIN X_ENABLE_PIN
  49. #define E0_STEP_PIN 16
  50. #define E0_DIR_PIN 17
  51. #define E0_ENABLE_PIN X_ENABLE_PIN
  52. //
  53. // Temperature Sensors
  54. //
  55. #define TEMP_0_PIN 36 // Analog Input
  56. #define TEMP_BED_PIN 39 // Analog Input
  57. //
  58. // Heaters / Fans
  59. //
  60. #define HEATER_0_PIN 2
  61. #define FAN_PIN 13
  62. #define HEATER_BED_PIN 4
  63. //
  64. // MicroSD card
  65. //
  66. #define SD_MOSI_PIN 23
  67. #define SD_MISO_PIN 19
  68. #define SD_SCK_PIN 18
  69. #define SDSS 5
  70. #define USES_SHARED_SPI // SPI is shared by SD card with TMC SPI drivers