aboutsummaryrefslogtreecommitdiffstats
path: root/klippy
Commit message (Collapse)AuthorAgeFilesLines
* controller_fan: Allow multiple controller_fan sections to be definedKevin O'Connor2019-03-101-1/+1
| | | | | | | It may be necessary to define multiple fans, so allow each config section to be named. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* z_tilt: bugfix for final correction of z-offsetArne Jansen2019-03-101-1/+1
| | | | | | | | | | The z_adjust offset provided to adjust_steppers is calculated given the steppers adjust exactly according to the given x_adjust/y_adjust. As the algorithm eliminates an offset that is common to all steppers, this offset must be taken into account in the final correction. Signed-off-by: Arne Jansen <arne@die-jansens.de> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* menu: Set input_max for moving toolhead in menu to same value for all move ↵amblidex2019-03-081-10/+10
| | | | | increments (#1372) Signed-off-by: Frank Kang <amblidex@outlook.com>
* probe: Fix PROBE_CALIBRATE commandKevin O'Connor2019-03-081-3/+5
| | | | | | | The z_offset calculation should have been calculated from the probe height to the measured bed position. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* probe: Catch toolhead.move() exceptions in cmd_PROBE_CALIBRATE()Kevin O'Connor2019-03-081-15/+12
| | | | | | | Slightly rework the self._move_position() code and also use it in PROBE_CALIBRATE. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* screws_tilt_adjust: Add new screws_tilt_adjust tool (#1367)Rui Caridade2019-03-082-3/+120
| | | Signed-off-by: Rui Caridade <rui.mcbc@gmail.com>
* tmc2130: Rename driver_BLANK_TIME_SELECT to driver_TBLKevin O'Connor2019-03-082-2/+2
| | | | | | | Use the field names from the trinamic specification. This makes the field similar to all the other driver_XXX config options. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc2660: Minor indentation fixKevin O'Connor2019-03-081-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc2660: Add INIT_TMC and SET_TMC_FIELD gcodesFlorian Heilmann2019-03-081-2/+31
| | | | Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
* tmc2660: Raise SPI speed to 4 MhzFlorian Heilmann2019-03-081-1/+1
| | | | Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
* tmc2660: Use helper functions for register access and simplify TMC2660 ↵Florian Heilmann2019-03-081-193/+174
| | | | | | | | parameters sense_resistor is now a mandatory parameter for tmc2660 blocks. Duet2 users should use a value of 0.051 Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
* tmc2660: Add vsense_resistor config parameterFlorian Heilmann2019-03-081-18/+18
| | | | Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
* quad_gantry_level: Fixing logic to use probed Z values correctly (#1328)Voron2019-03-081-19/+30
| | | Signed-off-by: Maks Zolin <mzolin@vorondesign.com>
* verify_heater: If the heating_gain check fails, just use max_error checkKevin O'Connor2019-03-081-13/+17
| | | | | | | | | Don't immediately raise an error if the heating_gain check fails. Instead, just transition to the normal max_error check. This should make the code less likely to raise an error should the heater have a slow approach to the target temperature. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* verify_heater: Improve handling of new targets when temperature is droppingKevin O'Connor2019-03-081-1/+5
| | | | | | | | | Allow the first check_gain_time interval to only require a heating_gain relative to the lowest observed temperature during that interval. This makes the code less likely to raise a spurious error when the heater is enabled while the heater temperature is dropping. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* verify_heater: Only reset the error count if within the hysteresis rangeKevin O'Connor2019-03-081-1/+2
| | | | | | | | Don't reset the error counter if the reported temperature is significantly above the target temperature. This may help catch cases where the temperature sensor reports random values. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: Change respond_info() to log by defaultKevin O'Connor2019-03-049-29/+17
| | | | | | | It makes sense to log most respond_info() content, so do that by default. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* manual_stepper: Add support for moves with accelerationKevin O'Connor2019-03-032-21/+40
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Add definitions for SAMD21E18 chipKevin O'Connor2019-03-011-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Use the full micro-controller name for CONFIG_MCUKevin O'Connor2019-03-011-3/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: Improve handling of end of input when reading from a debug fileKevin O'Connor2019-03-011-0/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* filament_switch_sensor: initial implementation of switch based filament ↵Arksine2019-03-011-0/+124
| | | | | | | | runout/insert sensor This implementation includes a BaseSensor class that all underlying sensor implementations should subclass. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* pause_resume: Implement send_pause_command()Arksine2019-03-012-9/+18
| | | | | | This allows for pausing from inside a reactor callback. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* atsamd: Add support for programming SERCOM pinsKevin O'Connor2019-03-011-0/+46
| | | | | Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc2130: Wrap code to 80 columnsKevin O'Connor2019-03-011-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc2130: Add support for INIT_TMC commandKevin O'Connor2019-03-012-7/+27
| | | | | Signed-off-by: Frank Kang <amblidex@outlook.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bed_screws: Fix missing importKevin O'Connor2019-02-281-0/+1
| | | | | | Reported by @JoaoFelipe. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc2130: Report write-only registers in DUMP_TMCKevin O'Connor2019-02-271-0/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc2208: Report write-only registers in DUMP_TMCKevin O'Connor2019-02-271-0/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc2660: Wrap code to 80 columnsKevin O'Connor2019-02-271-26/+56
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tsl1401cl_filament_width_sensor: Wrap code to 80 columnsKevin O'Connor2019-02-271-17/+34
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* quad_gantry_level: Wrap code to 80 columnsKevin O'Connor2019-02-271-9/+18
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* respond: Wrap code to 80 columnsKevin O'Connor2019-02-271-3/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* temperature_fan: Wrap code to 80 columnsKevin O'Connor2019-02-271-7/+13
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* sx1509: Wrap code to 80 columnsKevin O'Connor2019-02-271-8/+14
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* serialqueue: Wrap code to 80 columnsKevin O'Connor2019-02-272-6/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stepcompress: Wrap code to 80 columnsKevin O'Connor2019-02-271-3/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* buttons: Wrap code to 80 columnsKevin O'Connor2019-02-271-5/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* hd44780: Wrap code to 80 columnsKevin O'Connor2019-02-271-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* st7920: Wrap code to 80 columnsKevin O'Connor2019-02-271-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* thermistor: Wrap code to 80 columnsKevin O'Connor2019-02-271-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* probe: Wrap code to 80 columnsKevin O'Connor2019-02-271-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Wrap code to 80 columnsKevin O'Connor2019-02-271-1/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* font8x14: Store font as strings instead of as bytearrayKevin O'Connor2019-02-273-258/+259
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* chelper: Wrap code to 80 columnsKevin O'Connor2019-02-271-3/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* pins: Wrap code to 80 columnsKevin O'Connor2019-02-271-3/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* klippy: Wrap code to 80 columnsKevin O'Connor2019-02-271-1/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* spi_temperature: Wrap code to 80 columnsKevin O'Connor2019-02-271-7/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* toolhead: Wrap code to 80 columnsKevin O'Connor2019-02-271-5/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heater: Wrap code to 80 columnsKevin O'Connor2019-02-271-5/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>