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.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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. * https://jgaurorawiki.com/_media/jgaurora_a5s_a1_pinout.png
  30. */
  31. #include "env_validate.h"
  32. #if HOTENDS > 1 || E_STEPPERS > 1
  33. #error "JGAurora A5S A1 only supports one hotend / E-stepper. Comment out this line to continue."
  34. #endif
  35. #define BOARD_INFO_NAME "JGAurora A5S A1"
  36. #define BOARD_NO_NATIVE_USB
  37. #ifndef STM32_XL_DENSITY
  38. #define STM32_XL_DENSITY
  39. #endif
  40. //#define MCU_STM32F103ZE // not yet required
  41. // Enable EEPROM Emulation for this board, so that we don't overwrite factory data
  42. #if NO_EEPROM_SELECTED
  43. //#define I2C_EEPROM // AT24C64
  44. //#define FLASH_EEPROM_EMULATION
  45. #endif
  46. #if ENABLED(I2C_EEPROM)
  47. //#define MARLIN_EEPROM_SIZE 0x8000UL // 32KB
  48. #elif ENABLED(FLASH_EEPROM_EMULATION)
  49. //#define MARLIN_EEPROM_SIZE 0x1000UL // 4KB
  50. //#define MARLIN_EEPROM_SIZE (EEPROM_START_ADDRESS + (EEPROM_PAGE_SIZE) * 2UL)
  51. #endif
  52. //
  53. // Limit Switches
  54. //
  55. #define X_STOP_PIN PC6
  56. #define Y_STOP_PIN PG8
  57. #define Z_STOP_PIN PG7
  58. //#define X_MAX_PIN PC5
  59. //#define Y_MAX_PIN PC4
  60. //#define Z_MAX_PIN PB0
  61. //
  62. // Steppers
  63. //
  64. #define X_STEP_PIN PD6
  65. #define X_DIR_PIN PD3
  66. #define X_ENABLE_PIN PG9
  67. #define Y_STEP_PIN PG12
  68. #define Y_DIR_PIN PG11
  69. #define Y_ENABLE_PIN PG13
  70. #define Z_STEP_PIN PG15
  71. #define Z_DIR_PIN PG14
  72. #define Z_ENABLE_PIN PB8
  73. #define E0_STEP_PIN PE2
  74. #define E0_DIR_PIN PB9
  75. #define E0_ENABLE_PIN PE3
  76. #define E1_STEP_PIN PE5
  77. #define E1_DIR_PIN PE4
  78. #define E1_ENABLE_PIN PE6
  79. //
  80. // Temperature Sensors
  81. //
  82. #define TEMP_0_PIN PC2
  83. #define TEMP_BED_PIN PC1
  84. //
  85. // Heaters / Fans
  86. //
  87. #define HEATER_0_PIN PA2
  88. #define HEATER_BED_PIN PA3
  89. #define FAN_PIN PA1
  90. #define FIL_RUNOUT_PIN PC7
  91. //
  92. // TFT with FSMC interface
  93. //
  94. #if HAS_FSMC_TFT
  95. #define LCD_BACKLIGHT_PIN PF11
  96. #define FSMC_CS_PIN PD7
  97. #define FSMC_RS_PIN PG0
  98. #define LCD_USE_DMA_FSMC // Use DMA transfers to send data to the TFT
  99. #define FSMC_DMA_DEV DMA2
  100. #define FSMC_DMA_CHANNEL DMA_CH5
  101. #define TFT_CS_PIN FSMC_CS_PIN
  102. #define TFT_RS_PIN FSMC_RS_PIN
  103. #endif
  104. //
  105. // SD Card
  106. //
  107. #define SD_DETECT_PIN PF10
  108. //
  109. // Misc.
  110. //
  111. #define BEEPER_PIN PC3 // use PB7 to shut up if desired
  112. #define LED_PIN PC13
  113. //
  114. // Touch support
  115. //
  116. #if NEED_TOUCH_PINS
  117. #define TOUCH_CS_PIN PA4
  118. #define TOUCH_INT_PIN PC4
  119. #define TOUCH_MISO_PIN PA6
  120. #define TOUCH_MOSI_PIN PA7
  121. #define TOUCH_SCK_PIN PA5
  122. #endif