Commit Graph

496 Commits

Author SHA1 Message Date
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 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
Markus Amsler 1d556e0278 Use HEATER_BED everywhere.
For intercom heated bed it may be different from HEATER_bed.
2011-04-11 22:41:50 +02:00
Michael Moon c54c964fc0 initialise heaters on timers 3/4/5 2011-04-11 11:22:09 +10:00
Markus Hitter 15ed65dbad No SEARCH_FEEDRATE_E, as E can't be searched. 2011-04-10 15:56:07 +02:00
Michael Moon ae33cb7fa2 start implementing absolute E support 2011-04-09 09:16:05 +10:00
Michael Moon b37a5d435e home Z to max if possible by default 2011-04-09 09:15:48 +10:00
Michael Moon f4e4788892 wait for queue to empty before homing 2011-04-09 09:15:22 +10:00
Markus Amsler d97a4519d3 extruder: Get rid of _CONFIG_H, like on the mainboard config. 2011-04-07 03:29:17 +02:00
Markus Amsler ad7f7f0e96 Don't set all axis to home on G92 E0 2011-04-07 03:15:47 +02:00
Markus Amsler 0a92c13051 extruder: sync heater.c 2011-04-05 02:14:34 +02:00
Markus Amsler 57a75ecbfb temp: TEMP_RESIDENCY_TIME is in seconds not in temp_ticks (=10ms) 2011-04-04 09:21:32 +10:00
Michael Moon 95e7cda9db avoid warning: 'SpecialMoveE' defined but not used 2011-04-04 09:16:52 +10:00
Markus Amsler be18eb90b8 Convert TEMP_HYSTERESIS to Celsius. 2011-04-04 09:12:54 +10:00
Markus Amsler 093d20481e heater: fix residency compare.
labs requires a signed int.
2011-04-04 09:12:54 +10:00
Markus Amsler 9860d2850f heater: only reset residency if temp really changed
Skeinforge generates sometimes multiple calls to M104/M140, which would add a slow delay on the next M101.
2011-04-04 09:12:53 +10:00
Markus Amsler 3a271ee487 intercom: make sure extruder switches to listen mode 2011-04-04 09:12:53 +10:00
Markus Amsler 5656c5050c Implement M116 - Wait 2011-04-04 09:12:53 +10:00
Michael Moon dba60ba1eb fix error: lvalue required as unary '&' operand when heater pin is not a PWMable pin. 2011-04-04 09:10:25 +10:00
Andy Kirby a35c304762 add encoding to createTemperatureLookup.py
Signed-off-by: Michael Moon <triffid.hunter@gmail.com>
2011-03-30 12:18:42 +11:00
Michael Moon 66415078e5 update extruder to match simplified heater 2011-03-28 21:54:58 +11:00
Michael Moon 3c3624542f simplify heater configuration by using arduino_*.h more effectively with DEFINE_HEATER macro 2011-03-28 18:45:28 +11:00
Michael Moon 100b7c6c4a only check intercom every 250ms as we don't send packets more often 2011-03-27 19:34:16 +11:00
Michael Moon e1ebf74ba0 more gen3 updates courtesy of sliptonic via IRC 2011-03-24 11:48:54 +11:00
Michael Moon d7f5c08174 all defines live in config.h now, remove from Makefile 2011-03-24 11:26:11 +11:00
Michael Moon 918e3be84c include thermistor tables, most users seem to have similar thermistors so we can safely provide a default 2011-03-24 11:06:04 +11:00
Michael Moon 0ddb40a844 IDE apparently takes issue with Extruder.pde in extruder directory, altered capitalisation 2011-03-24 10:58:51 +11:00
Michael Moon 081b693341 extruder doesn't use serial.c, update watchdog.c to suit 2011-03-24 10:51:57 +11:00
Michael Moon 196caff134 Extruder: GEN3 and EXTRUDER defined in config, not Makefile 2011-03-24 10:31:33 +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 b03dd87665 config.h.dist: remove the Gen3 sample pinout.
As we have a config.gen3.h now, this is obsolete.
2011-03-20 16:09:21 +01:00
Markus Hitter 8b78c2a498 Make baud rate user-configurable. 2011-03-20 15:47:15 +01:00
Markus Hitter 1214646ca8 mendel.c: Repsnapper expects a lowercase "start". 2011-03-20 02:09:16 +01:00
Markus Hitter f9842d1d90 extruder/config.h.dist: add fallbacks for non-Makefile compilation. 2011-03-19 22:15:22 +01:00
Michael Moon 6e9dd81fb7 func.sh: add variable for serial device 2011-03-17 20:38:30 +11:00
Markus Hitter 851a91306a timer.c: don't reset next_step_time when doing a step.
Doing so adds most of the interrupt execution time to the
step time, see line 126 of the same file:

    if (next_step_time == 0) {
      // new move, take current time as start value
      step_start = TCNT1;
    }
2011-03-14 17:34:26 +01:00
Vaclav Ax Hula 0ec0d360be atmega2560 support in makefile 2011-03-07 13:45:09 +11:00
Vaclav Ax Hula dba296d3d2 Complete project renaming 2011-03-07 13:44:54 +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 03b52e0340 gcode_parse.c: don't double-initialize last_field or read_digit.
Saves 64 bytes binary size.
2011-03-06 23:30:15 +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
Ben Jackson f9565633ea lufa_serial.c: Remove commented-out attempt to promote LF to CRLF. 2011-03-06 09:19:15 +11:00
Ben Jackson 08b516d7f3 Add support for USB serial using the LUFA library.
Configured for at90usb1287 and F_CPU=8000000L this is compatible with
the AT90USBKEY.  Other boards, chips and frequencies require updating
the configuration in lufa_serial/makefile and possibly adding a Board
driver to the LUFA submodule.
2011-03-06 09:18:58 +11:00
Ben Jackson c304c300b7 Add LUFA as submodule to support USB-capable Atmel chips.
Initially pointing at LUFA release 101122.
2011-03-06 09:18:31 +11:00
Ben Jackson e14ec822b8 Add ThermistorTable.h to .gitignore. 2011-03-06 09:18:22 +11:00
Michael Moon 718ace8f05 prevent arithmetic overflow for large max feedrates 2011-03-06 09:16:05 +11:00
Michael Moon 9234fefd06 update func.sh wranglers for new functions 2011-03-05 15:59:29 +11:00
Michael Moon 16944d4394 try to deal with consecutive null moves 2011-03-05 15:55:55 +11:00