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.

SanityCheck.h 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /**
  2. * Marlin 3D Printer Firmware
  3. *
  4. * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
  5. * SAMD51 HAL developed by Giuliano Zaro (AKA GMagician)
  6. *
  7. * This program is free software: you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License as published by
  9. * the Free Software Foundation, either version 3 of the License, or
  10. * (at your option) any later version.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License
  18. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  19. *
  20. */
  21. /**
  22. * Test SAMD51 specific configuration values for errors at compile-time.
  23. */
  24. #if ENABLED(FLASH_EEPROM_EMULATION)
  25. #warning "Did you activate the SmartEEPROM? See https://github.com/GMagician/SAMD51-SmartEEprom-Manager/releases"
  26. #endif
  27. #if defined(ADAFRUIT_GRAND_CENTRAL_M4) && SD_CONNECTION_IS(CUSTOM_CABLE)
  28. #error "No custom SD drive cable defined for this board."
  29. #endif
  30. #if defined(MAX6675_SCK_PIN) && defined(MAX6675_DO_PIN) && (MAX6675_SCK_PIN == SCK1 || MAX6675_DO_PIN == MISO1)
  31. #error "OnBoard SPI BUS can't be shared with other devices."
  32. #endif
  33. #if ENABLED(EMERGENCY_PARSER)
  34. #error "EMERGENCY_PARSER is not yet implemented for SAMD51. Disable EMERGENCY_PARSER to continue."
  35. #endif
  36. #if ENABLED(SDIO_SUPPORT)
  37. #error "SDIO_SUPPORT is not supported on SAMD51."
  38. #endif
  39. #if ENABLED(FAST_PWM_FAN)
  40. #error "FAST_PWM_FAN is not yet implemented for this platform."
  41. #endif