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.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /* Alternate pin name */
  2. PA_0_ALT1 = PA_0 | ALT1,
  3. PA_1_ALT1 = PA_1 | ALT1,
  4. PA_2_ALT1 = PA_2 | ALT1,
  5. PA_2_ALT2 = PA_2 | ALT2,
  6. PA_3_ALT1 = PA_3 | ALT1,
  7. PA_3_ALT2 = PA_3 | ALT2,
  8. PA_4_ALT1 = PA_4 | ALT1,
  9. PA_7_ALT1 = PA_7 | ALT1,
  10. PA_15_ALT1 = PA_15 | ALT1,
  11. PB_0_ALT1 = PB_0 | ALT1,
  12. PB_1_ALT1 = PB_1 | ALT1,
  13. PB_3_ALT1 = PB_3 | ALT1,
  14. PB_4_ALT1 = PB_4 | ALT1,
  15. PB_5_ALT1 = PB_5 | ALT1,
  16. PB_8_ALT1 = PB_8 | ALT1,
  17. PB_9_ALT1 = PB_9 | ALT1,
  18. /* SYS_WKUP */
  19. #ifdef PWR_WAKEUP_PIN1
  20. SYS_WKUP1 = PA_0,
  21. #endif
  22. #ifdef PWR_WAKEUP_PIN2
  23. SYS_WKUP2 = NC,
  24. #endif
  25. #ifdef PWR_WAKEUP_PIN3
  26. SYS_WKUP3 = NC,
  27. #endif
  28. #ifdef PWR_WAKEUP_PIN4
  29. SYS_WKUP4 = NC,
  30. #endif
  31. #ifdef PWR_WAKEUP_PIN5
  32. SYS_WKUP5 = NC,
  33. #endif
  34. #ifdef PWR_WAKEUP_PIN6
  35. SYS_WKUP6 = NC,
  36. #endif
  37. #ifdef PWR_WAKEUP_PIN7
  38. SYS_WKUP7 = NC,
  39. #endif
  40. #ifdef PWR_WAKEUP_PIN8
  41. SYS_WKUP8 = NC,
  42. #endif
  43. /* USB */
  44. #ifdef USBCON
  45. USB_OTG_FS_DM = PA_11,
  46. USB_OTG_FS_DP = PA_12,
  47. USB_OTG_FS_ID = PA_10,
  48. USB_OTG_FS_SOF = PA_8,
  49. USB_OTG_FS_VBUS = PA_9,
  50. #endif