Browse Source

Merge pull request #8978 from thinkyhead/bf2_slimming_option

[2.0.x] SLIM_LCD_MENUS option
pull/1/head
Scott Lahteine 7 years ago
committed by GitHub
parent
commit
41dfb229ec
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      Marlin/Configuration_adv.h
  2. 3
      Marlin/src/config/default/Configuration_adv.h
  3. 3
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h
  4. 3
      Marlin/src/config/examples/Anet/A6/Configuration_adv.h
  5. 3
      Marlin/src/config/examples/Anet/A8/Configuration_adv.h
  6. 3
      Marlin/src/config/examples/Azteeg/X5GT/Configuration_adv.h
  7. 3
      Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h
  8. 3
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h
  9. 3
      Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h
  10. 3
      Marlin/src/config/examples/Cartesio/Configuration_adv.h
  11. 3
      Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h
  12. 3
      Marlin/src/config/examples/Felix/Configuration_adv.h
  13. 3
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h
  14. 3
      Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h
  15. 3
      Marlin/src/config/examples/MakerParts/Configuration_adv.h
  16. 3
      Marlin/src/config/examples/Malyan/M150/Configuration_adv.h
  17. 3
      Marlin/src/config/examples/Malyan/M200/Configuration_adv.h
  18. 3
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h
  19. 3
      Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h
  20. 3
      Marlin/src/config/examples/RigidBot/Configuration_adv.h
  21. 3
      Marlin/src/config/examples/SCARA/Configuration_adv.h
  22. 3
      Marlin/src/config/examples/Sanguinololu/Configuration_adv.h
  23. 3
      Marlin/src/config/examples/TinyBoy2/Configuration_adv.h
  24. 3
      Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h
  25. 3
      Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h
  26. 3
      Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h
  27. 3
      Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h
  28. 3
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  29. 3
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  30. 3
      Marlin/src/config/examples/delta/generic/Configuration_adv.h
  31. 3
      Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h
  32. 3
      Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h
  33. 3
      Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h
  34. 3
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h
  35. 3
      Marlin/src/config/examples/makibox/Configuration_adv.h
  36. 3
      Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h
  37. 3
      Marlin/src/config/examples/wt150/Configuration_adv.h
  38. 37
      Marlin/src/lcd/ultralcd.cpp

3
Marlin/Configuration_adv.h

@ -473,6 +473,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/default/Configuration_adv.h

@ -473,6 +473,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h

@ -473,6 +473,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/Anet/A6/Configuration_adv.h

@ -473,6 +473,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/Anet/A8/Configuration_adv.h

@ -473,6 +473,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/Azteeg/X5GT/Configuration_adv.h

@ -474,6 +474,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h

@ -473,6 +473,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h

@ -473,6 +473,9 @@
// Include a page of printer information in the LCD Main Menu
#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h

@ -473,6 +473,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/Cartesio/Configuration_adv.h

@ -473,6 +473,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h

@ -473,6 +473,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/Felix/Configuration_adv.h

@ -473,6 +473,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h

@ -473,6 +473,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h

@ -473,6 +473,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/MakerParts/Configuration_adv.h

@ -473,6 +473,9 @@
// Include a page of printer information in the LCD Main Menu
#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/Malyan/M150/Configuration_adv.h

@ -473,6 +473,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/Malyan/M200/Configuration_adv.h

@ -473,6 +473,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h

@ -473,6 +473,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h

@ -474,6 +474,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/RigidBot/Configuration_adv.h

@ -473,6 +473,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/SCARA/Configuration_adv.h

@ -473,6 +473,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/Sanguinololu/Configuration_adv.h

@ -462,6 +462,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/TinyBoy2/Configuration_adv.h

@ -473,6 +473,9 @@
// Include a page of printer information in the LCD Main Menu
#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h

@ -473,6 +473,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h

@ -486,6 +486,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h

@ -474,6 +474,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h

@ -475,6 +475,9 @@
// Include a page of printer information in the LCD Main Menu
#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h

@ -475,6 +475,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h

@ -475,6 +475,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/delta/generic/Configuration_adv.h

@ -475,6 +475,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h

@ -475,6 +475,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h

@ -480,6 +480,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h

@ -475,6 +475,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h

@ -473,6 +473,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/makibox/Configuration_adv.h

@ -473,6 +473,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h

@ -473,6 +473,9 @@
// Include a page of printer information in the LCD Main Menu
//#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

3
Marlin/src/config/examples/wt150/Configuration_adv.h

@ -474,6 +474,9 @@
// Include a page of printer information in the LCD Main Menu
#define LCD_INFO_MENU
// Leave out seldom-used LCD menu items to recover some Program Memory
//#define SLIM_LCD_MENUS
// Scroll a longer status message into view
//#define STATUS_MESSAGE_SCROLLING

37
Marlin/src/lcd/ultralcd.cpp

@ -176,9 +176,12 @@ uint16_t max_display_update_time = 0;
void lcd_move_menu();
void lcd_control_menu();
void lcd_control_temperature_menu();
void lcd_control_motion_menu();
#if DISABLED(SLIM_LCD_MENUS)
void lcd_control_temperature_preheat_material1_settings_menu();
void lcd_control_temperature_preheat_material2_settings_menu();
void lcd_control_motion_menu();
#endif
#if DISABLED(NO_VOLUMETRICS)
void lcd_control_filament_menu();
@ -2627,7 +2630,7 @@ void kill_screen(const char* lcd_msg) {
lcd_bed_leveling
#endif
);
#elif PLANNER_LEVELING && DISABLED(PROBE_MANUALLY)
#elif PLANNER_LEVELING && DISABLED(PROBE_MANUALLY) && DISABLED(SLIM_LCD_MENUS)
MENU_ITEM(gcode, MSG_BED_LEVELING, PSTR("G28\nG29"));
#endif
@ -2636,7 +2639,7 @@ void kill_screen(const char* lcd_msg) {
MENU_ITEM(function, MSG_LEVEL_CORNERS, _lcd_level_bed_corners);
#endif
#if HAS_M206_COMMAND
#if HAS_M206_COMMAND && DISABLED(SLIM_LCD_MENUS)
//
// Set Home Offsets
//
@ -3250,8 +3253,10 @@ void kill_screen(const char* lcd_msg) {
MENU_ITEM(function, MSG_STORE_EEPROM, lcd_store_settings);
MENU_ITEM(function, MSG_LOAD_EEPROM, lcd_load_settings);
#endif
MENU_ITEM(function, MSG_RESTORE_FAILSAFE, lcd_factory_settings);
#if ENABLED(EEPROM_SETTINGS)
#if ENABLED(EEPROM_SETTINGS) && DISABLED(SLIM_LCD_MENUS)
MENU_ITEM(submenu, MSG_INIT_EEPROM, lcd_init_eeprom_confirm);
#endif
@ -3463,6 +3468,7 @@ void kill_screen(const char* lcd_msg) {
#endif // PIDTEMP
#if DISABLED(SLIM_LCD_MENUS)
//
// Preheat Material 1 conf
//
@ -3472,9 +3478,13 @@ void kill_screen(const char* lcd_msg) {
// Preheat Material 2 conf
//
MENU_ITEM(submenu, MSG_PREHEAT_2_SETTINGS, lcd_control_temperature_preheat_material2_settings_menu);
#endif
END_MENU();
}
#if DISABLED(SLIM_LCD_MENUS)
void _lcd_control_temperature_preheat_settings_menu(uint8_t material) {
#if HOTENDS > 4
#define MINTEMP_ALL MIN5(HEATER_0_MINTEMP, HEATER_1_MINTEMP, HEATER_2_MINTEMP, HEATER_3_MINTEMP, HEATER_4_MINTEMP)
@ -3521,13 +3531,6 @@ void kill_screen(const char* lcd_msg) {
*/
void lcd_control_temperature_preheat_material2_settings_menu() { _lcd_control_temperature_preheat_settings_menu(1); }
/**
*
* "Control" > "Motion" submenu
*
*/
void _reset_acceleration_rates() { planner.reset_acceleration_rates(); }
#if ENABLED(DISTINCT_E_FACTORS)
void _reset_e_acceleration_rate(const uint8_t e) { if (e == active_extruder) _reset_acceleration_rates(); }
@ -3686,6 +3689,14 @@ void kill_screen(const char* lcd_msg) {
END_MENU();
}
#endif // !SLIM_LCD_MENUS
/**
*
* "Control" > "Motion" submenu
*
*/
void lcd_control_motion_menu() {
START_MENU();
MENU_BACK(MSG_CONTROL);
@ -3696,6 +3707,8 @@ void kill_screen(const char* lcd_msg) {
MENU_ITEM_EDIT(float32, MSG_ZPROBE_ZOFFSET, &zprobe_zoffset, Z_PROBE_OFFSET_RANGE_MIN, Z_PROBE_OFFSET_RANGE_MAX);
#endif
#if DISABLED(SLIM_LCD_MENUS)
// M203 / M205 - Feedrate items
MENU_ITEM(submenu, MSG_VELOCITY, lcd_control_motion_velocity_menu);
@ -3708,6 +3721,8 @@ void kill_screen(const char* lcd_msg) {
// M92 - Steps Per mm
MENU_ITEM(submenu, MSG_STEPS_PER_MM, lcd_control_motion_steps_per_mm_menu);
#endif // !SLIM_LCD_MENUS
// M540 S - Abort on endstop hit when SD printing
#if ENABLED(ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED)
MENU_ITEM_EDIT(bool, MSG_ENDSTOP_ABORT, &stepper.abort_on_endstop_hit);

Loading…
Cancel
Save