My Marlin configs for Fabrikator Mini and CTC i3 Pro B
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

common-dependencies.h 3.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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 EXTRUDERS
  47. #define HAS_EXTRUDERS
  48. #endif
  49. #if ENABLED(DUET_SMART_EFFECTOR) && PIN_EXISTS(SMART_EFFECTOR_MOD)
  50. #define HAS_SMART_EFF_MOD
  51. #endif
  52. #if HAS_LCD_MENU
  53. #if ENABLED(BACKLASH_GCODE)
  54. #define HAS_MENU_BACKLASH
  55. #endif
  56. #if ENABLED(LEVEL_BED_CORNERS)
  57. #define HAS_MENU_BED_CORNERS
  58. #endif
  59. #if ENABLED(CANCEL_OBJECTS)
  60. #define HAS_MENU_CANCELOBJECT
  61. #endif
  62. #if EITHER(DELTA_CALIBRATION_MENU, DELTA_AUTO_CALIBRATION)
  63. #define HAS_MENU_DELTA_CALIBRATE
  64. #endif
  65. #if EITHER(LED_CONTROL_MENU, CASE_LIGHT_MENU)
  66. #define HAS_MENU_LED
  67. #endif
  68. #if ENABLED(ADVANCED_PAUSE_FEATURE)
  69. #define HAS_MENU_FILAMENT
  70. #endif
  71. #if ENABLED(SDSUPPORT)
  72. #define HAS_MENU_MEDIA
  73. #endif
  74. #if ENABLED(MIXING_EXTRUDER)
  75. #define HAS_MENU_MIXER
  76. #endif
  77. #if ENABLED(POWER_LOSS_RECOVERY)
  78. #define HAS_MENU_JOB_RECOVERY
  79. #endif
  80. #if HAS_POWER_MONITOR
  81. #define HAS_MENU_POWER_MONITOR
  82. #endif
  83. #if HAS_CUTTER
  84. #define HAS_MENU_CUTTER
  85. #endif
  86. #if HAS_TEMPERATURE
  87. #define HAS_MENU_TEMPERATURE
  88. #endif
  89. #if ENABLED(MMU2_MENUS)
  90. #define HAS_MENU_MMU2
  91. #endif
  92. #if ENABLED(PASSWORD_FEATURE)
  93. #define HAS_MENU_PASSWORD
  94. #endif
  95. #if HAS_TRINAMIC_CONFIG
  96. #define HAS_MENU_TMC
  97. #endif
  98. #if ENABLED(TOUCH_SCREEN_CALIBRATION)
  99. #define HAS_MENU_TOUCH_SCREEN
  100. #endif
  101. #if ENABLED(ASSISTED_TRAMMING_WIZARD)
  102. #define HAS_MENU_TRAMMING
  103. #endif
  104. #if ENABLED(AUTO_BED_LEVELING_UBL)
  105. #define HAS_MENU_UBL
  106. #endif
  107. #endif