My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

pins_JGAURORA_A5S_A1.h 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (C) 2016 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 <http://www.gnu.org/licenses/>.
  20. *
  21. */
  22. /**
  23. * 2017 Victor Perez Marlin for stm32f1 test
  24. * 2018 Modified by Pablo Crespo for Morpheus Board (https://github.com/pscrespo/Morpheus-STM32)
  25. * 2019 Modified by Roberto Mariani & Samuel Pinches for JGAurora A5S & A1 Board.
  26. */
  27. /**
  28. * JGAurora A5S A1 Board pin assignments
  29. */
  30. #ifndef __STM32F1__
  31. #error "Oops! Select an STM32F1 board in 'Tools > Board.'"
  32. #endif
  33. #define BOARD_NAME "JGAurora A5S A1 board"
  34. // #define STM32_XL_DENSITY // required, but should be set by platformio flags, not here! (why? not sure.)
  35. //#define MCU_STM32F103ZE // not yet required
  36. // // I2C EEPROM with 64K of space - AT24C64
  37. // #define I2C_EEPROM
  38. // #define E2END 0x7FFF
  39. // Enable EEPROM Emulation for this board
  40. //#define FLASH_EEPROM_EMULATION 1
  41. //#define E2END 0xFFF //((uint32)(EEPROM_START_ADDRESS + EEPROM_PAGE_SIZE + EEPROM_PAGE_SIZE)) // not 0xFFF
  42. //#define EEPROM_CHITCHAT
  43. //#define DEBUG_EEPROM_READWRITE
  44. //
  45. // Limit Switches
  46. //
  47. #define X_STOP_PIN PC6
  48. #define Y_STOP_PIN PG8
  49. #define Z_STOP_PIN PG7
  50. //
  51. // Steppers
  52. //
  53. #define X_STEP_PIN PD6
  54. #define X_DIR_PIN PD3
  55. #define X_ENABLE_PIN PG9
  56. #define Y_STEP_PIN PG12
  57. #define Y_DIR_PIN PG11
  58. #define Y_ENABLE_PIN PG13
  59. #define Z_STEP_PIN PG15
  60. #define Z_DIR_PIN PG14
  61. #define Z_ENABLE_PIN PB8
  62. #define E0_STEP_PIN PE2
  63. #define E0_DIR_PIN PB9
  64. #define E0_ENABLE_PIN PE3
  65. #define E1_STEP_PIN PE5
  66. #define E1_DIR_PIN PE4
  67. #define E1_ENABLE_PIN PE6
  68. //
  69. // Temperature Sensors
  70. //
  71. #define TEMP_0_PIN PC2
  72. #define TEMP_BED_PIN PC1
  73. //
  74. // Heaters / Fans
  75. //
  76. #define HEATER_0_PIN PA2
  77. #define HEATER_BED_PIN PA3
  78. #define FAN_PIN PA1
  79. #define PS_ON_PIN PA0
  80. #define FIL_RUNOUT_PIN PC7
  81. //
  82. // LCD
  83. //
  84. #define LCD_BACKLIGHT_PIN PF11
  85. #define FSMC_CS_PIN PD7
  86. #define FSMC_RS_PIN PG0
  87. //
  88. // SD Card
  89. //
  90. #define SD_DETECT_PIN PF10
  91. //
  92. // Misc.
  93. //
  94. #define BEEPER_PIN PC3 // use PB7 to shut up if desired
  95. #define LED_PIN PC13
  96. // Touch support
  97. #define BTN_ENC PA11 // Real pin is needed to enable encoder's push button functionality used by touch screen. PA11 gives stable value.
  98. #define TOUCH_CS PA4
  99. //#define TOUCH_INTERRUPT PC4 // Not yet implemented
  100. #define NO_PAUSE_AFTER_PRINT