My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

SanityCheck.h 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
  4. *
  5. * Based on Sprinter and grbl.
  6. * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
  7. *
  8. * This program is free software: you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation, either version 3 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program. If not, see <https://www.gnu.org/licenses/>.
  20. *
  21. */
  22. #pragma once
  23. #if ENABLED(EMERGENCY_PARSER)
  24. #error "EMERGENCY_PARSER is not yet implemented for ESP32. Disable EMERGENCY_PARSER to continue."
  25. #endif
  26. #if (ENABLED(SPINDLE_LASER_USE_PWM) && SPINDLE_LASER_FREQUENCY > 78125) || (ENABLED(FAST_PWM_FAN_FREQUENCY) && FAST_PWM_FAN_FREQUENCY > 78125)
  27. #error "SPINDLE_LASER_FREQUENCY and FAST_PWM_FREQUENCY maximum value is 78125Hz for ESP32."
  28. #endif
  29. #if HAS_TMC_SW_SERIAL
  30. #error "TMC220x Software Serial is not supported on ESP32."
  31. #endif
  32. #if BOTH(WIFISUPPORT, ESP3D_WIFISUPPORT)
  33. #error "Only enable one WiFi option, either WIFISUPPORT or ESP3D_WIFISUPPORT."
  34. #endif
  35. #if ENABLED(POSTMORTEM_DEBUGGING)
  36. #error "POSTMORTEM_DEBUGGING is not yet supported on ESP32."
  37. #endif
  38. #if MB(MKS_TINYBEE) && ENABLED(FAST_PWM_FAN)
  39. #error "FAST_PWM_FAN is not available on TinyBee."
  40. #endif
  41. #if USING_PULLDOWNS
  42. #error "PULLDOWN pin mode is not available on ESP32 boards."
  43. #endif
  44. #if BOTH(I2S_STEPPER_STREAM, LIN_ADVANCE) && DISABLED(EXPERIMENTAL_I2S_LA)
  45. #error "I2S stream is currently incompatible with LIN_ADVANCE."
  46. #endif