Commit Graph

763 Commits

Author SHA1 Message Date
Markus Hitter 22a5b428c6 Clean up default thermistor tables, analog to config.default.h.
Most likely, these tables don't depend on the type of electronics,
but on the type of thermistor.
2011-11-12 23:28:01 +01:00
Markus Hitter 67d88132a6 Move ThermistorTable.h out of the repository.
Having this available immediately is nice, having this table
overwritten with each update is a lot worse, though.
2011-11-12 23:26:12 +01:00
Markus Hitter a3f67e04e9 Deleted the "endstop" branch.
This is an empty commit just to notify interested parties.
All the interesting bits formerly in the endstop branch
can be found also in the "newdda" branch.
2011-11-07 13:23:17 +01:00
Markus Hitter b80c736004 Add the missing E_INVERT_ENABLE to the config templates.
Catch by brnrd, thanks.
2011-10-28 13:22:15 +02:00
Markus Hitter eabf3d8e4c config.ramps-1.2.h: invert X/Y/Z enable pins by default.
Suggestion by brnrd, thanks.
2011-10-28 13:22:14 +02:00
Markus Hitter f216ff5e0b home.c: catch by brnrd: inconsistency with Z_MIN_PIN and Z_MAX_PIN.
If both were defined, it was different from handling of X and Y.
Thanks, brnrd.
2011-10-28 13:22:12 +02:00
Markus Hitter d0972036ca home.c: catched by brnrd: two missing &.
Thanks, brnrd.
2011-10-28 13:22:09 +02:00
Markus Hitter 61b81b8a0a README: add installation instructions link in a prominent place. 2011-10-23 20:30:49 +02:00
Markus Hitter 2f8a257a0d dda.c: make update_position() work with an empty queue. 2011-10-23 19:52:00 +02:00
Markus Hitter 7a458486ed dda.c: reset ramping after an endstop stop.
As the new homing code ramps up, but not down, we have to reset
move_state.c before starting the next move.
2011-10-23 19:51:55 +02:00
Markus Hitter 2f04a9e58c Update current_position only as needed.
This saves almost 200 bytes and 100 runs of
update_current_position() per second.
2011-10-23 19:51:54 +02:00
Markus Hitter 414e0f7258 home.c: home_..._positive requires both, ..._MAX_PIN and ..._MAX. 2011-10-23 19:51:52 +02:00
Markus Hitter 27a247646c home.c: make queueing home movements while the machine is running work
current_position is the position at the start of the queue,
startpoint is the position at the end of the queue and we add
at the end, obviously.
2011-10-23 19:51:50 +02:00
Markus Hitter 129bdc64bc home.c: introduce SLOW_HOMING 2011-10-23 19:51:48 +02:00
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