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

12345678910111213141516171819202122232425262728293031323334353637
  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. /**
  20. * HAL for stm32duino.com based on Libmaple and compatible (STM32F1)
  21. */
  22. #ifndef SPI_PINS_H_
  23. #define SPI_PINS_H_
  24. /**
  25. * Define SPI Pins: SCK, MISO, MOSI, SS
  26. *
  27. * Available chip select pins for HW SPI are 4 10 52 77
  28. */
  29. #define SCK_PIN PA5
  30. #define MISO_PIN PA6
  31. #define MOSI_PIN PA7
  32. #define SS_PIN PA4
  33. #endif // SPI_PINS_H_