Markus Hitter
df693c0113
config.h/dda.c: make endstop debouncing steps configurable.
2011-10-23 19:51:46 +02:00
Markus Hitter
b7cd9859c4
Rename config.h.dist to something with a .h suffix.
...
This eases working with colouring text editors and is more
consistent with all those board-specific configs.
2011-10-23 19:51:45 +02:00
Markus Hitter
f2fea37eb8
home.c: remove now obsolete power-on stuff.
...
This went obsolete, as homing movements are enqueued now.
2011-10-23 19:51:43 +02:00
Ben Gamari
45124316e3
Rework endstop homing.
...
The DDA is now used for motion control.
Note from Traumflug: thanks a lot for this excellent patch, Ben.
2011-10-23 19:51:40 +02:00
Markus Hitter
448df5d1c3
config.*.h: raise default acceleration values.
...
Recommendation by Sublime, see
http://forums.reprap.org/read.php?147,99780,99912#msg-99912
2011-10-05 14:13:44 +02:00
Markus Hitter
510a68f864
Contribution by Pointedstick: Sanguinololus Y_MIN_PIN is DIO19, not DIO16.
2011-10-05 14:13:42 +02:00
Markus Hitter
4d465b3e25
Picked up Sanguinololu config files from the RepRap forum.
...
Contribution by Sublime, many thanks.
2011-10-05 14:13:33 +02:00
Markus Hitter
e88becbad9
Config: don't enable soft axis limits by default.
...
This is confusing for newbies when their host of choice tries
to move into negative space.
You know ...
"Just installed Teacup and it's trash, because motors don't move!"
2011-10-05 14:13:32 +02:00
Markus Hitter
2eff194cdf
Rename STEPPER_ENABLE_INVERT to STEPPER_INVERT_ENABLE.
...
No functional change, just match the naming of single stepper
enable pins.
2011-10-05 14:13:28 +02:00
Markus Hitter
a33964fc51
Clean up enable pin handling.
...
This includes:
- Initialize them in mendel.c.
- While running, switch the pin only.
- Sort mendel.c the same order as in pinio.h.
- Remove the requirement of a parameter for this flag, like
it's with all other flags.
2011-10-05 14:13:25 +02:00
Markus Hitter
eb734b173d
power_on(): add a delay when powering on.
...
This allows the PSU to come up before we get step losses if
we step immediately.
2011-10-05 14:13:24 +02:00
Markus Hitter
3b4953a631
Remove a bunch of duplicate x_enable() etc..
2011-10-05 14:13:22 +02:00
Markus Hitter
b45969e57a
Introduce stepper_enable() and stepper_disable().
...
This allows to heat up with disables steppers, even if all steppers
share a common enable pin.
2011-10-05 14:13:21 +02:00
Markus Hitter
b4ad459e86
Distribute PS_ON_PIN and STEPPER_ENABLE_PIN to all config templates.
2011-10-05 14:13:19 +02:00
Markus Hitter
090da8ddad
Clean up handling PS_ON_PIN and STEPPER_ENABLE_PIN.
...
This means moving power_on() from a macro to a function and
initializing the STEPPER_ENABLE_PIN in mendel.c.
2011-10-05 14:13:15 +02:00
Markus Hitter
fa0381341b
sender-mac.sh: another minor fix.
2011-09-30 21:02:25 +02:00
Markus Hitter
8a3c8d936d
sender-mac.sh: strip unwanted characters.
...
This apparently removes some confusion with line endings.
2011-09-30 15:14:15 +02:00
Markus Hitter
f9a4495aa1
Introduce TEMP_NONE, a "sensor" just storing the target temperature.
...
This is useful when operation a milling spindle. In this case,
set the spindle speed with M104 Sxxx, where xxx is 1..255.
M104 S0 turns the spindle off.
2011-09-01 19:03:33 +02:00
Markus Hitter
a6c22eed09
gcode_process.c: turn heaters off for M0/M2
...
This ensures heaters don't spring back to life in case power
is turned back on for something else.
2011-09-01 18:25:04 +02:00
Markus Hitter
f55e9ec051
Apply 58f4678253 to config.gen7.h as well.
2011-08-30 12:08:09 +02:00
Markus Hitter
4f748c68b1
Bring config.gen7.h up do date.
...
There was a recent rename which wasn't in the contributed example yet.
2011-08-30 12:08:06 +02:00
Markus Hitter
c863261eaa
Contribution by Schmelly: config and thermistor table for Gen7.
2011-08-30 12:08:00 +02:00
Markus Hitter
58f4678253
Catch by RobertFach: compatibility option for RepRap Host 20110509.
2011-08-30 12:01:48 +02:00
Markus Hitter
177dd73a43
Introduce a script to send G-code files on a Macintosh.
...
This is sender-mac.sh. See the top of this file for a description
on how to use it.
2011-08-28 13:15:37 +02:00
Markus Hitter
24ba72e5d2
gcode_process.c: fix comment typos.
2011-08-22 18:20:08 +02:00
Markus Hitter
a241ef2fa3
gcode_process.c: get rid of duplicate comments and those ===='s
...
These ==== are nasty if you grep a directory for patch conflicts.
2011-08-22 18:15:02 +02:00
Markus Hitter
dcc2255526
gcode_process.c: implement proper M2, comment on M0.
2011-08-22 18:15:00 +02:00
Bas Laarhoven
9cc2bb9125
Also set DDR mask for upper 8 channels if using a 16-bit mux.
2011-08-19 17:47:32 +02:00
Markus Hitter
ffdfde8d8d
gcode_process.c: re-add comment about G28, remove now obsolete functions.
2011-08-16 15:31:09 +02:00
Markus Hitter
5e85bb4fbb
Makefile: typo fix.
2011-08-16 15:19:11 +02:00
Markus Hitter
9e64fdd8b0
Makefile: make that sizes table fit into 80 chars again.
2011-08-16 15:14:50 +02:00
Markus Hitter
f6a70a5984
Makefile: get rid of that unrequested diff output.
...
This masks the message and annoys developers.
2011-08-16 15:14:47 +02:00
Bas Laarhoven
0dd3b7a892
Allow for queue sizes that are not a power of 2.
...
This prevents nasty surprises because this restriction is not mentioned in the configuration files. It also allows better tuning of performance against memory usage.
Traumflug: costs 18 bytes flash, so it's bearable.
2011-08-16 14:39:03 +02:00
Bas Laarhoven
1683db7f57
Fixed single inclusion of file. Added missing define.
2011-08-16 14:09:49 +02:00
Bas Laarhoven
b1d8fd4a1f
Renamed old RAMPS config file because another version was created.
2011-08-16 14:05:41 +02:00
Bas Laarhoven
72fdd33958
Prevent unexpected macro expansion.
2011-08-16 13:59:41 +02:00
Bas Laarhoven
dfbaed16b9
Just added some comments.
2011-08-16 13:56:00 +02:00
Bas Laarhoven
a8d21ebb92
Changed 'denoise' into more commonly used term 'debounce'.
2011-08-16 13:45:48 +02:00
Bas Laarhoven
b05e358223
Added size output for ATMEGA1280.
2011-08-16 13:38:53 +02:00
Bas Laarhoven
c2e7da519a
Changed and tested pin definitions based on RAMPS v1.3 schematics.
2011-08-16 13:24:59 +02:00
Bas Laarhoven
41f0d4050b
Created a new config file for the RAMPS v1.3 shield. Duplicated config.ramps.h to start with.
2011-08-16 13:23:27 +02:00
Michael Moon
8483073380
revert G28 to homing, as no-one uses it properly anyway
2011-07-16 21:01:31 +10:00
Michael Moon
49e2844213
fix bug introduced by 2421b788: dda struct requires c member even with no acceleration, it is used for feedrate
2011-07-08 09:56:43 +10:00
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
fd93109b63
enable power and motors before homing, set position to n_MIN when hitting MIN limits if set
2011-06-26 17:41:21 +10:00
Michael Moon
a262d72788
fix 'MUX5 not declared' compile error for chips that don't have A8-15
2011-06-22 11:23:19 +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
Michael Moon
2013effd9c
allow larger chips to use analog channels 8-15
2011-06-18 13:28:47 +10:00
Michael Moon
43b5c0f0b4
force heater to remain off when target is zero
2011-06-14 23:16:14 +10:00
Michael Moon
a68ae12679
add NO_AUTO_IDLE option to prevent powercuts after inactivity, add temp_all_zero so power isn't cut if heater remains off for a while but has a non-zero set temperature
2011-06-14 23:05:13 +10:00