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.

spi_pins.h 1.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
  4. *
  5. * This program is free software: you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation, either version 3 of the License, or
  8. * (at your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. *
  18. */
  19. #ifndef SPI_PINS_H_
  20. #define SPI_PINS_H_
  21. /**
  22. * Define SPI Pins: SCK, MISO, MOSI, SS
  23. *
  24. */
  25. #ifndef SCK_PIN
  26. #define SCK_PIN PA5
  27. #endif
  28. #ifndef MISO_PIN
  29. #define MISO_PIN PA6
  30. #endif
  31. #ifndef MOSI_PIN
  32. #define MOSI_PIN PA7
  33. #endif
  34. #ifndef SS_PIN
  35. #define SS_PIN PA8
  36. #endif
  37. #endif // SPI_PINS_H_