Commit Graph

59 Commits

Author SHA1 Message Date
Markus Hitter 37e2b18f4c config.*.h: distribute changed TEMP_HYSTERESIS description to all templates. 2014-10-18 20:59:00 +02:00
Markus Hitter 95b3ea0b30 Canned G-code: distribute new config option to all templates. 2014-08-31 19:32:01 +02:00
Markus Hitter e7707ea275 config.*.h: extend DEBUG_LED_PIN comment to all config templates. 2014-08-31 19:07:13 +02:00
Markus Hitter 6250dbb9e0 Configuration: move DEBUG_LED definition.
Eventual debugging LEDs aren't part of the CPU, but part of the
electronics. Accordingly, define it in config.*.h, not in
arduino_*.h (which would be better named something like
"atmega_*.h).
2014-08-31 19:05:38 +02:00
Markus Hitter a7adc66ae5 config.*.h: distribute adaptive homing feedrate to all templates. 2014-07-11 01:38:08 +02:00
Markus Hitter 7611872baa Get rid of E_STARTSTOP_STEPS.
This meant to be a firmware-provided retract feature but was
never really supported by G-code generators. Without their support
(by issueing M101/M103), it's pretty hard to detect extrusion
pauses, so this feature simply has no future.

As this was on by default, it saves over 200 bytes binary size
in a default configuration.
2014-07-11 01:37:48 +02:00
Markus Hitter ed9f56a9d8 look-ahead: move jerk definitions into config.h templates. 2014-03-04 19:29:28 +01:00
Markus Hitter 01f7c99881 config.h: introduce PS_MOSFET_PIN for Sanguish support. 2013-10-27 20:01:51 +01:00
Markus Hitter ea59e634a7 Bring LOOKAHEAD into the config templates. 2013-07-11 22:02:23 +02:00
Markus Hitter 3c5d9d8950 Replace #define HOST by #define MOTHERBOARD.
Apparently, HOST conflicts with some AVR headers for the
USB-equipped ATmegas.

Patch by DaveX, thank you Dave. See also:
http://forums.reprap.org/read.php?147,33082,182021#msg-182021
2013-03-24 16:17:14 +01:00
Markus Hitter 64560eda45 config templates: bring in EECONFIG.
Recently EEPROM storage was wrapped in #ifdefs, so, to get it back
by default, we have to enable it.
2013-02-05 14:11:04 +01:00
Markus Hitter 6f2ec09837 Make temperature sensor type TT_NONE obsolete.
The requirement was simply neither obvious nor intuitive. Drawback
is, the indices of temperature sensors can now differ from these
of the heaters. That's easier to recognize for newbies, though.
2013-01-03 15:34:41 +01:00
Markus Hitter ba05d6a0cd Give up on REPRAP_HOST_COMPATIBILITY.
Was never really accepted and these days, hosts usually adjust
to the firmware instead of the other way around.
2012-12-03 19:50:14 +01:00
Markus Hitter 9b018b7433 Make USB_SERIAL fit for the Arduino IDE.
This also includes renaming of USE_USB to USB_SERIAL for more
consistency.
2012-12-03 19:49:58 +01:00
Markus Hitter 7c3920a552 Distribute on/off on PWM pins to all config templates. 2012-11-08 16:37:31 +01:00
Markus Hitter 8e27595a5f temp.c: allow smoothing temperature readings.
This is done by an Exponentially Weighted Moving Average (EWMA)
formula. Contribution by DaveX, see
http://forums.reprap.org/read.php?147,33082,157978#msg-157978

Thanks a lot, Dave.
2012-11-08 16:22:31 +01:00
Markus Hitter a054d4c6cd Remove all remaining evidence of M109.
M109 went away a few commits ago in favour of only M116.
2012-10-14 22:57:22 +02:00
Markus Hitter fd9985ac49 config templates: fix directly numbered/unused pins. 2012-09-29 22:59:22 +02:00
Markus Hitter 5811b49b02 Config templates: comment out FAST_PWM by default.
Also, start to limit comments in the config templates to 80 chars,
to ease reading them in the Arduino IDE.
2012-08-17 16:02:02 +02:00
Markus Hitter 0ba62800eb config template: adjust the comments for the heaters.
For example, heaters currently don't work on non-PWM pins. Also,
mention special names.
2012-08-04 22:08:43 +02:00
Markus Hitter 8c6e6a1027 Fix comment on STEPS_PER_M_x in config.h templates. 2012-08-04 22:08:35 +02:00
Markus Hitter 1657fb2731 Align heater definitions in config.h templates.
Purely cosmetical, no functional change.
2012-05-13 20:44:09 +02:00
Markus Hitter eaf6c453be Introduce gcode_init() and honor E_ABSOLUTE as the default. 2012-05-11 13:50:51 +02:00
Markus Hitter a6e2a10f10 Update Gen3 config template according to Mendelfanatic.
Thanks a lot for the help, Mendelfanatics. See
http://forums.reprap.org/read.php?147,33082,126135#msg-126135
2012-03-28 12:52:04 +02:00
Markus Hitter 7b909fcf82 Fix thermistor tables, which also fixes a build failure.
Now we don't have tables for default or gen7 electronics, but
two default tables for a single vs. two different thermistors.
This seems to be more logical.
2012-03-25 16:16:48 +02:00
Markus Hitter 86e20580f8 Make fast PWM optional.
In some cases the heater switching MOSFETs overheat and using a lower
PWM frequency is advised. See also:
http://reprap.org/wiki/Gen7_Research#Heat_vs._PWM_Frequency
2012-03-03 16:56:36 +01:00
Markus Hitter 71fb5d6f47 configs: make F_CPU UL instead of L. 2011-12-04 18:36:15 +01:00
Markus Hitter 4e5f51f01e Store distances in the TARGET strucure in micrometers for all axes.
This extends the previous commit from X to Y, Z and E.
2011-11-17 13:48:36 +01:00
Markus Hitter c96ea0c773 Store distances in the TARGET structure always in micrometers.
This is a intrusive patch and for now, it's done for the X axis only.
To make comparison with the former approach easier ...

The advantages of this change:

- Converting from mm to steps in gcode_parse.c and back in dda.c
  wastes cycles and accuracy.

- In dda.c, UM_PER_STEP simply goes away, so distance calculations
  work now with STEPS_PER_MM > 500 just fine. 1/16 microstepping
  on threaded rods (Z axis) becomes possible.

- Distance calculations (feedrate, acceleration, ...) become much
  simpler.

- A wide range of STEPS_PER_M can now be handled at reasonable
  (4 decimal digit) accuracy with a simple macro. Formerly,
  we were limited to 500 steps/mm, now we can do 4'096 steps/mm
  and could easily raise this another digit.

Disadvantages:

- STEPS_PER_MM is gone in config.h, using STEPS_PER_M is required,
  because the preprocessor refuses to compare numbers with decimal
  points in them.

- The DDA has to store the position in steps anyways to avoid
  rounding errors.
2011-11-17 13:48:26 +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 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 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 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 b4ad459e86 Distribute PS_ON_PIN and STEPPER_ENABLE_PIN to all config templates. 2011-10-05 14:13:19 +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 58f4678253 Catch by RobertFach: compatibility option for RepRap Host 20110509. 2011-08-30 12:01:48 +02:00
Markus Hitter 26fb18d178 Define acceleration in mm/s^2 instead of some unspecified value.
This units thing nicely covers the fact we need the ACCELERATION
to precalculate ramping steps later.
2011-05-15 13:10:32 +02:00
Markus Hitter c095fa5de3 Leverage E_ABSOLUTE into config.h's, so people recognize it.
Oh, and let's hope it works already :-)
2011-05-13 13:24:52 +02:00
Markus Amsler 15f835320f Update config.gen3.h to support a heated bed over intercom. 2011-04-12 20:12:20 +02:00
Markus Amsler e937b052af Add support for multiple thermistor tables.
DEFINE_TEMP_SENSOR takes one additional argument. For TT_THERMISOR you can specify there which thermistor table to use.
2011-04-12 20:00:18 +02:00
Markus Hitter 15ed65dbad No SEARCH_FEEDRATE_E, as E can't be searched. 2011-04-10 15:56:07 +02:00
Markus Amsler be18eb90b8 Convert TEMP_HYSTERESIS to Celsius. 2011-04-04 09:12:54 +10:00
Michael Moon e1ebf74ba0 more gen3 updates courtesy of sliptonic via IRC 2011-03-24 11:48:54 +11: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 8b78c2a498 Make baud rate user-configurable. 2011-03-20 15:47:15 +01:00
Markus Hitter e688e8b788 Consequences of the stepping extruder now being optional. 2011-03-02 00:43:06 +01:00
Markus Hitter b7afdda3f7 Make the use of the internal pullup resistors optional.
All other firmwares set them to zero -> no internal pullup resistor,
as they counter-work to the design of the electronic endstops.
However, in conjunction with mechanical endstops, they're very practical.
2011-03-01 16:10:52 +01:00
Markus Hitter 0d37270af1 Config templates: publish INVERT flags.
The corresponding code is in pinio.h already, so let's hope
it actually works.
2011-02-27 12:01:47 +01:00