aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* config: Add pin aliases to generic-creality-v4.2.7.cfgJames Churchill2021-06-141-0/+6
| | | | Signed-off-by: James Churchill <pelrun@gmail.com>
* docs: Note previous firmware state issue with TMC2209/TMC2209 in TMC_Drivers.mdKevin O'Connor2021-06-121-0/+6
| | | | | | | | | | | If a high UART frequency is used to communicate with TMC2208/TMC2209 drivers then it may not be possible for Klipper to communicate with the drivers until they are reset. Note this in the troubleshooting document. Reported by @matthewlloyd. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Recommend pause of 2 seconds during sensorless homingKevin O'Connor2021-06-121-13/+17
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Deprecate pid_integral_max config optionKevin O'Connor2021-06-122-5/+4
| | | | | | | | The default pid_integral_max setting should be sufficient; it's not necessary to complicate the documentation and config to support customization. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stepper: Restore mcu_position on set_stepper_kinematics() and set_step_dist()Kevin O'Connor2021-06-111-15/+20
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stepcompress: Add missing functions to stepcompress.hKevin O'Connor2021-06-111-0/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Update Code_Overview.md with the removal of calc_tag_position()Kevin O'Connor2021-06-111-11/+10
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* klippy: Add a newline between initial error message and hint textKevin O'Connor2021-06-101-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* homing: Check for failures during multi-endstop homingKevin O'Connor2021-06-092-3/+10
| | | | | | If any endstop reports a failure, then stop homing on all endstops. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* mcu: Enable trdispatch infrastructure during homingKevin O'Connor2021-06-091-66/+138
| | | | | | | | | Separate out trsync handling from endstop handling in mcu.py code. Enable the low-level trdispatch C code. This is in preparation for multi-mcu homing. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* trdispatch: Support fast responses to trsync_state messagesKevin O'Connor2021-06-092-4/+244
| | | | | | | Add C code that can process trsync_state messages and dispatch responses with low-latency. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* serialqueue: Add serialqueue_send_one() helper functionKevin O'Connor2021-06-092-5/+14
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* serialqueue: Add "fast reader" supportKevin O'Connor2021-06-092-11/+69
| | | | | | | Add ability to run C code directly from the low-level socket reading thread. This enables host based low-latency handlers. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* msgblock: Add clock estimation helper functionsKevin O'Connor2021-06-097-22/+65
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* msgblock: Add msgblock_decode()Kevin O'Connor2021-06-092-0/+34
| | | | | | | Add function that can parse a simple VLQ encoded message to an array of integers. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* msgblock: Move message manipulation code from serialqueue.c to new msgblock.cKevin O'Connor2021-06-095-181/+201
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* pollreactor: Move C pollreactor code from serialqueue.c to its own fileKevin O'Connor2021-06-094-201/+226
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* trsync: Introduce new "trigger synchronization" supportKevin O'Connor2021-06-097-107/+296
| | | | | | | Separate out the stepper stopping code from endstop.c into its own trsync.c code file. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* probe: Call add_stepper() earlier in boot processKevin O'Connor2021-06-092-4/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* mcu: Raise config_error (not protocol error) on pin enumeration errorsKevin O'Connor2021-06-092-19/+36
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* serialhdl: Support prepending a warn_prefix to error and log messagesKevin O'Connor2021-06-093-41/+55
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Fixes for generic-th3d-ezboard-lite-v1.2.cfgKevin O'Connor2021-06-082-18/+17
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Add ezboard configuration (#4337)Clark Tomlinson2021-06-081-0/+131
| | | Signed-off-by: Clark Tomlinson <fallen013@gmail.com>
* Makefile: Include debug symbols in the .elfSergey Alirzaev2021-06-082-2/+4
| | | | Signed-off-by: Sergey Alirzaev <zl29ah@gmail.com>
* docs: Add documentation for BED_MESH_OFFSETEric Callahan2021-06-082-0/+15
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* bed_mesh: implement BED_MESH_OFFSETEric Callahan2021-06-081-3/+24
| | | | | | The BED_MESH_OFFSET gcode can be used to apply X and/or Y offsets the the mesh lookup. This allows printers with independent extruders to correct the Z adjustment when changing a tool. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* bed_mesh: move the "fade offset" out of the ZMeshEric Callahan2021-06-081-15/+9
| | | | | | This is a temporary offset applied to the mesh used to fade toward a "target". For clarity, apply the fade offset when the final z calculation is made. SIgned-off-by: Eric Callahan <arksine.code@gmail.com>
* config: Add motor power definition to generic-bigtreetech-skr-2.cfgKevin O'Connor2021-06-071-0/+8
| | | | | | | | | Add a pin definition to enable motor power and add a warning about initial faulty SKR2 boards. Reported by @FHeilmann. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* endstop_phase: Unify phase conversion codeKevin O'Connor2021-06-061-80/+87
| | | | | | | Introduce a new PhaseCalc class and use that for both homing and ENDSTOP_PHASE_CALIBRATE. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* resonance_tester: Set max_accel ignoring the limit from the config (#4174)Dmitry Butyugin2021-06-062-26/+24
| | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* docs: Fix missing backtick in API_Server.mdKevin O'Connor2021-06-061-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Add generic-duet3-mini.cfgLuke's Lab2021-06-043-0/+156
| | | | | | | Adds Duet3 Mini Config with support for expansion header Signed-off-by: Luke Ashley <Luke@Lukeslab.online> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Add support for 25Mhz crystalsKevin O'Connor2021-06-042-0/+33
| | | | | | Needed for the Duet3 Mini 5+ board. Reported by @lukeslaboratory. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Fix pll reference in samd51 config_dpll()Kevin O'Connor2021-06-041-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* endstop_phase: Add support for reporting phase information via get_status()Kevin O'Connor2021-06-032-14/+46
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Update G-Codes.md now that SET_VELOCITY_LIMIT can exceed configKevin O'Connor2021-06-031-2/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* z_tilt: expose an 'applied' status to allow macros to skip QGL/Z_TILT_ADJUST ↵Michael Rose2021-06-023-2/+43
| | | | | | | | | | | | | | (#4313) This is useful for macros that'd like to skip QGL if already leveled, e.g.: ``` {% if not printer.quad_gantry_level.applied %} QUAD_GANTRY_LEVEL {% endif %} ``` Signed-off-by: Michael Rose <elementation@gmail.com>
* neopixel: add sync parameter to prevent waking toolhead (#4339)Paul McGowan2021-06-023-20/+49
| | | | | | | neopixel: add sync param to prevent waking toolhead dotstar: refactor to match neopixel methods and add sync parameter Signed-off-by: Paul McGowan <mental405@gmail.com>
* config: Modify printer-tronxy-x5sa-pro-2020.cfg (#4330)TheBugLebowsky2021-06-021-1/+1
| | | | | Invert filament_switch_sensor switch_pin Signed-off-by: Morgan Barresi <morganfw@gmail.com>
* gcode: Update gcode descriptions (#4335)Stefan Dej2021-06-026-16/+38
| | | | | | | | | | Add help description to HELP Add help description to RESPOND Add help description to MEASURE_AXES_NOISE, TEST_RESONANCES and SHAPER_CALIBRATE Add help description to PAUSE, RESUME, CLEAR_PAUSE and CANCEL_PRINT Add help description to GET_POSITION Add help description to SET_RETRACTION and GET_RETRACTION Signed-off-by: Stefan Dej <meteyou@gmail.com>
* config: Minor indentation changes to skr configsKevin O'Connor2021-06-013-3/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stepper: Remove set_tag_position() codeKevin O'Connor2021-05-2917-66/+62
| | | | | | Have callers store the stepper positions in a dict. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stepper: Improve get_past_commanded_position()Kevin O'Connor2021-05-292-8/+8
| | | | | | | | Pass a print_time instead of a clock to get_past_commanded_position(). Fix calculation on steppers that home and use an inverted direction pin. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Fix malformed link in beaglebone.mdKevin O'Connor2021-05-291-5/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Fix typo in Status_Reference.mdKevin O'Connor2021-05-281-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Avoid link descriptions that span multiple linesKevin O'Connor2021-05-2810-98/+107
| | | | | | | The Jekyll markdown renderer gets confused by links that span multiple lines. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Fix link in Config_Reference.mdKevin O'Connor2021-05-281-3/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Move description of menu templates to Command_Templates.mdKevin O'Connor2021-05-282-19/+27
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Change current scale on generic-ultimaker-ultimainboard-v2.cfgKevin O'Connor2021-05-281-3/+3
| | | | | | Reported by @TehOcean . Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Add a note on wiring EXP1 to EXP3 on Creality 12864 displaysKevin O'Connor2021-05-281-0/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>