My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Conditionals_LCD.h 14KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (C) 2016 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 <http://www.gnu.org/licenses/>.
  20. *
  21. */
  22. /**
  23. * Conditionals_LCD.h
  24. * Conditionals that need to be set before Configuration_adv.h or pins.h
  25. */
  26. #ifndef CONDITIONALS_LCD_H // Get the LCD defines which are needed first
  27. #define CONDITIONALS_LCD_H
  28. #define LCD_HAS_DIRECTIONAL_BUTTONS (BUTTON_EXISTS(UP) || BUTTON_EXISTS(DWN) || BUTTON_EXISTS(LFT) || BUTTON_EXISTS(RT))
  29. #if ENABLED(CARTESIO_UI)
  30. #define DOGLCD
  31. #define ULTIPANEL
  32. #define DEFAULT_LCD_CONTRAST 90
  33. #define LCD_CONTRAST_MIN 60
  34. #define LCD_CONTRAST_MAX 140
  35. #elif ENABLED(MAKRPANEL)
  36. #define U8GLIB_ST7565_64128N
  37. #elif ENABLED(ANET_KEYPAD_LCD)
  38. #define REPRAPWORLD_KEYPAD
  39. #define REPRAPWORLD_KEYPAD_MOVE_STEP 10.0
  40. #define ADC_KEYPAD
  41. #define ADC_KEY_NUM 8
  42. #define ULTIPANEL
  43. // this helps to implement ADC_KEYPAD menus
  44. #define ENCODER_PULSES_PER_STEP 1
  45. #define ENCODER_STEPS_PER_MENU_ITEM 1
  46. #define REVERSE_MENU_DIRECTION
  47. #elif ENABLED(ANET_FULL_GRAPHICS_LCD)
  48. #define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
  49. #elif ENABLED(BQ_LCD_SMART_CONTROLLER)
  50. #define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
  51. #elif ENABLED(miniVIKI) || ENABLED(VIKI2) || ENABLED(ELB_FULL_GRAPHIC_CONTROLLER) || ENABLED(AZSMZ_12864)
  52. #define ULTRA_LCD //general LCD support, also 16x2
  53. #define DOGLCD // Support for SPI LCD 128x64 (Controller ST7565R graphic Display Family)
  54. #define ULTIMAKERCONTROLLER //as available from the Ultimaker online store.
  55. #if ENABLED(miniVIKI)
  56. #define LCD_CONTRAST_MIN 75
  57. #define LCD_CONTRAST_MAX 115
  58. #define DEFAULT_LCD_CONTRAST 95
  59. #define U8GLIB_ST7565_64128N
  60. #elif ENABLED(VIKI2)
  61. #define LCD_CONTRAST_MIN 0
  62. #define LCD_CONTRAST_MAX 255
  63. #define DEFAULT_LCD_CONTRAST 140
  64. #define U8GLIB_ST7565_64128N
  65. #elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
  66. #define LCD_CONTRAST_MIN 90
  67. #define LCD_CONTRAST_MAX 130
  68. #define DEFAULT_LCD_CONTRAST 110
  69. #define U8GLIB_LM6059_AF
  70. #define SD_DETECT_INVERTED
  71. #elif ENABLED(AZSMZ_12864)
  72. #define LCD_CONTRAST_MIN 120
  73. #define LCD_CONTRAST_MAX 255
  74. #define DEFAULT_LCD_CONTRAST 190
  75. #define U8GLIB_ST7565_64128N
  76. #endif
  77. #elif ENABLED(OLED_PANEL_TINYBOY2)
  78. #define U8GLIB_SSD1306
  79. #define ULTIPANEL
  80. #define REVERSE_ENCODER_DIRECTION
  81. #define REVERSE_MENU_DIRECTION
  82. #elif ENABLED(RA_CONTROL_PANEL)
  83. #define LCD_I2C_TYPE_PCA8574
  84. #define LCD_I2C_ADDRESS 0x27 // I2C Address of the port expander
  85. #define ULTIPANEL
  86. #elif ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
  87. #define DOGLCD
  88. #define U8GLIB_ST7920
  89. #define ULTIPANEL
  90. #elif ENABLED(CR10_STOCKDISPLAY)
  91. #define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
  92. #ifndef ST7920_DELAY_1
  93. #define ST7920_DELAY_1 DELAY_2_NOP
  94. #endif
  95. #ifndef ST7920_DELAY_2
  96. #define ST7920_DELAY_2 DELAY_2_NOP
  97. #endif
  98. #ifndef ST7920_DELAY_3
  99. #define ST7920_DELAY_3 DELAY_2_NOP
  100. #endif
  101. #elif ENABLED(MKS_12864OLED)
  102. #define REPRAP_DISCOUNT_SMART_CONTROLLER
  103. #define U8GLIB_SH1106
  104. #elif ENABLED(MKS_MINI_12864)
  105. #define MINIPANEL
  106. #endif
  107. #if ENABLED(MAKRPANEL) || ENABLED(MINIPANEL)
  108. #define DOGLCD
  109. #define ULTIPANEL
  110. #define DEFAULT_LCD_CONTRAST 17
  111. #endif
  112. // Generic support for SSD1306 / SH1106 OLED based LCDs.
  113. #if ENABLED(U8GLIB_SSD1306) || ENABLED(U8GLIB_SH1106)
  114. #define ULTRA_LCD //general LCD support, also 16x2
  115. #define DOGLCD // Support for I2C LCD 128x64 (Controller SSD1306 / SH1106 graphic Display Family)
  116. #endif
  117. #if ENABLED(PANEL_ONE) || ENABLED(U8GLIB_SH1106)
  118. #define ULTIMAKERCONTROLLER
  119. #elif ENABLED(MAKEBOARD_MINI_2_LINE_DISPLAY_1602)
  120. #define REPRAP_DISCOUNT_SMART_CONTROLLER
  121. #define LCD_WIDTH 16
  122. #define LCD_HEIGHT 2
  123. #endif
  124. #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) || ENABLED(LCD_FOR_MELZI) || ENABLED(SILVER_GATE_GLCD_CONTROLLER)
  125. #define DOGLCD
  126. #define U8GLIB_ST7920
  127. #define REPRAP_DISCOUNT_SMART_CONTROLLER
  128. #endif
  129. #if ENABLED(ULTIMAKERCONTROLLER) \
  130. || ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) \
  131. || ENABLED(G3D_PANEL) \
  132. || ENABLED(RIGIDBOT_PANEL)
  133. #define ULTIPANEL
  134. #endif
  135. #if ENABLED(REPRAPWORLD_KEYPAD)
  136. #define NEWPANEL
  137. #if ENABLED(ULTIPANEL) && !defined(REPRAPWORLD_KEYPAD_MOVE_STEP)
  138. #define REPRAPWORLD_KEYPAD_MOVE_STEP 1.0
  139. #endif
  140. #endif
  141. /**
  142. * I2C PANELS
  143. */
  144. #if ENABLED(LCD_I2C_SAINSMART_YWROBOT)
  145. // Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
  146. // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
  147. #define LCD_I2C_TYPE_PCF8575
  148. #define LCD_I2C_ADDRESS 0x27 // I2C Address of the port expander
  149. #define ULTIPANEL
  150. #elif ENABLED(LCD_I2C_PANELOLU2)
  151. // PANELOLU2 LCD with status LEDs, separate encoder and click inputs
  152. #define LCD_I2C_TYPE_MCP23017
  153. #define LCD_I2C_ADDRESS 0x20 // I2C Address of the port expander
  154. #define LCD_USE_I2C_BUZZER //comment out to disable buzzer on LCD
  155. #define ULTIPANEL
  156. #elif ENABLED(LCD_I2C_VIKI)
  157. /**
  158. * Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
  159. *
  160. * This uses the LiquidTWI2 library v1.2.3 or later ( https://github.com/lincomatic/LiquidTWI2 )
  161. * Make sure the LiquidTWI2 directory is placed in the Arduino or Sketchbook libraries subdirectory.
  162. * Note: The pause/stop/resume LCD button pin should be connected to the Arduino
  163. * BTN_ENC pin (or set BTN_ENC to -1 if not used)
  164. */
  165. #define LCD_I2C_TYPE_MCP23017
  166. #define LCD_I2C_ADDRESS 0x20 // I2C Address of the port expander
  167. #define LCD_USE_I2C_BUZZER //comment out to disable buzzer on LCD (requires LiquidTWI2 v1.2.3 or later)
  168. #define ULTIPANEL
  169. #define ENCODER_FEEDRATE_DEADZONE 4
  170. #define STD_ENCODER_PULSES_PER_STEP 1
  171. #define STD_ENCODER_STEPS_PER_MENU_ITEM 2
  172. #elif ENABLED(G3D_PANEL)
  173. #define STD_ENCODER_PULSES_PER_STEP 2
  174. #define STD_ENCODER_STEPS_PER_MENU_ITEM 1
  175. #elif ENABLED(miniVIKI) || ENABLED(VIKI2) \
  176. || ENABLED(ELB_FULL_GRAPHIC_CONTROLLER) \
  177. || ENABLED(AZSMZ_12864) \
  178. || ENABLED(OLED_PANEL_TINYBOY2) \
  179. || ENABLED(BQ_LCD_SMART_CONTROLLER) \
  180. || ENABLED(LCD_I2C_PANELOLU2) \
  181. || ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
  182. #define STD_ENCODER_PULSES_PER_STEP 4
  183. #define STD_ENCODER_STEPS_PER_MENU_ITEM 1
  184. #endif
  185. #ifndef STD_ENCODER_PULSES_PER_STEP
  186. #define STD_ENCODER_PULSES_PER_STEP 5
  187. #endif
  188. #ifndef STD_ENCODER_STEPS_PER_MENU_ITEM
  189. #define STD_ENCODER_STEPS_PER_MENU_ITEM 1
  190. #endif
  191. #ifndef ENCODER_PULSES_PER_STEP
  192. #define ENCODER_PULSES_PER_STEP STD_ENCODER_PULSES_PER_STEP
  193. #endif
  194. #ifndef ENCODER_STEPS_PER_MENU_ITEM
  195. #define ENCODER_STEPS_PER_MENU_ITEM STD_ENCODER_STEPS_PER_MENU_ITEM
  196. #endif
  197. #ifndef ENCODER_FEEDRATE_DEADZONE
  198. #define ENCODER_FEEDRATE_DEADZONE 6
  199. #endif
  200. // Shift register panels
  201. // ---------------------
  202. // 2 wire Non-latching LCD SR from:
  203. // https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/schematics#!shiftregister-connection
  204. #if ENABLED(SAV_3DLCD)
  205. #define SR_LCD_2W_NL // Non latching 2 wire shift register
  206. #define ULTIPANEL
  207. #endif
  208. #if ENABLED(DOGLCD) // Change number of lines to match the DOG graphic display
  209. #ifndef LCD_WIDTH
  210. #define LCD_WIDTH 22
  211. #endif
  212. #ifndef LCD_HEIGHT
  213. #define LCD_HEIGHT 5
  214. #endif
  215. #endif
  216. #if ENABLED(ULTIPANEL)
  217. #define NEWPANEL // Disable this if you actually have no click-encoder panel
  218. #define ULTRA_LCD
  219. #ifndef LCD_WIDTH
  220. #define LCD_WIDTH 20
  221. #endif
  222. #ifndef LCD_HEIGHT
  223. #define LCD_HEIGHT 4
  224. #endif
  225. #elif ENABLED(ULTRA_LCD) // no panel but just LCD
  226. #ifndef LCD_WIDTH
  227. #define LCD_WIDTH 16
  228. #endif
  229. #ifndef LCD_HEIGHT
  230. #define LCD_HEIGHT 2
  231. #endif
  232. #endif
  233. #if ENABLED(DOGLCD)
  234. /* Custom characters defined in font dogm_font_data_Marlin_symbols.h / Marlin_symbols.fon */
  235. // \x00 intentionally skipped to avoid problems in strings
  236. #define LCD_STR_REFRESH "\x01"
  237. #define LCD_STR_FOLDER "\x02"
  238. #define LCD_STR_ARROW_RIGHT "\x03"
  239. #define LCD_STR_UPLEVEL "\x04"
  240. #define LCD_STR_CLOCK "\x05"
  241. #define LCD_STR_FEEDRATE "\x06"
  242. #define LCD_STR_BEDTEMP "\x07"
  243. #define LCD_STR_THERMOMETER "\x08"
  244. #define LCD_STR_DEGREE "\x09"
  245. #define LCD_STR_SPECIAL_MAX '\x09'
  246. // Maximum here is 0x1F because 0x20 is ' ' (space) and the normal charsets begin.
  247. // Better stay below 0x10 because DISPLAY_CHARSET_HD44780_WESTERN begins here.
  248. // Symbol characters
  249. #define LCD_STR_FILAM_DIA "\xf8"
  250. #define LCD_STR_FILAM_MUL "\xa4"
  251. #else
  252. /* Custom characters defined in the first 8 characters of the LCD */
  253. #define LCD_BEDTEMP_CHAR 0x00 // Print only as a char. This will have 'unexpected' results when used in a string!
  254. #define LCD_DEGREE_CHAR 0x01
  255. #define LCD_STR_THERMOMETER "\x02" // Still used with string concatenation
  256. #define LCD_UPLEVEL_CHAR 0x03
  257. #define LCD_STR_REFRESH "\x04"
  258. #define LCD_STR_FOLDER "\x05"
  259. #define LCD_FEEDRATE_CHAR 0x06
  260. #define LCD_CLOCK_CHAR 0x07
  261. #define LCD_STR_ARROW_RIGHT ">" /* from the default character set */
  262. #endif
  263. /**
  264. * Default LCD contrast for dogm-like LCD displays
  265. */
  266. #if ENABLED(DOGLCD)
  267. #define HAS_LCD_CONTRAST ( \
  268. ENABLED(MAKRPANEL) \
  269. || ENABLED(CARTESIO_UI) \
  270. || ENABLED(VIKI2) \
  271. || ENABLED(AZSMZ_12864) \
  272. || ENABLED(miniVIKI) \
  273. || ENABLED(ELB_FULL_GRAPHIC_CONTROLLER) \
  274. )
  275. #if HAS_LCD_CONTRAST
  276. #ifndef LCD_CONTRAST_MIN
  277. #define LCD_CONTRAST_MIN 0
  278. #endif
  279. #ifndef LCD_CONTRAST_MAX
  280. #define LCD_CONTRAST_MAX 63
  281. #endif
  282. #ifndef DEFAULT_LCD_CONTRAST
  283. #define DEFAULT_LCD_CONTRAST 32
  284. #endif
  285. #endif
  286. #endif
  287. // Boot screens
  288. #if DISABLED(ULTRA_LCD)
  289. #undef SHOW_BOOTSCREEN
  290. #elif !defined(BOOTSCREEN_TIMEOUT)
  291. #define BOOTSCREEN_TIMEOUT 2500
  292. #endif
  293. #define HAS_DEBUG_MENU ENABLED(LCD_PROGRESS_BAR_TEST)
  294. // MK2 Multiplexer forces SINGLENOZZLE to be enabled
  295. #if ENABLED(MK2_MULTIPLEXER)
  296. #define SINGLENOZZLE
  297. #endif
  298. /**
  299. * Extruders have some combination of stepper motors and hotends
  300. * so we separate these concepts into the defines:
  301. *
  302. * EXTRUDERS - Number of Selectable Tools
  303. * HOTENDS - Number of hotends, whether connected or separate
  304. * E_STEPPERS - Number of actual E stepper motors
  305. * E_MANUAL - Number of E steppers for LCD move options
  306. * TOOL_E_INDEX - Index to use when getting/setting the tool state
  307. *
  308. */
  309. #if ENABLED(SINGLENOZZLE) || ENABLED(MIXING_EXTRUDER) // One hotend, one thermistor, no XY offset
  310. #define HOTENDS 1
  311. #undef TEMP_SENSOR_1_AS_REDUNDANT
  312. #undef HOTEND_OFFSET_X
  313. #undef HOTEND_OFFSET_Y
  314. #else // Two hotends
  315. #define HOTENDS EXTRUDERS
  316. #if ENABLED(SWITCHING_NOZZLE) && !defined(HOTEND_OFFSET_Z)
  317. #define HOTEND_OFFSET_Z { 0 }
  318. #endif
  319. #endif
  320. #define HOTEND_LOOP() for (int8_t e = 0; e < HOTENDS; e++)
  321. #if HOTENDS == 1
  322. #define HOTEND_INDEX 0
  323. #else
  324. #define HOTEND_INDEX e
  325. #endif
  326. #if ENABLED(SWITCHING_EXTRUDER) || ENABLED(MIXING_EXTRUDER) // Unified E axis
  327. #if ENABLED(MIXING_EXTRUDER)
  328. #define E_STEPPERS MIXING_STEPPERS
  329. #else
  330. #define E_STEPPERS 1 // One E stepper
  331. #endif
  332. #define E_MANUAL 1
  333. #define TOOL_E_INDEX 0
  334. #else
  335. #define E_STEPPERS EXTRUDERS
  336. #define E_MANUAL EXTRUDERS
  337. #define TOOL_E_INDEX current_block->active_extruder
  338. #endif
  339. /**
  340. * DISTINCT_E_FACTORS affects how some E factors are accessed
  341. */
  342. #if ENABLED(DISTINCT_E_FACTORS) && E_STEPPERS > 1
  343. #define XYZE_N (XYZ + E_STEPPERS)
  344. #define E_AXIS_N (E_AXIS + extruder)
  345. #else
  346. #undef DISTINCT_E_FACTORS
  347. #define XYZE_N XYZE
  348. #define E_AXIS_N E_AXIS
  349. #endif
  350. /**
  351. * The BLTouch Probe emulates a servo probe
  352. * and uses "special" angles for its state.
  353. */
  354. #if ENABLED(BLTOUCH)
  355. #ifndef Z_ENDSTOP_SERVO_NR
  356. #define Z_ENDSTOP_SERVO_NR 0
  357. #endif
  358. #ifndef NUM_SERVOS
  359. #define NUM_SERVOS (Z_ENDSTOP_SERVO_NR + 1)
  360. #endif
  361. #undef DEACTIVATE_SERVOS_AFTER_MOVE
  362. #if NUM_SERVOS == 1
  363. #undef SERVO_DELAY
  364. #define SERVO_DELAY { 50 }
  365. #endif
  366. #ifndef BLTOUCH_DELAY
  367. #define BLTOUCH_DELAY 375
  368. #endif
  369. #undef Z_SERVO_ANGLES
  370. #define Z_SERVO_ANGLES { BLTOUCH_DEPLOY, BLTOUCH_STOW }
  371. #define BLTOUCH_DEPLOY 10
  372. #define BLTOUCH_STOW 90
  373. #define BLTOUCH_SELFTEST 120
  374. #define BLTOUCH_RESET 160
  375. #define _TEST_BLTOUCH(P) (READ(P##_PIN) != P##_ENDSTOP_INVERTING)
  376. // Always disable probe pin inverting for BLTouch
  377. #undef Z_MIN_PROBE_ENDSTOP_INVERTING
  378. #define Z_MIN_PROBE_ENDSTOP_INVERTING false
  379. #if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
  380. #undef Z_MIN_ENDSTOP_INVERTING
  381. #define Z_MIN_ENDSTOP_INVERTING false
  382. #define TEST_BLTOUCH() _TEST_BLTOUCH(Z_MIN)
  383. #else
  384. #define TEST_BLTOUCH() _TEST_BLTOUCH(Z_MIN_PROBE)
  385. #endif
  386. #endif
  387. /**
  388. * Set a flag for a servo probe
  389. */
  390. #define HAS_Z_SERVO_ENDSTOP (defined(Z_ENDSTOP_SERVO_NR) && Z_ENDSTOP_SERVO_NR >= 0)
  391. /**
  392. * UBL has its own manual probing, so this just causes trouble.
  393. */
  394. #if ENABLED(AUTO_BED_LEVELING_UBL)
  395. #undef PROBE_MANUALLY
  396. #endif
  397. /**
  398. * Set a flag for any enabled probe
  399. */
  400. #define PROBE_SELECTED (ENABLED(PROBE_MANUALLY) || ENABLED(FIX_MOUNTED_PROBE) || ENABLED(Z_PROBE_ALLEN_KEY) || HAS_Z_SERVO_ENDSTOP || ENABLED(Z_PROBE_SLED) || ENABLED(SOLENOID_PROBE))
  401. /**
  402. * Clear probe pin settings when no probe is selected
  403. */
  404. #if !PROBE_SELECTED || ENABLED(PROBE_MANUALLY)
  405. #undef Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
  406. #undef Z_MIN_PROBE_ENDSTOP
  407. #endif
  408. #define HAS_SOFTWARE_ENDSTOPS (ENABLED(MIN_SOFTWARE_ENDSTOPS) || ENABLED(MAX_SOFTWARE_ENDSTOPS))
  409. #define HAS_RESUME_CONTINUE (ENABLED(NEWPANEL) || ENABLED(EMERGENCY_PARSER))
  410. #define HAS_COLOR_LEDS (ENABLED(BLINKM) || ENABLED(RGB_LED) || ENABLED(RGBW_LED) || ENABLED(PCA9632) || ENABLED(NEOPIXEL_LED))
  411. // For Re-ARM boards, always use the USB Emulated Serial Port unless RE_ARM_FORCE_SERIAL_PORT is defined
  412. #if !defined(RE_ARM_FORCE_SERIAL_PORT) && (MB(RAMPS_14_RE_ARM_EFB) || MB(RAMPS_14_RE_ARM_EEB) || MB(RAMPS_14_RE_ARM_EFF) || MB(RAMPS_14_RE_ARM_EEF) || MB(RAMPS_14_RE_ARM_SF))
  413. #undef SERIAL_PORT
  414. #define SERIAL_PORT -1
  415. #endif
  416. #endif // CONDITIONALS_LCD_H