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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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 4.2.5 (STM32F103RE / STM32F103RC) board pin assignments
  25. */
  26. #include "env_validate.h"
  27. #if HAS_MULTI_HOTEND || E_STEPPERS > 1
  28. #error "Creality v4.2.5 only supports 1 hotend / E stepper."
  29. #endif
  30. #define BOARD_INFO_NAME "Creality V4.2.5"
  31. #define DEFAULT_MACHINE_NAME "CR200B"
  32. //
  33. // EEPROM
  34. //
  35. #if NO_EEPROM_SELECTED
  36. #define IIC_BL24CXX_EEPROM // EEPROM on I2C-0
  37. #undef NO_EEPROM_SELECTED
  38. #elif DISABLED(IIC_BL24CXX_EEPROM)
  39. #define SDCARD_EEPROM_EMULATION // SD EEPROM until all EEPROM is BL24CXX
  40. #endif
  41. //
  42. // Servos
  43. //
  44. #define SERVO0_PIN PB1 // BLTouch OUT
  45. //
  46. // Limit Switches
  47. //
  48. #define X_STOP_PIN PA3
  49. #define Y_STOP_PIN PA4
  50. #define Z_STOP_PIN PA5
  51. #ifndef Z_MIN_PROBE_PIN
  52. #define Z_MIN_PROBE_PIN PB0 // BLTouch IN
  53. #endif
  54. //
  55. // Filament Runout Sensor
  56. //
  57. #ifndef FIL_RUNOUT_PIN
  58. #define FIL_RUNOUT_PIN PA6 // "Pulled-high"
  59. #endif
  60. //
  61. // Heaters / Fans
  62. //
  63. #define HEATER_0_PIN PA0 // HEATER1
  64. #define HEATER_BED_PIN PA1 // HOT BED
  65. #define FAN_PIN PA2 // FAN
  66. #include "pins_CREALITY_V4.h"