Commit Graph

488 Commits

Author SHA1 Message Date
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
Michael Moon c177756913 don't mess up return data stream if numbers have too much precision 2011-03-05 15:54:36 +11:00
Michael Moon db8902b265 add newline after queue when debugging position 2011-03-05 15:12:34 +11:00
Michael Moon 2340808695 start implementing intercom protocol rehash 2011-03-05 13:38:12 +11:00
Michael Moon d0601716e8 reorganise intercom to send packets from extruder main loop, also generalise protocol as discussed in forum 2011-03-05 13:38:12 +11:00
kieran 088f79aa11 add mendel_print_interactive to func.sh for stepping through prints
Signed-off-by: Michael Moon <triffid.hunter@gmail.com>
2011-03-05 13:34:25 +11:00
Markus Hitter 3ee3ee06a1 pinio.h: cosmetics. 2011-03-04 22:51:54 +01:00
Markus Hitter 4cc0c2ca4f Refine enhancements in ea4fdcf a bit. 2011-03-04 22:02:46 +01:00
Ben Jackson 870be1f39d arduino.h: Add support for AT90USB1287 in arduino_usb1287.h.
Only the absolutely #defines exist.  The other platforms define symbols
that are not used by Teacup and those were not mapped for the '1287.
2011-03-04 19:42:39 +11:00