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_MORPHEUS.h 2.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. * 2017 Victor Perez Marlin for stm32f1 test
  25. * 2018 Modified by Pablo Crespo for Morpheus Board (https://github.com/pscrespo/Morpheus-STM32)
  26. */
  27. /**
  28. * MORPHEUS Board pin assignments
  29. */
  30. #if NOT_TARGET(__STM32F1__)
  31. #error "Oops! Select an STM32F1 board in 'Tools > Board.'"
  32. #endif
  33. #define BOARD_INFO_NAME "Bluepill based board"
  34. //
  35. // Limit Switches
  36. //
  37. #define X_MIN_PIN PB14
  38. #define Y_MIN_PIN PB13
  39. #define Z_MIN_PIN PB12
  40. //
  41. // Z Probe (when not Z_MIN_PIN)
  42. //
  43. #ifndef Z_MIN_PROBE_PIN
  44. #define Z_MIN_PROBE_PIN PB9
  45. #endif
  46. //
  47. // Steppers
  48. //
  49. // X & Y enable are the same
  50. #define X_STEP_PIN PB7
  51. #define X_DIR_PIN PB6
  52. #define X_ENABLE_PIN PB8
  53. #define Y_STEP_PIN PB5
  54. #define Y_DIR_PIN PB4
  55. #define Y_ENABLE_PIN PB8
  56. #define Z_STEP_PIN PA15
  57. #define Z_DIR_PIN PA10
  58. #define Z_ENABLE_PIN PB3
  59. #define E0_STEP_PIN PA8
  60. #define E0_DIR_PIN PB15
  61. #define E0_ENABLE_PIN PA9
  62. //
  63. // Temperature Sensors
  64. //
  65. #define TEMP_0_PIN PB1 // Analog Input (HOTEND thermistor)
  66. #define TEMP_BED_PIN PB0 // Analog Input (BED thermistor)
  67. //
  68. // Heaters / Fans
  69. //
  70. #define HEATER_0_PIN PA2 // HOTEND MOSFET
  71. #define HEATER_BED_PIN PA0 // BED MOSFET
  72. #define FAN_PIN PA1 // FAN1 header on board - PRINT FAN
  73. //
  74. // Misc.
  75. //
  76. #define LED_PIN PC13
  77. #define SDSS PA3
  78. #define TFTGLCD_CS PA4