klipper/test/klippy/commands.test
Kevin O'Connor 3ef760c18f toolhead: Remove support for max_accel_to_decel
This support was deprecated on 20240313.  Remove the remaining
compatibility code.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2025-08-11 19:14:37 -04:00

47 lines
729 B
Plaintext

# Tests for miscellaneous g-code commands
DICTIONARY atmega2560.dict
CONFIG ../../config/example-cartesian.cfg
# Simple status commands
GET_POSITION
M114
STATUS
HELP
QUERY_ENDSTOPS
M115
M18
# G-code state commands
G28
SAVE_GCODE_STATE
G92 Z-5
G92 E5
SAVE_GCODE_STATE NAME=test
G1 Z-5
G91
G1 Z0
RESTORE_GCODE_STATE NAME=test
G1 Z-5
RESTORE_GCODE_STATE
G1 Z0 E0
RESTORE_GCODE_STATE MOVE=1
# Update commands
SET_GCODE_OFFSET Z=.1
M206 Z-.2
SET_GCODE_OFFSET Z_ADJUST=-.1
SET_VELOCITY_LIMIT ACCEL=100 VELOCITY=20 SQUARE_CORNER_VELOCITY=1 MINIMUM_CRUISE_RATIO=0
M204 S500
SET_PRESSURE_ADVANCE EXTRUDER=extruder ADVANCE=.001
SET_PRESSURE_ADVANCE ADVANCE=.002 SMOOTH_TIME=.001
# Restart command (must be last in test)
RESTART