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.

common-dependencies.h 2.9KB

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