aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* docs: fixed babystepping patch (#4526)shiftingtech2021-07-271-3/+5
| | | | | Just a quick cleanup to where I flubbed the Z_OFFSET_APPLY_ENDSTOP and Z_OFFSET_APPLY_PROBE documentation Signed-off-by: Ben Eastep <shifting@shifting.ca>
* Revert "README: Fix links to www.klipper3d.org"Kevin O'Connor2021-07-271-3/+3
| | | | | | This reverts commit baad3f281d8d69aae45ec3d14f8b9fdb7b3f2d00. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Revert "workflows: Point to https://www.klipper3d.org/Contact"Kevin O'Connor2021-07-273-4/+4
| | | | | | This reverts commit d14015111e30a8a58cbd9c97a2af4446048a15b7. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* _klipper3d: Set use_directory_urls to FalseKevin O'Connor2021-07-271-0/+1
| | | | | | | Restore old link behavior - each document file will have a single html file ending in the ".html" suffix. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* workflows: Point to https://www.klipper3d.org/ContactKevin O'Connor2021-07-273-4/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* _klipper3d: Move mkdocs.yml to docs/_klipper3dKevin O'Connor2021-07-272-2/+5
| | | | | | Reported by @damlobster . Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* README: Fix links to www.klipper3d.orgKevin O'Connor2021-07-271-3/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* _klipper3d: Add comments to files in this directoryKevin O'Connor2021-07-274-0/+9
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* check_whitespace: Also check txt, css, html, yaml, and yml files for errorsKevin O'Connor2021-07-271-1/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* _klipper3d: Add trailing newline to extra.cssKevin O'Connor2021-07-271-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Use hash marks for header linesKevin O'Connor2021-07-279-104/+67
| | | | | | Consistently use leading hash marks (#) to note section headers. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: make mkdocs_hooks.transform more robustDamien Martin2021-07-271-10/+23
| | | | | | | - Keeps the markdown inside the code blocks as is - Logs the modified lines (mkdocs serve —verbose) Signed-off-by: Damien Martin <damlobster@gmail.com>
* docs: Setup mkdocs with mkdocs-material themeDamien2021-07-2711-165/+189
| | | | | | This changes the framework used to generate the klipper3d site. Signed-off-by: Damien Martin <damlobster@gmail.com>
* docs : make modifications to all md files to make them compatible with mkdocsDamien2021-07-2744-536/+565
| | | | | | | | all markdown files must have a single H1 heading at the top. Signed-off-by: Damien Martin <damlobster@gmail.com> Update CNAME