aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/virtual_sdcard.py
Commit message (Collapse)AuthorAgeFilesLines
* virtual_sdcard: prepare for pause_resume implementationArksine2019-01-281-1/+3
| | | | | | | - Add is_active() member function to return the active printing status of the virtual sdcard - M27 now reports current file position when file has been opened. See http://marlinfw.org/docs/gcode/M027.html Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* klippy: Convert printer_state("shutdown") to an event handlerKevin O'Connor2019-01-081-2/+3
| | | | | | | Convert all users of the printer_state("shutdown") handler to register a "klippy:shutdown" event handler instead. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: process_batch() should execute commands atomicallyKevin O'Connor2018-10-281-1/+1
| | | | | | | Update the process_batch() method so that it will not interleave commands read from the input fd with the batched commands. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* virtual_sdcard: Check if other events need to run after each file readKevin O'Connor2018-08-021-0/+1
| | | | | | | Periodically check if other events need to run - this prevents the virtual_sdcard processing from starving other events. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: Raise an error if a duplicate command is registeredKevin O'Connor2018-05-201-0/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* virtual_sdcard: Add logging on start, stop, stats, and shutdownKevin O'Connor2018-04-231-0/+18
| | | | | | Add additional logging to the virtual_sdcard support. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: Add minval/maxval/above/below options to get_X parsersKevin O'Connor2018-04-201-1/+1
| | | | | | Add value checking to gcode parameter parsing code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* virtual_sdcard: Fix typo in seek error handlingKevin O'Connor2018-03-121-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* display: Add initial support for LCD screens attached to an MCUKevin O'Connor2018-03-061-0/+5
| | | | | | | | Add support for displaying basic status information on ST7920 and HD44780 based LCDs that are attached directly to a micro-controller. Signed-off-by: Marcio Teixeira <marcio@alephobjects.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* virtual_sdcard: Remove trailing '*' checksum indicator from M23 commandKevin O'Connor2018-03-021-0/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* virtual_sdcard: Initial support for virtual sdcardKevin O'Connor2018-02-111-0/+155
Add support for directly printing from a local file on the host. This may be useful if the host cpu is not fast enough to run OctoPrint well. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>