aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* homing: Calculate homing position based on trigger timeKevin O'Connor2021-08-173-20/+62
| | | | | | | | | Calculate the "homing position" using the endstop trigger time instead of the position of the steppers. This is in preparation for multi-mcu homing. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* mcu: Return time of trigger from home_wait()Kevin O'Connor2021-08-173-5/+18
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* workflows: Fix typo in stale-issue-botKevin O'Connor2021-08-171-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Don't use section-index plugin during klipper3d.org site generationKevin O'Connor2021-08-174-18/+15
| | | | | | | The section-index plugin can cause some confusing navigation. Use the simpler site navigation for now. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* htu21d: Update htu21d.py (#4520)dawidmpunkt2021-08-171-1/+1
| | | | | Line 202: should be self.humidity instead of self.temp Signed-off-by: Dawid Murawski <dawid.m@gmx.net>
* bed_mesh: Added PROFILE name option (#4522)Randell Hodges2021-08-172-5/+11
| | | | | | | Added optional PROFILE parameter to allow bed_mesh_calibrate to save the mesh directly into the provided profile name instead of default. If omitted, it will be stored in default. Signed-off-by: Randell L Hodges <rhodges@taxfodder.com>
* config: Adds generic config for BigTreeTech SKR E3 RRF 1.1Pedro Lamas2021-08-172-0/+122
| | | | Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
* output_pin: fix time difference calculationPascal Pieper2021-08-171-1/+1
| | | | Signed-off-by: Pascal Pieper <accounts@pascalpieper.de>
* docs: Fix reference to neopixel color_dataMatt Heath2021-08-171-1/+1
| | | | | | | Fix reference to neopixel color_data in status reference documentation so the given example works as expected. Signed-off-by: Matt Heath <hello@mattheath.com>
* docs: Add comment on additional stepper fields available in extruder sectionKevin O'Connor2021-08-171-0/+2
| | | | | | Reported by @alexsomesan. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bed_screws: Finish bed_screws_adjust after n consecutive accepts (#4521)chrenderle2021-08-171-6/+12
| | | | | | | Changed the bed_screws_adjust command so that it finishes after 4 consecutive accepts. Before if you had 4 screws and adjusted the first one you had to accept 7 times to finish the bed_screws_adjust. Signed-off-by: Christian Enderle <mail@chrenderle.de>
* flash-linux: Fix spelling error in messageKevin O'Connor2021-08-171-1/+1
| | | | | | Reported by @stefanfoulis. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* workflows: Add script to manage "not mainline" and "pending feedback" PRsKevin O'Connor2021-08-171-0/+90
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* workflows: Merge close-invalid-bot into stale-issue-botKevin O'Connor2021-08-172-36/+33
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bed_mesh: Fix off-by-one error in faulty region error reportKevin O'Connor2021-08-171-2/+4
| | | | | | Reported by @craiglink. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: added ender3 with robin e3d 1.1 (#4252)Lukasz Piatkowski2021-08-171-2/+25
| | | Signed-off-by: Łukasz Piątkowski <piontec@gmail.com>
* motion_report: Fix typo causing incomplete queriesKevin O'Connor2021-08-171-4/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* avr: Fix typo causing broken gpio mappingsKevin O'Connor2021-08-151-2/+2
| | | | | | | Commit 070fac07 had a typo causing two PINE definitions to be added to the list of available GPIOs. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* avr: Define PORTE on atmega328pKevin O'Connor2021-08-142-1/+7
| | | | | | | | The atmega328pb supports PORTE, but the current avr-libc toolchain doesn't support the atmega328pb. So, for now, add support for PORTE to atmega328p. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* avr: Rename the analog-only PE0/PE1 pins on atmega168/328 to PE2/PE3Kevin O'Connor2021-08-144-4/+7
| | | | | | | The atmega328pb has officially named these pins as PE2 and PE3, so use that naming scheme instead of the previous Klipper invented names. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* endstop_phase: Convert to using tmc mcu_phase_offsetKevin O'Connor2021-08-087-33/+26
| | | | | | | Now that the TMC drivers track the phase offset, use that to implement endstop phase. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc: Track offset between tmc driver and mcu positionKevin O'Connor2021-08-082-6/+60
| | | | | | | | Track the offset between driver phase and mcu position. This offset should be constant as long as neither the driver nor the mcu is reset. If the offset ever changes, log a warning. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc: Move stepper phase reading code to TMCCommandHelper classKevin O'Connor2021-08-066-41/+36
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stepper: Query the stepper mcu position during startupKevin O'Connor2021-08-063-8/+12
| | | | | | | | Try to keep the host mcu_position synchronized with the micro-controller by querying during startup and after every homing event. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc: Consistently use lower case for all TMC field namesKevin O'Connor2021-08-066-253/+253
| | | | | | | | | | | | The Trinamic specs aren't consistent with upper vs lower case, which can be confusing. Improve clarity by using lower case names consistently in the code. Register names will continue to use all upper case naming in the code. Update the SET_TMC_FIELD command to automatically convert field names to lower case. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc2208: Send pdn_disable UART setup as first command to chip during initKevin O'Connor2021-08-061-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* homing: Improve error messages on a printer shutdown during homingKevin O'Connor2021-08-061-3/+18
| | | | | | | | If a shutdown occurs during homing, make sure any follow up errors are clear that the cause of the error is the shutdown. This suppresses the confusing "Unable to obtain 'trsync_state' response" messages. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* trapq: Prune interrupted moves from history on trapq_set_position()Kevin O'Connor2021-08-061-1/+16
| | | | | | | | It is possible for a homing move to not fully complete. Fixup the trapq history to make processing of the history easier for callers. Similarly, do not add artificial "null" moves to the trapq history. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stepcompress: Pass clock to stepcompress_set_last_position()Kevin O'Connor2021-08-064-5/+9
| | | | | | | | | Using sc->last_step_clock for the last position marker does not work properly, because the stepper.py code calls stepcompress_reset() prior to calling stepcompress_set_last_position(). Fix by passing an explicit clock to stepcompress_set_last_position(). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* mkdocs_hooks: Improve check for not in a listKevin O'Connor2021-08-021-1/+1
| | | | | | | | Look for lines that don't start with a list and don't start with a space to check for the end of a list. This fixes the rendering of the list in BLTouch.md . Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* probe: bugfix to z_offset_apply_probe (#4553)shiftingtech2021-08-021-2/+1
| | | | | | Command was accessing the wrong variable for the existing z offset, leading to bad behavior. Signed-off-by: Ben Eastep <shifting@shifting.ca>
* mkdocs_hooks: Add some comments to the scriptKevin O'Connor2021-08-021-0/+10
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* _klipper3d: Add additional comments to mkdocs.ymlKevin O'Connor2021-08-021-29/+34
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Reorder sections of Debugging.mdKevin O'Connor2021-08-021-84/+82
| | | | | | Reorder the sections to put most useful information at the top. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: Update graphing scripts to work with either python2 or python3Kevin O'Connor2021-08-024-8/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* idex_modes: Fix get_status (#4550)Tircown2021-08-011-1/+1
| | | | | Fix get_status to be called without eventtime parameter. Signed-off-by: Fabrice GALLET <tircown@gmail.com>
* stm32: Support PB7/PB6 for USART1 on stm32f0Kevin O'Connor2021-08-012-10/+17
| | | | | | | | | | | Add support for USART1 on PB7/PB6. Remove STM32_SERIAL_USART1_ALT_PA15_PA14 option and allow all serial mappings to be used on stm32f031. Reported by @Desuuuu. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* webhooks: Remove spaces from json messages sent on api serverKevin O'Connor2021-07-291-1/+1
| | | | | | | Reduce the bandwidth slightly by removing unnecessary spaces in messages. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* motion_report: Add get_status() method with current requested toolhead positionKevin O'Connor2021-07-292-4/+55
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* motion_report: Add new extras module for low-level motion diagnosticsKevin O'Connor2021-07-292-1/+147
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stepper: Simplify helper module registration of stepper motorsKevin O'Connor2021-07-293-13/+10
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* mcu: Support returning the mcu reported shutdown timeKevin O'Connor2021-07-291-0/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* extruder: Add get_trapq() methodKevin O'Connor2021-07-291-0/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stepcompress: Support extracting stepcompress historyKevin O'Connor2021-07-294-4/+59
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stepcompress: Rename 'struct history_move' to 'struct history_steps'Kevin O'Connor2021-07-291-25/+25
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* trapq: Store toolhead.set_position() updates in trapq historyKevin O'Connor2021-07-294-1/+24
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* trapq: Keep history of recent trapq movesKevin O'Connor2021-07-293-4/+71
| | | | | | | Store trapq moves in a separate "history" list after each move is nominally expired. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* trapq: Rename trapq_free_moves() to trapq_finalize_moves()Kevin O'Connor2021-07-297-14/+14
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* force_move: Note force_enable() and restore_enable() are internal functionsKevin O'Connor2021-07-291-5/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* klipper3d: links to anchors not working with SafariDamien2021-07-281-1/+0
| | | | | Solves issue #4538 Signed-off-by: Damien Martin <damlobster@gmail.com>