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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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. * ╦╔═╗╔═╗┬ ┬┬─┐┌─┐┬─┐┌─┐╔═╗┌─┐┬─┐┬ ┬┌┬┐ ┌─┐┌─┐┌┬┐
  25. * ║║ ╦╠═╣│ │├┬┘│ │├┬┘├─┤╠╣ │ │├┬┘│ ││││ │ │ ││││
  26. * ╚╝╚═╝╩ ╩└─┘┴└─└─┘┴└─┴ ┴╚ └─┘┴└─└─┘┴ ┴o└─┘└─┘┴ ┴
  27. * Pin assignments for 32-bit JGAurora A5S & A1
  28. */
  29. #if NOT_TARGET(__STM32F1__)
  30. #error "Oops! Select an STM32F1 board in 'Tools > Board.'"
  31. #elif HOTENDS > 1 || E_STEPPERS > 1
  32. #error "JGAurora 32-bit board only supports 1 hotend / E-stepper. Comment out this line to continue."
  33. #endif
  34. #define BOARD_INFO_NAME "JGAurora A5S A1 board"
  35. #ifndef STM32_XL_DENSITY
  36. #define STM32_XL_DENSITY
  37. #endif
  38. //#define MCU_STM32F103ZE // not yet required
  39. // Enable EEPROM Emulation for this board, so that we don't overwrite factory data
  40. //#define I2C_EEPROM // AT24C64
  41. //#define MARLIN_EEPROM_SIZE 0x8000UL // 64KB
  42. //#define FLASH_EEPROM_EMULATION
  43. //#define MARLIN_EEPROM_SIZE 0x1000UL // 4KB
  44. //#define MARLIN_EEPROM_SIZE (EEPROM_START_ADDRESS + (EEPROM_PAGE_SIZE) * 2UL)
  45. //#define EEPROM_CHITCHAT
  46. //#define DEBUG_EEPROM_READWRITE
  47. //
  48. // Limit Switches
  49. //
  50. #define X_STOP_PIN PC6
  51. #define Y_STOP_PIN PG8
  52. #define Z_STOP_PIN PG7
  53. //#define X_MAX_PIN PC5
  54. //#define Y_MAX_PIN PC4
  55. //#define Z_MAX_PIN PB0
  56. //
  57. // Steppers
  58. //
  59. #define X_STEP_PIN PD6
  60. #define X_DIR_PIN PD3
  61. #define X_ENABLE_PIN PG9
  62. #define Y_STEP_PIN PG12
  63. #define Y_DIR_PIN PG11
  64. #define Y_ENABLE_PIN PG13
  65. #define Z_STEP_PIN PG15
  66. #define Z_DIR_PIN PG14
  67. #define Z_ENABLE_PIN PB8
  68. #define E0_STEP_PIN PE2
  69. #define E0_DIR_PIN PB9
  70. #define E0_ENABLE_PIN PE3
  71. #define E1_STEP_PIN PE5
  72. #define E1_DIR_PIN PE4
  73. #define E1_ENABLE_PIN PE6
  74. //
  75. // Temperature Sensors
  76. //
  77. #define TEMP_0_PIN PC2
  78. #define TEMP_BED_PIN PC1
  79. //
  80. // Heaters / Fans
  81. //
  82. #define HEATER_0_PIN PA2
  83. #define HEATER_BED_PIN PA3
  84. #define FAN_PIN PA1
  85. #define FIL_RUNOUT_PIN PC7
  86. //
  87. // LCD
  88. //
  89. #define LCD_BACKLIGHT_PIN PF11
  90. #define FSMC_CS_PIN PD7
  91. #define FSMC_RS_PIN PG0
  92. #define LCD_USE_DMA_FSMC // Use DMA transfers to send data to the TFT
  93. #define FSMC_DMA_DEV DMA2
  94. #define FSMC_DMA_CHANNEL DMA_CH5
  95. //
  96. // SD Card
  97. //
  98. #define SD_DETECT_PIN PF10
  99. //
  100. // Misc.
  101. //
  102. #define BEEPER_PIN PC3 // use PB7 to shut up if desired
  103. #define LED_PIN PC13
  104. //
  105. // Touch support
  106. //
  107. #if NEED_TOUCH_PINS
  108. #define TOUCH_CS_PIN PA4
  109. #define TOUCH_INT_PIN PC4
  110. #endif