aboutsummaryrefslogtreecommitdiffstats
path: root/klippy
Commit message (Collapse)AuthorAgeFilesLines
* display: FR icon changed to "Feed Rate" (#860)James2018-11-131-13/+13
| | | Signed-off-by: James Wood <j@j-w.co>
* bed_mesh: Fix some fragile identity comparisonsLucas Fink2018-10-311-2/+2
| | | | Signed-off-by: Lucas Fink <software@lfcode.ca>
* sx1509: Relax restrictions on SX1509 pins (#836)Florian Heilmann2018-10-301-6/+6
| | | | | This allows SX1509 pins to be used as temperature fans and heater fans. Heaters are still disallowed. Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
* tmc2660: Fix typo in TMC2660 extra (#830)Florian Heilmann2018-10-291-1/+1
| | | Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
* avr: Add support for atmega328pKevin O'Connor2018-10-291-1/+3
| | | | | | | The atmega328p is basically the same as the atmega328 - add explicit support for it so that avrdude doesn't complain while flashing. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Add DUMP_TMC capabilities to the TMC2660 extraFlorian Heilmann2018-10-281-1/+19
| | | | Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
* Implement idle event support in the TMC2660 extraFlorian Heilmann2018-10-281-48/+25
| | | | Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
* idle_timeout: Add printing/ready/idle trackingKevin O'Connor2018-10-282-22/+73
| | | | | | | Internally track the overall printer state. Generate events on state transitions. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: process_batch() should execute commands atomicallyKevin O'Connor2018-10-283-23/+26
| | | | | | | Update the process_batch() method so that it will not interleave commands read from the input fd with the batched commands. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* sx1509: Raise an error if a pin max_duration is not zeroKevin O'Connor2018-10-271-1/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* delta: Make sure to clear limit_xy2 after a homing moveKevin O'Connor2018-10-271-0/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* delta: Make sure to also exempt the homing retract move from boundary checksKevin O'Connor2018-10-271-8/+11
| | | | | | | | | Commit 459e5219 added a special case to the boundary checks to permit homing moves. In some cases, the second home retract could also be outside the normal boundary checks - extend the special case to also permit that move. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* util: Fix versioning when gitdir is absent (#809)lf2018-10-271-11/+24
| | | | | | | | | | | | | The gitdir previously could be absent and produce a version of "" in spite of checks for it. Fixed. Parent directories with shlex-interpreted characters in their names could be misinterpreted. Removed shlex parsing. Packagers may want to remove the git history to slim down the package size, so add an option for using a file 'version' in the klippy directory to set version without using git. Signed-Off-By: Lucas Fink <software@lfcode.ca>
* Add SX1509 extraFlorian Heilmann2018-10-271-0/+201
| | | | Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
* extruder: Don't use max_extrude_cross_section in max_extrude_only defaultsKevin O'Connor2018-10-251-4/+5
| | | | | | | | | | Some users increase max_extrude_cross_section to avoid issues with some slicers. However, increasing that value also increases the defaults for the max_extrude_only parameters which is not obvious. Base the max_extrude_only defaults only on the configured nozzle diameter. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc2660: Add endstop phase detection functionality to TMC2660 extra (#816)Florian Heilmann2018-10-242-2/+13
| | | Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
* bed_mesh: Do not automatically run G28 on BED_MESH_CALIBRATE / BED_MESH_MAPKevin O'Connor2018-10-221-1/+0
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bed_tilt: Do not automatically run G28 on BED_TILT_CALIBRATEKevin O'Connor2018-10-221-1/+0
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* delta_calibrate: Do not automatically run G28 on DELTA_CALIBRATEKevin O'Connor2018-10-221-1/+0
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* pid_calibrate: Add some comments on the calibration methodologyKevin O'Connor2018-10-191-2/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* display: Check for M117 inside of draw_status()Kevin O'Connor2018-10-181-22/+12
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* klippy: No need to return anything from _connect() methodKevin O'Connor2018-10-181-3/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* endstop_phase: Add support for an ENDSTOP_PHASE_CALIBRATE commandKevin O'Connor2018-10-161-0/+96
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* endstop_phase: Add support for detecting phase via TMC stepper driversKevin O'Connor2018-10-163-5/+33
| | | | | | | | The Trinamic stepper motor drivers are capable of reporting the stepper phase - add support for using that capability to the enddstop_phases module. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* endstop_phase: Move endstop phase homing code to new "extras" moduleKevin O'Connor2018-10-163-65/+83
| | | | | | | Move the endstop phase tracking code from stepper.py to a new extras/endstop_phase.py module. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* klippy: Add a basic event dispatch mechanismKevin O'Connor2018-10-161-0/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* homing: Pass printer instead of toolhead object to Homing classKevin O'Connor2018-10-163-4/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* chelper: Add a quick __main__ to compile c helper (#782)lf2018-10-161-0/+4
| | | Signed-off-by: Lucas Fink <software@lfcode.ca>
* configfile: Strip trailing commentsKevin O'Connor2018-10-161-0/+8
| | | | | | | The Python 2.x ConfigParser doesn't support stripping of trailing '#' style comments. Do that manually before parsing the config. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* delta_calibrate: Perform coordinate descent in a background processKevin O'Connor2018-10-152-8/+30
| | | | | | | Run the coordinate descent in a background process so that the main thread does not block. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* toolhead: Don't clear sync_print_time on a get_next_move_time() callKevin O'Connor2018-10-151-8/+11
| | | | | | | | Only clear the internal sync_print_time flag if the code performs a regular "lazy" flush of the look-ahead queue. This helps build the look-ahead queue even when running internal scripts. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: Report state message after any error in a STATUS responseKevin O'Connor2018-10-131-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: Remove "Preparing to restart" messageKevin O'Connor2018-10-131-1/+0
| | | | | | | Now that "Klipper state" messages are proactively sent, it is redundant to send the "preparing to restart" message. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* homing: Move homing offset adjustment logic to generic homing codeKevin O'Connor2018-10-104-11/+8
| | | | | | | Move the "stepper phase" adjustment logic from the kinematic classes to the generic homing.py code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* mcu: Add a set_commanded_position() method to MCU_stepperKevin O'Connor2018-10-102-13/+17
| | | | | | Add the ability to directly set the "commanded" stepper position. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* delta: Add a special case to the limit checks for the homing positionKevin O'Connor2018-10-101-4/+5
| | | | | | | | | | When a delta printer has different arm lengths or different endstop positions then the homing position falls outside of the normal printable area. Add a special check to the range checking code to permit this move instead of homing to a position near the actual homing position. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* delta: Reorganize init()Kevin O'Connor2018-10-101-18/+18
| | | | | | Just code movement. Move boundary check init to after tower init. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* homing: Implement second home from homing.pyKevin O'Connor2018-10-105-100/+73
| | | | | | | Move the logic for performing the second home from the kinematics classes to the generic homing code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* delta: Wrap lines to 80 columnsKevin O'Connor2018-10-101-5/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* servo: Wrap lines to 80 columnsKevin O'Connor2018-10-101-10/+15
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stepper: Wrap lines to 80 columnsKevin O'Connor2018-10-091-3/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* cartesian: Use homing_speed for homing retract speedKevin O'Connor2018-10-093-3/+3
| | | | | | | | Commit b0d859f2 introduced a second_homing_speed parameter, and it also changed the retract speed. Revert the retract speed change (use homing_speed when the head retracts). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* cartesian: Make sure to constrain second_homing_speed to max_z_velocityKevin O'Connor2018-10-082-0/+3
| | | | | | | Commit b0d859f2 introduced a second_homing_speed parameter; that parameter needs to also be constrained to the max_z_velocity. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* display: Corrected Fan icon graphics (#753)alfsoft2018-10-071-1/+2
| | | | | | Added new Copyright string, corrected Fan icon graphics Signed-off-by: Alexander Fadeev <alfsoft@gmail.com>
* servo: Adding support for startup value for servos (#676)Chris Whiteford2018-10-051-9/+25
| | | Signed-off-by: Chris Whiteford <github@chrisandtennille.com>
* stepper: Adding support for a second_homing_speed parameter (#677)Chris Whiteford2018-10-044-8/+12
| | | Signed-off-by: Chris Whiteford <chris@chrisandtennille.com>
* st7920: Use display xor capability when animating glyphsKevin O'Connor2018-10-041-9/+9
| | | | | | | | | | Use the xor capability of the display to animate the glyphs, which reduces the number of glyphs needed from 4 to 2. This should make it easier to add future animations if desired. Suggested by @marcio-ao. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* display: Change Extruder, Bed and Fan icons design (#740)alfsoft2018-10-041-59/+59
| | | | | Based on replies from Issue 652 (https://github.com/KevinOConnor/klipper/issues/652) only Extruder, Bed and Fan icons are changed. Feedrate icon stays untouched. Signed-off-by: Alexander Fadeev <alfsoft@gmail.com>
* bed_mesh: save mesh state to 'default' profile after calibrationArksine2018-10-041-2/+12
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* bed_mesh: Add ability to save mesh state to persistent memoryArksine2018-10-021-1/+97
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>