Browse Source

Add "Marlin Dev Mode" option

pull/1/head
Scott Lahteine 7 years ago
parent
commit
e0ab8acf19
  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/BIBO/TouchX/cyclops/Configuration_adv.h
  8. 3
      Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h
  9. 3
      Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h
  10. 3
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h
  11. 3
      Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h
  12. 3
      Marlin/src/config/examples/Cartesio/Configuration_adv.h
  13. 3
      Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h
  14. 3
      Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h
  15. 3
      Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h
  16. 3
      Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h
  17. 3
      Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h
  18. 3
      Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h
  19. 3
      Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h
  20. 3
      Marlin/src/config/examples/Felix/Configuration_adv.h
  21. 3
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h
  22. 3
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
  23. 3
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
  24. 3
      Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h
  25. 3
      Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h
  26. 3
      Marlin/src/config/examples/MakerParts/Configuration_adv.h
  27. 3
      Marlin/src/config/examples/Malyan/M150/Configuration_adv.h
  28. 3
      Marlin/src/config/examples/Malyan/M200/Configuration_adv.h
  29. 3
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h
  30. 3
      Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h
  31. 3
      Marlin/src/config/examples/RigidBot/Configuration_adv.h
  32. 3
      Marlin/src/config/examples/SCARA/Configuration_adv.h
  33. 3
      Marlin/src/config/examples/Sanguinololu/Configuration_adv.h
  34. 3
      Marlin/src/config/examples/TheBorg/Configuration_adv.h
  35. 3
      Marlin/src/config/examples/TinyBoy2/Configuration_adv.h
  36. 3
      Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h
  37. 3
      Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h
  38. 3
      Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h
  39. 3
      Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h
  40. 3
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  41. 3
      Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h
  42. 3
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  43. 3
      Marlin/src/config/examples/delta/generic/Configuration_adv.h
  44. 3
      Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h
  45. 3
      Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h
  46. 3
      Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h
  47. 3
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h
  48. 3
      Marlin/src/config/examples/makibox/Configuration_adv.h
  49. 3
      Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h
  50. 3
      Marlin/src/config/examples/wt150/Configuration_adv.h
  51. 13
      Marlin/src/gcode/calibrate/G28.cpp

3
Marlin/Configuration_adv.h

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

3
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

3
Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1730,4 +1730,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1725,4 +1725,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

3
Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

3
Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

3
Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1730,4 +1730,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

3
Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

3
Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

3
Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1730,4 +1730,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1723,4 +1723,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1725,4 +1725,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1724,4 +1724,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1724,4 +1724,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1724,4 +1724,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1724,4 +1724,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1724,4 +1724,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1724,4 +1724,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1729,4 +1729,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1724,4 +1724,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1722,4 +1722,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

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

@ -1723,4 +1723,7 @@
#define WIFI_PWD "Wifi Password"
#endif
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
#endif // CONFIGURATION_ADV_H

13
Marlin/src/gcode/calibrate/G28.cpp

@ -174,6 +174,19 @@ void GcodeSuite::G28(const bool always_home_all) {
}
#endif
#if ENABLED(MARLIN_DEV_MODE)
if (parser.seen('S')) {
LOOP_XYZ(a) set_axis_is_at_home((AxisEnum)a);
SYNC_PLAN_POSITION_KINEMATIC();
SERIAL_ECHOLNPGM("Simulated Homing");
report_current_position();
#if ENABLED(DEBUG_LEVELING_FEATURE)
if (DEBUGGING(LEVELING)) SERIAL_ECHOLNPGM("<<< G28");
#endif
return;
}
#endif
if (all_axes_known() && parser.boolval('O')) { // home only if needed
#if ENABLED(DEBUG_LEVELING_FEATURE)
if (DEBUGGING(LEVELING)) {

Loading…
Cancel
Save