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_CREALITY_V25S1.h 4.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (c) 2022 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. * Creality v2.5.S1 (STM32F103RE / STM32F103RC) as found in the CR-10 Smart Pro
  25. */
  26. #include "env_validate.h"
  27. #if HAS_MULTI_HOTEND || E_STEPPERS > 1
  28. #error "Creality V2.5.S1 only supports one hotend / E-stepper. Comment out this line to continue."
  29. #endif
  30. #define BOARD_INFO_NAME "Creality v2.5.S1"
  31. #define DEFAULT_MACHINE_NAME "Creality3D"
  32. //
  33. // Release PB4 (Y_ENABLE_PIN) from JTAG NRST role
  34. //
  35. #define DISABLE_DEBUG
  36. //
  37. // EEPROM
  38. //
  39. #if NO_EEPROM_SELECTED
  40. #define IIC_BL24CXX_EEPROM // EEPROM on I2C-0
  41. //#define SDCARD_EEPROM_EMULATION
  42. //#define FLASH_EEPROM_EMULATION
  43. #endif
  44. #if ENABLED(IIC_BL24CXX_EEPROM)
  45. #define IIC_EEPROM_SDA PA11
  46. #define IIC_EEPROM_SCL PA12
  47. #define MARLIN_EEPROM_SIZE 0x800 // 2K (24C16)
  48. #elif EITHER(SDCARD_EEPROM_EMULATION, FLASH_EEPROM_EMULATION)
  49. #define MARLIN_EEPROM_SIZE 0x800 // 2K
  50. #endif
  51. //
  52. // Limit Switches
  53. //
  54. #define X_STOP_PIN PC4
  55. #define Y_STOP_PIN PC5
  56. #if ENABLED(BLTOUCH)
  57. #define Z_STOP_PIN -1
  58. #define SERVO0_PIN PC14 // BLTouch OUT PIN
  59. #ifndef Z_MIN_PROBE_PIN
  60. #define Z_MIN_PROBE_PIN PC15 // BLTouch IN PIN
  61. #endif
  62. #else
  63. #define Z_STOP_PIN PC15
  64. #if ENABLED(PROBE_ACTIVATION_SWITCH)
  65. #define PROBE_TARE_PIN PC14
  66. #define PROBE_ACTIVATION_SWITCH_PIN PB2
  67. #endif
  68. #endif
  69. //
  70. // Filament Runout Sensor
  71. //
  72. #if ENABLED(FILAMENT_RUNOUT_SENSOR)
  73. #define FIL_RUNOUT_PIN PA15 // "Pulled-high"
  74. #endif
  75. //
  76. // Steppers
  77. //
  78. #define X_STEP_PIN PB8
  79. #define X_DIR_PIN PB7
  80. #define X_ENABLE_PIN PC3
  81. #define Y_STEP_PIN PB6
  82. #define Y_DIR_PIN PB5
  83. #define Y_ENABLE_PIN X_ENABLE_PIN
  84. #define Z_STEP_PIN PB4
  85. #define Z_DIR_PIN PB3
  86. #define Z_ENABLE_PIN X_ENABLE_PIN
  87. #define E0_STEP_PIN PC2
  88. #define E0_DIR_PIN PB9
  89. #define E0_ENABLE_PIN X_ENABLE_PIN
  90. //
  91. // Temperature Sensors
  92. //
  93. #define TEMP_0_PIN PB1 // TH1
  94. #define TEMP_BED_PIN PB0 // TB1
  95. //
  96. // Heaters / Fans
  97. //
  98. #define HEATER_0_PIN PB14 // HEATER1
  99. #define HEATER_BED_PIN PB13 // HOT BED
  100. #define FAN_PIN PB15 // FAN
  101. #ifndef E0_AUTO_FAN_PIN
  102. #define E0_AUTO_FAN_PIN PC13 // FAN
  103. #endif
  104. #define FAN_SOFT_PWM_REQUIRED
  105. //
  106. // SD Card
  107. //
  108. #define SD_DETECT_PIN PC7
  109. #define SDCARD_CONNECTION ONBOARD
  110. #define ON_BOARD_SPI_DEVICE 1
  111. #define ONBOARD_SD_CS_PIN PC12 // SDSS
  112. #define SDIO_SUPPORT
  113. #define NO_SD_HOST_DRIVE // This board's SD is only seen by the printer
  114. //
  115. // Misc. Functions
  116. //
  117. #define CASE_LIGHT_PIN PA7
  118. //
  119. // Suicide Power
  120. //
  121. #define PS_ON_PIN PA0
  122. #define MOTOR_CIRCUIT_PIN PA1
  123. //
  124. // Motor Protect
  125. //
  126. #define MOTOR_PROTECT_PIN PC0
  127. //
  128. // WiFi Reset
  129. //
  130. #define RESET_WIFI_PIN PB12