Michael Moon
131d7390c0
fix move to zero in next move after homing command, add M84 disable motors
2011-06-26 17:41:33 +10:00
Michael Moon
9bd8a048ea
new option: enforce_order. causes M105 and friends to wait for queue to empty before reporting
2011-06-18 22:47:53 +10:00
Jens Ch. Restemeier
b39a7b8d84
fixed documentation errors
2011-06-03 02:02:47 +10:00
Jens Ch. Restemeier
14afa84aca
Added gcode documentation and extraction tool
2011-06-03 02:02:46 +10:00
Jim McGee
85a9f63dfb
Pretest DEBUG_X constants for non-zero and && the test with all existing
...
& tests of the debug_flags. Currently the compiler is able to eliminate
the block and the & operation when the constant is zero, but since
the debug_flags variable is a volatile the compiler does not eliminate
the load of the variable. By pretesting and shortcutting the load is
eliminated. Saves a small number of bytes when the debug build is
disabled and costs nothing when it is enabled.
2011-05-15 09:56:33 +10:00
Jim McGee
f22e691fee
Convert the clock_flag variable into 3 separate varables.
...
This costs 2 bytes of ram, but saves 60 bytes of flash. Doing so
also eliminates the need to disable interrupts while clearing flags
in the ifclock macro.
Conflicts:
clock.c
timer.c
timer.h
2011-05-15 09:56:32 +10:00
Michael Moon
3e32a8f634
allow M114 to report negative positions correctly
2011-05-01 17:17:56 +10:00
Michael Moon
e2cb6aef72
M109 just waits if no temperature provided
2011-04-29 10:15:49 +10:00
Michael Moon
e108ab2548
M114 returns millimeters instead of steps
2011-04-26 14:44:17 +10:00
Markus Amsler
8856dd9908
Only print queue on every G command if DEBUG_POSITION is set.
2011-04-12 01:37:11 +02:00
Markus Amsler
4b7f8fba48
Fix absolute E positioning.
...
Now also works with M101/M103
2011-04-12 01:36:57 +02:00
Michael Moon
ae33cb7fa2
start implementing absolute E support
2011-04-09 09:16:05 +10:00
Markus Amsler
ad7f7f0e96
Don't set all axis to home on G92 E0
2011-04-07 03:15:47 +02:00
Michael Moon
95e7cda9db
avoid warning: 'SpecialMoveE' defined but not used
2011-04-04 09:16:52 +10:00
Markus Amsler
5656c5050c
Implement M116 - Wait
2011-04-04 09:12:53 +10:00
Michael Moon
0dc7d77885
Massive Doxygen documentation addition
...
'make doc' then point your browser at doc/html/
Needs plenty of cleanup and polishing, but the main bulk is here
even documents your configuration! ;)
2011-03-22 01:34:36 +11:00
Markus Hitter
fe0dc5408b
gcode_process.c, G92: also reset next_target.
...
This costs a whopping 88 bytes.
2011-03-06 23:30:29 +01:00
Markus Hitter
ab80852aec
With G28 "go home" there's also no point to move E.
...
Saves another 96 bytes binary size.
2011-03-06 23:29:46 +01:00
Markus Hitter
d37fee8e82
gcode_process.c: there's no point in setting E on a G92 ...
...
... as E is always relative. Saves 90 bytes binary size.
2011-03-06 23:29:08 +01:00
Michael Moon
718ace8f05
prevent arithmetic overflow for large max feedrates
2011-03-06 09:16:05 +11:00
Ben Jackson
03acd85272
gcode_process.c: When reaching MIN/MAX properly scale clamp value to steps.
2011-03-04 19:42:00 +11:00
Markus Hitter
5c0dde4e14
Changed M110 to match the description in the RepRap Wiki.
2011-03-03 09:40:55 +01:00
Markus Hitter
5c31bc01c1
gcode_process.c: make special moves non-public.
...
This adds some 30 bytes program size for whatever reason.
2011-02-27 11:55:01 +01:00
Stephan Walter
8acb072e0b
Actually set extruder enable pin if defined
2011-02-27 00:55:14 +11:00
Michael Moon
d705f46899
more cleanup after name change
2011-02-24 23:48:15 +11:00
Michael Moon
31634c6a8f
Add M136 (DEBUG) to read back PID values, add heater_print function
2011-02-20 17:30:07 +11:00
Michael Moon
9dc4d54133
fix compile error around new homing logic
2011-02-20 16:35:22 +11:00
Michael Moon
c6122eda74
add G161/G162 commands, upgrade home.c to provide negative/positive homing calls for G161/G162
2011-02-20 14:10:53 +11:00
Michael Moon
18d47056f5
print queue with every G command if debug is enabled
2011-02-20 11:37:13 +11:00
Michael Moon
664337fa25
use proper feedrate for Y
2011-02-15 13:21:45 +11:00
Michael Moon
6c1040c740
typo
2011-02-12 22:20:33 +11:00
Michael Moon
71eafbf96b
keep power on when heaters are active
...
Reported-by: Jacky2K@forums.reprap.org
2011-02-09 08:16:15 +11:00
Markus Amsler
7f32aa80bb
G28: home all axis if no axis is selected
2011-02-09 07:47:55 +11:00
Jacky2k
aec41c59aa
gcode_process and pinio need to include config.h
...
Signed-off-by: Michael Moon <triffid.hunter@gmail.com>
2011-02-09 07:46:04 +11:00
Michael Moon
5118f788d2
preliminary support for soft-limits
2011-02-08 17:52:10 +11:00
Michael Moon
e4fc55289b
use constants for conditional compilation since preprocessor can't work out enums and we can't define in macros
2011-02-06 21:34:44 +11:00
Michael Moon
d1b2754aba
sorting out preprocessor interactions
2011-02-06 21:11:39 +11:00
Michael Moon
97f344f0fa
changes discussed in chat on pull 19
2011-02-06 21:11:39 +11:00
Michael Moon
4ed24d4507
move Echo on/off to M240/M241
2011-02-04 12:08:52 +11:00
Stephan Walter
fcaa76d3c0
Simpler definition of temp sensors and heaters.
2011-02-01 19:40:27 +11:00
Michael Moon
14809c4a7c
make bed heater define zero-based
2011-01-27 21:03:26 +11:00
plasmator
80e98e9b22
Added Heated Bed Support
...
Signed-off-by: plasmator <public@plasmatoruniversi.com>
Signed-off-by: Michael Moon <triffid.hunter@gmail.com>
2011-01-27 20:31:39 +11:00
Michael Moon
096d7dfdf3
Merge release-candidate-triffid branch
2011-01-07 23:09:13 +11:00
Michael Moon
14c51beb9c
forgot PSTR
2010-10-21 21:43:18 +11:00
Michael Moon
30081aeea6
add support for M115- capabilities string
2010-10-21 20:49:14 +11:00
Michael Moon
4b41a5eeab
use avr-libc atomic stuff instead of manual SREG manipulation
2010-10-21 11:05:56 +11:00
Michael Moon
d0c3744f92
add flush queue for emergency stop
2010-10-20 17:54:13 +11:00
Michael Moon
56c355c5bd
split gcode parse/process into separate files for readability
2010-10-20 17:51:49 +11:00