My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

common-dependencies.h 3.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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. /**
  23. * The purpose of this file is just include Marlin Configuration files,
  24. * to discover which FEATURES are enabled, without any HAL include.
  25. * Used by common-dependencies.py
  26. */
  27. #include "../../../../Marlin/src/inc/MarlinConfig.h"
  28. //
  29. // Conditionals only used for [features]
  30. //
  31. #if ENABLED(SR_LCD_3W_NL)
  32. // Feature checks for SR_LCD_3W_NL
  33. #elif EITHER(LCD_I2C_TYPE_MCP23017, LCD_I2C_TYPE_MCP23008)
  34. #define USES_LIQUIDTWI2
  35. #elif ENABLED(LCD_I2C_TYPE_PCA8574)
  36. #define USES_LIQUIDCRYSTAL_I2C
  37. #elif ANY(HAS_MARLINUI_HD44780, LCD_I2C_TYPE_PCF8575, SR_LCD_2W_NL, LCM1602)
  38. #define USES_LIQUIDCRYSTAL
  39. #endif
  40. #if SAVED_POSITIONS
  41. #define HAS_SAVED_POSITIONS
  42. #endif
  43. #if ENABLED(HOST_PROMPT_SUPPORT) && DISABLED(EMERGENCY_PARSER)
  44. #define HAS_GCODE_M876
  45. #endif
  46. #if ENABLED(DUET_SMART_EFFECTOR) && PIN_EXISTS(SMART_EFFECTOR_MOD)
  47. #define HAS_SMART_EFF_MOD
  48. #endif
  49. #if HAS_LCD_MENU
  50. #if ENABLED(BACKLASH_GCODE)
  51. #define HAS_MENU_BACKLASH
  52. #endif
  53. #if ENABLED(LEVEL_BED_CORNERS)
  54. #define HAS_MENU_BED_CORNERS
  55. #endif
  56. #if ENABLED(CANCEL_OBJECTS)
  57. #define HAS_MENU_CANCELOBJECT
  58. #endif
  59. #if EITHER(DELTA_CALIBRATION_MENU, DELTA_AUTO_CALIBRATION)
  60. #define HAS_MENU_DELTA_CALIBRATE
  61. #endif
  62. #if EITHER(LED_CONTROL_MENU, CASE_LIGHT_MENU)
  63. #define HAS_MENU_LED
  64. #endif
  65. #if ENABLED(ADVANCED_PAUSE_FEATURE)
  66. #define HAS_MENU_FILAMENT
  67. #endif
  68. #if ENABLED(SDSUPPORT)
  69. #define HAS_MENU_MEDIA
  70. #endif
  71. #if ENABLED(MIXING_EXTRUDER)
  72. #define HAS_MENU_MIXER
  73. #endif
  74. #if ENABLED(POWER_LOSS_RECOVERY)
  75. #define HAS_MENU_JOB_RECOVERY
  76. #endif
  77. #if HAS_POWER_MONITOR
  78. #define HAS_MENU_POWER_MONITOR
  79. #endif
  80. #if HAS_CUTTER
  81. #define HAS_MENU_CUTTER
  82. #endif
  83. #if HAS_TEMPERATURE
  84. #define HAS_MENU_TEMPERATURE
  85. #endif
  86. #if ENABLED(MMU2_MENUS)
  87. #define HAS_MENU_MMU2
  88. #endif
  89. #if ENABLED(PASSWORD_FEATURE)
  90. #define HAS_MENU_PASSWORD
  91. #endif
  92. #if HAS_TRINAMIC_CONFIG
  93. #define HAS_MENU_TMC
  94. #endif
  95. #if ENABLED(TOUCH_SCREEN_CALIBRATION)
  96. #define HAS_MENU_TOUCH_SCREEN
  97. #endif
  98. #if ENABLED(ASSISTED_TRAMMING_WIZARD)
  99. #define HAS_MENU_TRAMMING
  100. #endif
  101. #if ENABLED(AUTO_BED_LEVELING_UBL)
  102. #define HAS_MENU_UBL
  103. #endif
  104. #endif