Commit Graph

22 Commits (15d1b8d71985ba1770588bb6e05df3d5c0931c96)

Author SHA1 Message Date
Cylindric 8f0cee2a14 Various typo fixes - only in comments, no code changes.
bkubicek 39d88bcccb preparation for hibernation
If a print is stopped, it would be nice in the future to write a file with the printer state, the filename of the print, and the position within the print.
this file could be read, to continue a previously stopped print.
not finished yet.
bkubicek ab965376ff Sub-file calls.
by overloading M32 it is now possible to execute gcode files from other gcode files, with a fixed recursion level.
This can be used e.g. for having a real start.g and end.g somewhere on the sd card, which are then called from the normal print file.
Another usecase would be to have macro-files for nozzle-change and layerchange.
I have not tested the speedwise performance. The testing was done with pronterface.

syntax:
normal call from sd card will open the new file and continue executing there.
M32 !/path/filename#
this however will call the new file and return to the caller file.
M32 P !/path/filename#
with the optional "S<position>" the  file starting position can be set.
this is for continuing prints from a previous location.
Erik van der Zalm 461dad6e05 Added : M32 - Select file and start SD print (Can be used when printing from SD card)
Untested
Scott Lahteine a5cd582665 Support for 10 level deep SD folder hierarchy
Lukasz Stefanowicz d71f1e9bf6 Add (as an option) slower SD transfer mode
Ketil Froyn 07e11c7cf5 Add command M928 to enable logging to file of received gcode commands
Marius Kintel e06d820909 Also skip .files and _files with long filenames
daid303 1a8f54cea1 The big LCD code update. This splits the display and menu implementation. Paving the way for future different displays. It also makes it easier to modify the menu structures while keeping everything consistant. Note that this most likely breaks the translations, which need to be updated.
daid303 6a9bee27cc Changed the naming of some LCD functions, so the names match better what the function does. Also moved around some prototypes for general cleanup.
daid303 97fa2a9c30 Few simple fixes that save RAM, as static strings are stored in RAM by default.
daid303 43018a48c4 Fix for a few -Wextra warnings.
daid b69e75c89a Added long filename support.
Bernhard 0183e6332a made prepare->autostart independent of current folder.
Bernhard 1532200435 found error in filenames.
One array was too short. This had nothing to do with long filenames, other than if they were 12 characters exactly, which could only happen if the extension and the text before were filled completely
Erik van der Zalm 632528aa95 merging with SCUBA82
Christian Thalhammer fde51084f3 set SD file delete to M30; switch printime output to M31
Blair Thompson 046a8e0039 Added more defines to the language.h file so that nowe most of the text strings are now configured via this file. Still got some hunting down to do to complete this task.
Erik van der Zalm c6f2ec3c82 remove stop_heating_wait
Erik van der Zalm 11518a987f merged with triffid fork
Michael Moon 5aadc2f5ca cardreader needs to include some other files
Michael Moon 8d0916af13 allow Marlin to actually compile with Makefile pulled from Sprinter and a few other modifications