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.

PinNamesVar.h 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /* Remap pin name */
  2. PA_9_R = PA_9 | PREMAP,
  3. PA_10_R = PA_10 | PREMAP,
  4. /* Alternate pin name */
  5. PA_1_ALT1 = PA_1 | ALT1,
  6. PA_2_ALT1 = PA_2 | ALT1,
  7. PA_3_ALT1 = PA_3 | ALT1,
  8. PA_4_ALT1 = PA_4 | ALT1,
  9. PA_6_ALT1 = PA_6 | ALT1,
  10. PA_6_ALT2 = PA_6 | ALT2,
  11. PA_7_ALT1 = PA_7 | ALT1,
  12. PA_7_ALT2 = PA_7 | ALT2,
  13. PA_7_ALT3 = PA_7 | ALT3,
  14. PA_9_ALT1 = PA_9 | ALT1,
  15. PA_9_R_ALT1 = PA_9_R | ALT1,
  16. PA_10_ALT1 = PA_10 | ALT1,
  17. PA_10_R_ALT1 = PA_10_R | ALT1,
  18. PA_14_ALT1 = PA_14 | ALT1,
  19. PA_15_ALT1 = PA_15 | ALT1,
  20. PB_0_ALT1 = PB_0 | ALT1,
  21. PB_1_ALT1 = PB_1 | ALT1,
  22. PB_1_ALT2 = PB_1 | ALT2,
  23. PB_3_ALT1 = PB_3 | ALT1,
  24. PB_4_ALT1 = PB_4 | ALT1,
  25. PB_5_ALT1 = PB_5 | ALT1,
  26. PB_6_ALT1 = PB_6 | ALT1,
  27. PB_6_ALT2 = PB_6 | ALT2,
  28. PB_7_ALT1 = PB_7 | ALT1,
  29. PB_8_ALT1 = PB_8 | ALT1,
  30. PB_9_ALT1 = PB_9 | ALT1,
  31. PB_13_ALT1 = PB_13 | ALT1,
  32. PB_14_ALT1 = PB_14 | ALT1,
  33. PB_15_ALT1 = PB_15 | ALT1,
  34. PB_15_ALT2 = PB_15 | ALT2,
  35. PC_0_ALT1 = PC_0 | ALT1,
  36. PC_1_ALT1 = PC_1 | ALT1,
  37. PC_4_ALT1 = PC_4 | ALT1,
  38. PC_5_ALT1 = PC_5 | ALT1,
  39. PC_6_ALT1 = PC_6 | ALT1,
  40. PC_7_ALT1 = PC_7 | ALT1,
  41. PC_8_ALT1 = PC_8 | ALT1,
  42. PC_9_ALT1 = PC_9 | ALT1,
  43. PC_10_ALT1 = PC_10 | ALT1,
  44. PC_11_ALT1 = PC_11 | ALT1,
  45. PD_4_ALT1 = PD_4 | ALT1,
  46. /* SYS_WKUP */
  47. #ifdef PWR_WAKEUP_PIN1
  48. SYS_WKUP1 = PA_0,
  49. #endif
  50. #ifdef PWR_WAKEUP_PIN2
  51. SYS_WKUP2 = PC_13,
  52. #endif
  53. #ifdef PWR_WAKEUP_PIN3
  54. SYS_WKUP3 = NC,
  55. #endif
  56. #ifdef PWR_WAKEUP_PIN4
  57. SYS_WKUP4 = PA_2,
  58. #endif
  59. #ifdef PWR_WAKEUP_PIN5
  60. SYS_WKUP5 = PC_5,
  61. #endif
  62. #ifdef PWR_WAKEUP_PIN6
  63. SYS_WKUP6 = PB_5,
  64. #endif
  65. #ifdef PWR_WAKEUP_PIN7
  66. SYS_WKUP7 = NC,
  67. #endif
  68. #ifdef PWR_WAKEUP_PIN8
  69. SYS_WKUP8 = NC,
  70. #endif
  71. /* USB */
  72. #ifdef USBCON
  73. USB_DM = PA_11,
  74. USB_DP = PA_12,
  75. #ifdef USB_NOE_PA_4
  76. USB_NOE = PA_4,
  77. #endif
  78. #ifdef USB_NOE_PA_13
  79. USB_NOE = PA_13,
  80. #endif
  81. #ifdef USB_NOE_PA_15
  82. USB_NOE = PA_15,
  83. #endif
  84. #ifdef USB_NOE_PC_9
  85. USB_NOE = PC_9,
  86. #endif
  87. #endif