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.
2013-10-22 10:02:18 +02:00
..
2013-10-22 10:02:18 +02:00
2013-10-22 10:02:18 +02:00
2013-09-29 13:20:06 -03:00
2011-08-12 22:28:35 +02:00
2013-10-03 19:24:53 +02:00
2013-10-22 10:02:18 +02:00
2013-09-29 13:20:06 -03:00
2012-08-29 22:53:41 +01:00
2013-09-26 11:40:54 -03:00
2013-09-29 13:20:06 -03:00
2013-09-29 13:20:06 -03:00
2012-11-12 15:35:28 +01:00
2012-08-22 14:49:57 +02:00
2012-08-22 14:49:57 +02:00
2012-08-22 14:49:57 +02:00
2013-09-29 13:20:06 -03:00
2013-09-29 13:20:06 -03:00
2013-10-12 13:24:55 +02:00
2013-09-29 13:20:06 -03:00
2013-09-29 13:20:06 -03:00