klipper/test/klippy
Jason S. McMullan 913649de2e loop_sdcard: Add loopable SD card file sections
To support continuous belt printing, add nestable repeat
loop support via an `[sdcard_loop]` module.

Supported G-Code:
  - SDCARD_LOOP_BEGIN COUNT=n  ; Loop for N times, or infinitely if N is 0
  - SDCARD_LOOP_END            ; End of loop
  - SDCARD_LOOP_DESIST         ; Complete all loops without iterating

Marlin M808 compatibility example in `config/sample-macros.cfg`:
  - M808 Ln        ; Loop for N times, or infinitely if N is 0
  - M808           ; End of loop
  - M808 K         ; Complete all loops without iterating

Added unit tests in test/klippy/sdcard_loop.test

See https://reprap.org/wiki/G-code#M808:_Set_or_Goto_Repeat_Marker

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
2021-05-26 11:57:57 -04:00
..
sdcard_loop loop_sdcard: Add loopable SD card file sections 2021-05-26 11:57:57 -04:00
bed_screws.cfg bed_screws: Add a helper tool for leveling bed screws 2019-02-24 00:49:47 -05:00
bed_screws.test test: Rename atmega2560-16mhz.config to atmega2560.config 2019-03-22 12:36:18 -04:00
bltouch.cfg test: update sample configs and test configs with new bed_mesh options 2020-01-09 14:14:13 -05:00
bltouch.test test: Rename atmega2560-16mhz.config to atmega2560.config 2019-03-22 12:36:18 -04:00
commands.test docs: Move config reference information to new Config_Reference.md 2020-11-18 20:10:21 -05:00
delta.test test: Rename atmega2560-16mhz.config to atmega2560.config 2019-03-22 12:36:18 -04:00
delta_calibrate.cfg test: Add new delta_calibrate test case 2019-12-05 14:48:52 -05:00
delta_calibrate.test test: Add new delta_calibrate test case 2019-12-05 14:48:52 -05:00
dual_carriage.cfg gcode: Remove builtin T0/T1/T2/... command support 2019-12-10 14:24:32 -05:00
dual_carriage.test test: Rename atmega2560-16mhz.config to atmega2560.config 2019-03-22 12:36:18 -04:00
extruders.cfg extruder_stepper: Initial support for synchronized extruder steppers 2020-01-06 11:03:05 -05:00
extruders.test stepper: No need to pass stepper_kinematics to set_step_dist() 2020-03-28 10:06:02 -04:00
gcode_arcs.cfg test: Add initial test case for gcode_arcs support 2019-09-13 12:05:15 -04:00
gcode_arcs.test gcode_arcs: Add back in support for E moves in absolute extrude mode 2020-06-04 15:25:17 -04:00
macros.cfg gcode: Split G0/G1 command handling to new gcode_move class 2020-08-20 21:03:22 -04:00
macros.test test: Add a macros.test test case for testing gcode_macro 2019-06-04 09:50:30 -04:00
manual_stepper.cfg manual_stepper: Add support for moves with acceleration 2019-03-03 13:38:10 -05:00
manual_stepper.test test: Rename atmega2560-16mhz.config to atmega2560.config 2019-03-22 12:36:18 -04:00
move.gcode winch: Add experimental support for cable winch kinematics 2018-12-24 11:38:59 -05:00
multi_z.cfg
multi_z.test test: Rename atmega2560-16mhz.config to atmega2560.config 2019-03-22 12:36:18 -04:00
out_of_bounds.test docs: Move config reference information to new Config_Reference.md 2020-11-18 20:10:21 -05:00
polar.test polar: Add initial support for multiple bed rotations 2019-06-28 10:00:40 -04:00
printers.test config: Add printer-fokoos-odin5-f3.cfg (#4286) 2021-05-12 15:00:06 -04:00
pwm.cfg test: Add pwm tests 2020-09-26 20:26:44 -04:00
pwm.test test: Add pwm tests 2020-09-26 20:26:44 -04:00
quad_gantry_level.test test: Flush moves in quad_gantry_level and z_tilt_adjust tests 2019-06-12 15:36:32 -04:00
rotary_delta_calibrate.cfg stepper: Calculate step_distance from rotation_distance 2020-12-18 10:30:32 -05:00
rotary_delta_calibrate.test rotary_delta: Initial support for rotary delta kinematics 2020-01-06 11:52:42 -05:00
screws_tilt_adjust.cfg test: update sample configs and test configs with new bed_mesh options 2020-01-09 14:14:13 -05:00
screws_tilt_adjust.test screws_tilt_adjust: Add MAX_DEVIATION parameter for bed level invariant. 2021-04-28 11:53:18 -04:00
sdcard_loop.cfg loop_sdcard: Add loopable SD card file sections 2021-05-26 11:57:57 -04:00
sdcard_loop.test loop_sdcard: Add loopable SD card file sections 2021-05-26 11:57:57 -04:00
temperature.cfg adc_temperature: Add builtin definition for PT1000 sensors 2020-03-05 11:46:01 -05:00
temperature.test test: Rename atmega2560-16mhz.config to atmega2560.config 2019-03-22 12:36:18 -04:00
tmc.cfg tmc2209: Add support for sensorless homing 2019-08-19 12:05:09 -04:00
tmc.test tmc: Configure "intpol" field from TMCMicrostepHelper 2019-06-28 16:59:26 -04:00
z_tilt.cfg test: Add quad_gantry_level and z_tilt_adjust test cases 2019-06-12 13:49:27 -04:00
z_tilt.test test: Flush moves in quad_gantry_level and z_tilt_adjust tests 2019-06-12 15:36:32 -04:00
z_virtual_endstop.cfg test: update sample configs and test configs with new bed_mesh options 2020-01-09 14:14:13 -05:00
z_virtual_endstop.test test: Rename atmega2560-16mhz.config to atmega2560.config 2019-03-22 12:36:18 -04:00