My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

common-dependencies.h 3.2KB

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