klipper-dgus/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
..
chelper stepcompress: Improve numerical stability of step+dir+step filter 2021-04-11 12:19:57 -04:00
extras loop_sdcard: Add loopable SD card file sections 2021-05-26 11:57:57 -04:00
kinematics kinematics: Add hybrid-corexy and hybrid-corexz (#4229) 2021-05-03 14:31:23 -04:00
clocksync.py clocksync: Don't filter any of the initial syncronization clock messages 2020-05-02 11:08:02 -04:00
configfile.py configfile: Add printer.configfile.settings command template parameter 2021-01-20 16:25:25 -05:00
console.py console: Add support for connecting via CAN bus 2021-03-13 11:29:41 -05:00
gcode.py gcode: Generate M115 output even if command not sent from gcode pseudo-terminal 2021-04-28 21:40:03 -04:00
klippy.py klippy: Report known software versions on a protocol error during connection 2021-05-02 17:51:15 -04:00
mathutil.py mathutil: Disable queuelogger in background_coordinate_descent() 2019-12-17 09:51:45 -05:00
mcu.py klippy: Report known software versions on a protocol error during connection 2021-05-02 17:51:15 -04:00
msgproto.py buildcommands: Extend number of available mcu messages from 96 to 128 2021-02-18 15:21:32 -05:00
parsedump.py build: Request python2 for all directly executed python binaries 2017-06-27 20:26:02 -04:00
pins.py stepper: Move MCU_stepper from mcu.py to stepper.py 2019-11-12 17:32:18 -05:00
queuelogger.py webhooks: Add client_info parameter to "info" webhook 2020-08-26 10:12:58 -04:00
reactor.py reactor: Record time of recent gc collection sweeps 2020-09-17 02:06:20 -04:00
serialhdl.py serialhdl: Only load the CAN module if CAN bus is configured 2021-03-13 15:02:41 -05:00
stepper.py stepper: Remove min_stop_interval from mcu code 2021-04-30 11:26:19 -04:00
toolhead.py toolhead: Do not limit SET_VELOCITY_LIMIT to values specified in config 2021-04-30 11:26:19 -04:00
util.py util: Improve Python3 compatibility 2020-06-15 17:15:53 -04:00
webhooks.py webhooks: Fix use of deprecated Exception.message attribute (#3781) 2021-01-17 22:37:41 -05:00