defaulting to 91 fw
inverting x/y changing hotendfan port
This commit is contained in:
@@ -21,6 +21,10 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
/**
|
||||
* gcode.h - Temporary container for all gcode handlers
|
||||
*/
|
||||
|
||||
/**
|
||||
* -----------------
|
||||
* G-Codes in Marlin
|
||||
@@ -192,7 +196,6 @@
|
||||
* M261 - i2c Request Data (Requires EXPERIMENTAL_I2CBUS)
|
||||
* M280 - Set servo position absolute: "M280 P<index> S<angle|µs>". (Requires servos)
|
||||
* M281 - Set servo min|max position: "M281 P<index> L<min> U<max>". (Requires EDITABLE_SERVO_ANGLES)
|
||||
* M282 - Detach servo: "M282 P<index>". (Requires SERVO_DETACH_GCODE)
|
||||
* M290 - Babystepping (Requires BABYSTEPPING)
|
||||
* M300 - Play beep sound S<frequency Hz> P<duration ms>
|
||||
* M301 - Set PID parameters P I and D. (Requires PIDTEMP)
|
||||
@@ -239,7 +242,6 @@
|
||||
* M553 - Get or set IP netmask. (Requires enabled Ethernet port)
|
||||
* M554 - Get or set IP gateway. (Requires enabled Ethernet port)
|
||||
* M569 - Enable stealthChop on an axis. (Requires at least one _DRIVER_TYPE to be TMC2130/2160/2208/2209/5130/5160)
|
||||
* M575 - Change the serial baud rate. (Requires BAUD_RATE_GCODE)
|
||||
* M600 - Pause for filament change: "M600 X<pos> Y<pos> Z<raise> E<first_retract> L<later_retract>". (Requires ADVANCED_PAUSE_FEATURE)
|
||||
* M603 - Configure filament change: "M603 T<tool> U<unload_length> L<load_length>". (Requires ADVANCED_PAUSE_FEATURE)
|
||||
* M605 - Set Dual X-Carriage movement mode: "M605 S<mode> [X<x_offset>] [R<temp_offset>]". (Requires DUAL_X_CARRIAGE)
|
||||
@@ -296,7 +298,6 @@
|
||||
* M997 - Perform in-application firmware update
|
||||
* M999 - Restart after being stopped by error
|
||||
* D... - Custom Development G-code. Add hooks to 'gcode_D.cpp' for developers to test features. (Requires MARLIN_DEV_MODE)
|
||||
* D576 - Set buffer monitoring options. (Requires BUFFER_MONITORING)
|
||||
*
|
||||
* "T" Codes
|
||||
*
|
||||
@@ -380,14 +381,6 @@ public:
|
||||
return ELAPSED(ms, previous_move_ms + stepper_inactive_time);
|
||||
}
|
||||
|
||||
static void report_echo_start(const bool forReplay);
|
||||
static void report_heading(const bool forReplay, PGM_P const pstr, const bool eol=true);
|
||||
static inline void report_heading_etc(const bool forReplay, PGM_P const pstr, const bool eol=true) {
|
||||
report_heading(forReplay, pstr, eol);
|
||||
report_echo_start(forReplay);
|
||||
}
|
||||
static void say_units();
|
||||
|
||||
static int8_t get_target_extruder_from_command();
|
||||
static int8_t get_target_e_stepper_from_command();
|
||||
static void get_destination_from_command();
|
||||
@@ -443,8 +436,6 @@ public:
|
||||
|
||||
private:
|
||||
|
||||
friend class MarlinSettings;
|
||||
|
||||
#if ENABLED(MARLIN_DEV_MODE)
|
||||
static void D(const int16_t dcode);
|
||||
#endif
|
||||
@@ -525,7 +516,6 @@ private:
|
||||
|
||||
#if ENABLED(Z_STEPPER_AUTO_ALIGN)
|
||||
static void M422();
|
||||
static void M422_report(const bool forReplay=true);
|
||||
#endif
|
||||
|
||||
#if ENABLED(ASSISTED_TRAMMING)
|
||||
@@ -670,7 +660,6 @@ private:
|
||||
|
||||
static void M85();
|
||||
static void M92();
|
||||
static void M92_report(const bool forReplay=true, const int8_t e=-1);
|
||||
|
||||
#if ENABLED(M100_FREE_MEMORY_WATCHER)
|
||||
static void M100();
|
||||
@@ -750,12 +739,10 @@ private:
|
||||
|
||||
#if PREHEAT_COUNT
|
||||
static void M145();
|
||||
static void M145_report(const bool forReplay=true);
|
||||
#endif
|
||||
|
||||
#if ENABLED(TEMPERATURE_UNITS_SUPPORT)
|
||||
static void M149();
|
||||
static void M149_report(const bool forReplay=true);
|
||||
#endif
|
||||
|
||||
#if HAS_COLOR_LEDS
|
||||
@@ -781,51 +768,37 @@ private:
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if DISABLED(NO_VOLUMETRICS)
|
||||
static void M200();
|
||||
static void M200_report(const bool forReplay=true);
|
||||
#endif
|
||||
static void M200();
|
||||
static void M201();
|
||||
static void M201_report(const bool forReplay=true);
|
||||
|
||||
#if 0
|
||||
static void M202(); // Not used for Sprinter/grbl gen6
|
||||
#endif
|
||||
|
||||
static void M203();
|
||||
static void M203_report(const bool forReplay=true);
|
||||
static void M204();
|
||||
static void M204_report(const bool forReplay=true);
|
||||
static void M205();
|
||||
static void M205_report(const bool forReplay=true);
|
||||
|
||||
#if HAS_M206_COMMAND
|
||||
static void M206();
|
||||
static void M206_report(const bool forReplay=true);
|
||||
#endif
|
||||
|
||||
#if ENABLED(FWRETRACT)
|
||||
static void M207();
|
||||
static void M207_report(const bool forReplay=true);
|
||||
static void M208();
|
||||
static void M208_report(const bool forReplay=true);
|
||||
#if ENABLED(FWRETRACT_AUTORETRACT)
|
||||
static void M209();
|
||||
static void M209_report(const bool forReplay=true);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
static void M211();
|
||||
static void M211_report(const bool forReplay=true);
|
||||
|
||||
#if HAS_MULTI_EXTRUDER
|
||||
static void M217();
|
||||
static void M217_report(const bool forReplay=true);
|
||||
#endif
|
||||
|
||||
#if HAS_HOTEND_OFFSET
|
||||
static void M218();
|
||||
static void M218_report(const bool forReplay=true);
|
||||
#endif
|
||||
|
||||
static void M220();
|
||||
@@ -844,12 +817,10 @@ private:
|
||||
|
||||
#if HAS_LCD_CONTRAST
|
||||
static void M250();
|
||||
static void M250_report(const bool forReplay=true);
|
||||
#endif
|
||||
|
||||
#if HAS_LCD_BRIGHTNESS
|
||||
static void M256();
|
||||
static void M256_report(const bool forReplay=true);
|
||||
#endif
|
||||
|
||||
#if ENABLED(EXPERIMENTAL_I2CBUS)
|
||||
@@ -861,10 +832,6 @@ private:
|
||||
static void M280();
|
||||
#if ENABLED(EDITABLE_SERVO_ANGLES)
|
||||
static void M281();
|
||||
static void M281_report(const bool forReplay=true);
|
||||
#endif
|
||||
#if ENABLED(SERVO_DETACH_GCODE)
|
||||
static void M282();
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -878,7 +845,6 @@ private:
|
||||
|
||||
#if ENABLED(PIDTEMP)
|
||||
static void M301();
|
||||
static void M301_report(const bool forReplay=true, const int8_t eindex=-1);
|
||||
#endif
|
||||
|
||||
#if ENABLED(PREVENT_COLD_EXTRUSION)
|
||||
@@ -891,7 +857,6 @@ private:
|
||||
|
||||
#if ENABLED(PIDTEMPBED)
|
||||
static void M304();
|
||||
static void M304_report(const bool forReplay=true);
|
||||
#endif
|
||||
|
||||
#if HAS_USER_THERMISTORS
|
||||
@@ -900,7 +865,6 @@ private:
|
||||
|
||||
#if ENABLED(PIDTEMPCHAMBER)
|
||||
static void M309();
|
||||
static void M309_report(const bool forReplay=true);
|
||||
#endif
|
||||
|
||||
#if HAS_MICROSTEPS
|
||||
@@ -949,23 +913,19 @@ private:
|
||||
|
||||
#if HAS_FILAMENT_SENSOR
|
||||
static void M412();
|
||||
static void M412_report(const bool forReplay=true);
|
||||
#endif
|
||||
|
||||
#if HAS_MULTI_LANGUAGE
|
||||
static void M414();
|
||||
static void M414_report(const bool forReplay=true);
|
||||
#endif
|
||||
|
||||
#if HAS_LEVELING
|
||||
static void M420();
|
||||
static void M420_report(const bool forReplay=true);
|
||||
static void M421();
|
||||
#endif
|
||||
|
||||
#if ENABLED(BACKLASH_GCODE)
|
||||
static void M425();
|
||||
static void M425_report(const bool forReplay=true);
|
||||
#endif
|
||||
|
||||
#if HAS_M206_COMMAND
|
||||
@@ -1010,16 +970,8 @@ private:
|
||||
|
||||
#if HAS_ETHERNET
|
||||
static void M552();
|
||||
static void M552_report();
|
||||
static void M553();
|
||||
static void M553_report();
|
||||
static void M554();
|
||||
static void M554_report();
|
||||
#endif
|
||||
|
||||
#if HAS_STEALTHCHOP
|
||||
static void M569();
|
||||
static void M569_report(const bool forReplay=true);
|
||||
#endif
|
||||
|
||||
#if ENABLED(BAUD_RATE_GCODE)
|
||||
@@ -1029,7 +981,6 @@ private:
|
||||
#if ENABLED(ADVANCED_PAUSE_FEATURE)
|
||||
static void M600();
|
||||
static void M603();
|
||||
static void M603_report(const bool forReplay=true);
|
||||
#endif
|
||||
|
||||
#if HAS_DUPLICATION_MODE
|
||||
@@ -1038,12 +989,10 @@ private:
|
||||
|
||||
#if IS_KINEMATIC
|
||||
static void M665();
|
||||
static void M665_report(const bool forReplay=true);
|
||||
#endif
|
||||
|
||||
#if EITHER(DELTA, HAS_EXTRA_ENDSTOPS)
|
||||
#if ENABLED(DELTA) || HAS_EXTRA_ENDSTOPS
|
||||
static void M666();
|
||||
static void M666_report(const bool forReplay=true);
|
||||
#endif
|
||||
|
||||
#if ENABLED(DUET_SMART_EFFECTOR) && PIN_EXISTS(SMART_EFFECTOR_MOD)
|
||||
@@ -1065,12 +1014,10 @@ private:
|
||||
|
||||
#if HAS_BED_PROBE
|
||||
static void M851();
|
||||
static void M851_report(const bool forReplay=true);
|
||||
#endif
|
||||
|
||||
#if ENABLED(SKEW_CORRECTION_GCODE)
|
||||
static void M852();
|
||||
static void M852_report(const bool forReplay=true);
|
||||
#endif
|
||||
|
||||
#if ENABLED(I2C_POSITION_ENCODERS)
|
||||
@@ -1093,24 +1040,23 @@ private:
|
||||
|
||||
#if ENABLED(LIN_ADVANCE)
|
||||
static void M900();
|
||||
static void M900_report(const bool forReplay=true);
|
||||
#endif
|
||||
|
||||
#if HAS_TRINAMIC_CONFIG
|
||||
static void M122();
|
||||
static void M906();
|
||||
static void M906_report(const bool forReplay=true);
|
||||
#if HAS_STEALTHCHOP
|
||||
static void M569();
|
||||
#endif
|
||||
#if ENABLED(MONITOR_DRIVER_STATUS)
|
||||
static void M911();
|
||||
static void M912();
|
||||
#endif
|
||||
#if ENABLED(HYBRID_THRESHOLD)
|
||||
static void M913();
|
||||
static void M913_report(const bool forReplay=true);
|
||||
#endif
|
||||
#if ENABLED(USE_SENSORLESS)
|
||||
static void M914();
|
||||
static void M914_report(const bool forReplay=true);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -1122,19 +1068,16 @@ private:
|
||||
static void M918();
|
||||
#endif
|
||||
|
||||
#if HAS_MOTOR_CURRENT_SPI || HAS_MOTOR_CURRENT_PWM || HAS_MOTOR_CURRENT_I2C || HAS_MOTOR_CURRENT_DAC
|
||||
#if ANY(HAS_MOTOR_CURRENT_SPI, HAS_MOTOR_CURRENT_PWM, HAS_MOTOR_CURRENT_I2C, HAS_MOTOR_CURRENT_DAC)
|
||||
static void M907();
|
||||
#if HAS_MOTOR_CURRENT_SPI || HAS_MOTOR_CURRENT_PWM
|
||||
static void M907_report(const bool forReplay=true);
|
||||
#if EITHER(HAS_MOTOR_CURRENT_SPI, HAS_MOTOR_CURRENT_DAC)
|
||||
static void M908();
|
||||
#if HAS_MOTOR_CURRENT_DAC
|
||||
static void M909();
|
||||
static void M910();
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
#if HAS_MOTOR_CURRENT_SPI || HAS_MOTOR_CURRENT_DAC
|
||||
static void M908();
|
||||
#endif
|
||||
#if HAS_MOTOR_CURRENT_DAC
|
||||
static void M909();
|
||||
static void M910();
|
||||
#endif
|
||||
|
||||
#if ENABLED(SDSUPPORT)
|
||||
static void M928();
|
||||
@@ -1161,7 +1104,6 @@ private:
|
||||
|
||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||
static void M413();
|
||||
static void M413_report(const bool forReplay=true);
|
||||
static void M1000();
|
||||
#endif
|
||||
|
||||
@@ -1183,7 +1125,6 @@ private:
|
||||
|
||||
#if ENABLED(CONTROLLER_FAN_EDITABLE)
|
||||
static void M710();
|
||||
static void M710_report(const bool forReplay=true);
|
||||
#endif
|
||||
|
||||
static void T(const int8_t tool_index);
|
||||
|
||||
Reference in New Issue
Block a user