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_V431.h 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. * CREALITY v4.3.1 (STM32F103RE / STM32F103RC) board pin assignments
  25. */
  26. #define BOARD_INFO_NAME "Creality v4.3.1"
  27. #define DEFAULT_MACHINE_NAME "Creality3D"
  28. //
  29. // Steppers
  30. //
  31. #if MB(CREALITY_V431, CREALITY_V431_A, CREALITY_V431_B)
  32. #define X_STEP_PIN PB8
  33. #define X_DIR_PIN PB7
  34. #define Y_STEP_PIN PC2
  35. #define Y_DIR_PIN PB9
  36. #endif
  37. #if MB(CREALITY_V431_B, CREALITY_V431_C)
  38. #define E0_STEP_PIN PB3
  39. #define E0_DIR_PIN PB4
  40. #endif
  41. #include "pins_CREALITY_V4.h"