-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove dead code #6504
remove dead code #6504
Conversation
kdomanski
commented
Feb 22, 2024
- removes unused param 'eventtime' from heater.check_busy( )
- removes a few unused assignments that are likely remnants of removed code
I think you need to sign your contribution. https://www.klipper3d.org/CONTRIBUTING.html |
aa15645
to
0f195db
Compare
Yeah, I only signed the first commit and not the second. Thanks, nice catch! |
Thank you for your contribution to Klipper. Unfortunately, a reviewer has not assigned themselves to this GitHub Pull Request. All Pull Requests are reviewed before merging, and a reviewer will need to volunteer. Further information is available at: https://www.klipper3d.org/CONTRIBUTING.html There are some steps that you can take now:
Unfortunately, if a reviewer does not assign themselves to this GitHub Pull Request then it will be automatically closed. If this happens, then it is a good idea to move further discussion to the Klipper Discourse server. Reviewers can reach out on that forum to let you know if they are interested and when they are available. Best regards, PS: I'm just an automated script, not a human being. |
Self-review checklist1. Is the submission free of defects and is it ready to be widely deployed?
2. Does the submission provide a "high impact" benefit to real-world users performing real-world tasks?No, however with just a few lines removed it removes a lot of confusion regarding the purpose of the dead code. 3. Is the copyright of the submission clear, non-gratuitous, and compatible?Yes. 4. Does the submission follow guidelines specified in the Klipper documentation?Yes. 5. Is the Klipper documentation updated to reflect new changes?No documentation is necessary. 6. Are commits well formed, address a single topic per commit, and independent?IMO, yes. |
Thanks. A call to The other parts of the dead code removal look good to me. Happy to commit those if separated from the changes that can alter behavior. Cheers, |
Hey Kevin, thanks for the explanation. I plan to tend to this PR and #6503 in a week or two when I'm back from sick leave. |
Signed-off-by: Kamil Domański <[email protected]>
I restored the calls to |
Thanks. -Kevin |
* stm32: fix support for USARTs on STM32G0B0 Signed-off-by: Robert Cambridge <[email protected]> * makefile: Replace CFLAGS -I with -iquote The -iquote tells GCC to only search that path when resolving a quoted "include" (vs <angle brackets>) which by convention imples a include from the projects own soruce tree. This prevents a conflict between Klippers "sched.h" and "gpio.h" and <linux/gpio.h> and glibc <sched.h>. Signed-off-by: Michael 'ASAP' Weinrich <[email protected]> * linux: Don't use absolute paths for include Not all systems (i.e. Nix) repect the standard Linux filesystem hierarchy, instead relative paths should be used and allowing GCC to rely on it's builtin search paths. Signed-off-by: Michael 'ASAP' Weinrich <[email protected]> * manual_stepper: Add basic status. (#6527) Adding position and enabled in manual_stepper status. Enabled is already available through stepper_enable object. But this makes it more straightforward to access it. Signed-off-by: Viesturs Zarins <[email protected]> * klippy: remove a few unused variable assignments (#6504) Signed-off-by: Kamil Domański <[email protected]> * mcu: Separate trdispatch handling from MCU_endstop class Create a new TriggerDispatch class to track the low-level handling of the trdispatch mechanism. Signed-off-by: Kevin O'Connor <[email protected]> * probe: Add a probing_move() wrapper to low-level mcu_probe class This allows the low-level probe class more control on the probing implementation. Signed-off-by: Kevin O'Connor <[email protected]> * sensor_ldc1612: Initial support for bulk reading ldc1612 sensor Signed-off-by: Alan.Ma from BigTreeTech <[email protected]> Signed-off-by: Kevin O'Connor <[email protected]> * ldc1612: Initial host support for reading ldc1612 bulk sensor data Signed-off-by: Kevin O'Connor <[email protected]> * ldc1612: Add LDC_CALIBRATE_DRIVE_CURRENT calibration command Add a command to calibrate the sensor DRIVE_CURRENT0 register. Signed-off-by: Kevin O'Connor <[email protected]> * probe_eddy_current: Support calibrating Z height to sensor frequency Add a calibration tool that can be used to correlate sensor frequency to bed Z height. Signed-off-by: Kevin O'Connor <[email protected]> * probe_eddy_current: Initial support for PROBE command Signed-off-by: Kevin O'Connor <[email protected]> * probe_eddy_current: Use sensor value at halt position for "trigger" position Calculate the sensor Z position after the probe halts and return that as the "probed position". This sensor position provides a more accurate measurement. Signed-off-by: Kevin O'Connor <[email protected]> * docs: Add documentation for probe_eddy_current Signed-off-by: Kevin O'Connor <[email protected]> * docs: Add a new Eddy_Probe.md document Signed-off-by: Kevin O'Connor <[email protected]> * motan: Add support for graphing ldc1612 coil frequencies Signed-off-by: Kevin O'Connor <[email protected]> * manual_stepper: Revert "manual_stepper: Add basic status. (#6527)" This reverts commit b029d04. The MCU_Stepper class does not have a is_motor_enabled() method, so the change above results in an internal exception. Signed-off-by: Kevin O'Connor <[email protected]> * homing_override: Adds rawparams support Signed-off-by: Pedro Lamas <[email protected]> * docs: Fix typo in Resonance_Compensation.md Signed-off-by: Plynskiy Nikita <[email protected]> * config: Artillery Sidewinder X3 (#6534) Signed-off-by: Phil Timpson <[email protected]> * virtual_sdcard: Define a default for on_gcode_error If on_gcode_error is not specified, default to running the TURN_OFF_HEATERS command. Signed-off-by: Kevin O'Connor <[email protected]> * docs: Recommend using "ip" instead of "ifconfig" in CANBUS.md Some Linux systems do not install ifconfig, while ip should always be available. So, update the canbus documentation to recommend that. Signed-off-by: Kevin O'Connor <[email protected]> * docs: Add information on txqueuelen to CANBUS_Troubleshooting.md Provide some background information on the Linux can interface txqueuelen parameter, errors that it can cause, and considerations when configuring it. Signed-off-by: Kevin O'Connor <[email protected]> * adxl345: Move sample timestamp calculation to reusable code Add a new extract_samples() method to the ChipClockUpdater class that calculates the sample timestamp for each sample in a list of bulk sensor reports. Update the adxl345 code to use that extract_samples() code. Signed-off-by: Kevin O'Connor <[email protected]> * lis2dw: Use extract_samples() for sample timestamp calculation Signed-off-by: Kevin O'Connor <[email protected]> * mpu9250: Use extract_samples() for sample timestamp calculation Signed-off-by: Kevin O'Connor <[email protected]> * ldc1612: Use extract_samples() for sample timestamp calculation Signed-off-by: Kevin O'Connor <[email protected]> * bulk_sensor: Refactor ChipClockUpdater constructor Build the clock_sync and struct.Struct() in the ChipClockUpdater constructor. Signed-off-by: Kevin O'Connor <[email protected]> * bulk_sensor: Rework ChipClockUpdater class into FixedFreqReader Move the sensor_bulk_data message queuing into the class, and then rename that class. This simplifies the users of the code. Signed-off-by: Kevin O'Connor <[email protected]> * bulk_sensor: Rename BulkDataQueue methods Rename pull_samples() to pull_queue() and rename clear_sample() to clear_queue(). This avoids confusion between the queue of response messages and the larger list of samples stored within those messages. Signed-off-by: Kevin O'Connor <[email protected]> * docs: Update CANBUS_Troubleshooting.md to avoid formatting error Avoid starting a line with "128." as that confused markdown. Signed-off-by: Kevin O'Connor <[email protected]> * sht3x: Add sht31 support (#6560) Signed-off-by: Timofey Titovets <[email protected]> * docs: Fix typo in Bed_Mesh.md (#6572) Signed-off-by: Maggi Alessandro <[email protected]> * format --------- Signed-off-by: Robert Cambridge <[email protected]> Signed-off-by: Michael 'ASAP' Weinrich <[email protected]> Signed-off-by: Viesturs Zarins <[email protected]> Signed-off-by: Kamil Domański <[email protected]> Signed-off-by: Kevin O'Connor <[email protected]> Signed-off-by: Alan.Ma from BigTreeTech <[email protected]> Signed-off-by: Pedro Lamas <[email protected]> Signed-off-by: Plynskiy Nikita <[email protected]> Signed-off-by: Phil Timpson <[email protected]> Signed-off-by: Timofey Titovets <[email protected]> Signed-off-by: Maggi Alessandro <[email protected]> Co-authored-by: Robert Cambridge <[email protected]> Co-authored-by: Michael 'ASAP' Weinrich <[email protected]> Co-authored-by: Viesturs Zariņš <[email protected]> Co-authored-by: Kamil Domański <[email protected]> Co-authored-by: Kevin O'Connor <[email protected]> Co-authored-by: Pedro Lamas <[email protected]> Co-authored-by: trofen <[email protected]> Co-authored-by: TheFeralEngineer <[email protected]> Co-authored-by: Timofey Titovets <[email protected]> Co-authored-by: Alessandro Maggi <[email protected]>
commit 3f3d378 Merge: c3cd269 7884129 Author: Rogerio Goncalves <[email protected]> Date: Tue Apr 23 22:37:40 2024 +0100 Merge branch 'master' into upstream_pr commit 7884129 Author: Frédéric Beaucamp <[email protected]> Date: Tue Apr 23 22:38:38 2024 +0200 Some improvements to dockable_probe (KalicoCrew#175) * add restore_toolhead, extract_position, insert_position settings * Fix : Black format . Signed-off-by: Frédéric Beaucamp <[email protected]> * add parameters in test config --------- Signed-off-by: Frédéric Beaucamp <[email protected]> commit b97b4bd Author: Rogerio Goncalves <[email protected]> Date: Tue Apr 23 16:26:00 2024 -0400 update to latest Klipper3d/klipper (2f6e94c) (KalicoCrew#216) * stm32: fix support for USARTs on STM32G0B0 Signed-off-by: Robert Cambridge <[email protected]> * makefile: Replace CFLAGS -I with -iquote The -iquote tells GCC to only search that path when resolving a quoted "include" (vs <angle brackets>) which by convention imples a include from the projects own soruce tree. This prevents a conflict between Klippers "sched.h" and "gpio.h" and <linux/gpio.h> and glibc <sched.h>. Signed-off-by: Michael 'ASAP' Weinrich <[email protected]> * linux: Don't use absolute paths for include Not all systems (i.e. Nix) repect the standard Linux filesystem hierarchy, instead relative paths should be used and allowing GCC to rely on it's builtin search paths. Signed-off-by: Michael 'ASAP' Weinrich <[email protected]> * manual_stepper: Add basic status. (#6527) Adding position and enabled in manual_stepper status. Enabled is already available through stepper_enable object. But this makes it more straightforward to access it. Signed-off-by: Viesturs Zarins <[email protected]> * klippy: remove a few unused variable assignments (#6504) Signed-off-by: Kamil Domański <[email protected]> * mcu: Separate trdispatch handling from MCU_endstop class Create a new TriggerDispatch class to track the low-level handling of the trdispatch mechanism. Signed-off-by: Kevin O'Connor <[email protected]> * probe: Add a probing_move() wrapper to low-level mcu_probe class This allows the low-level probe class more control on the probing implementation. Signed-off-by: Kevin O'Connor <[email protected]> * sensor_ldc1612: Initial support for bulk reading ldc1612 sensor Signed-off-by: Alan.Ma from BigTreeTech <[email protected]> Signed-off-by: Kevin O'Connor <[email protected]> * ldc1612: Initial host support for reading ldc1612 bulk sensor data Signed-off-by: Kevin O'Connor <[email protected]> * ldc1612: Add LDC_CALIBRATE_DRIVE_CURRENT calibration command Add a command to calibrate the sensor DRIVE_CURRENT0 register. Signed-off-by: Kevin O'Connor <[email protected]> * probe_eddy_current: Support calibrating Z height to sensor frequency Add a calibration tool that can be used to correlate sensor frequency to bed Z height. Signed-off-by: Kevin O'Connor <[email protected]> * probe_eddy_current: Initial support for PROBE command Signed-off-by: Kevin O'Connor <[email protected]> * probe_eddy_current: Use sensor value at halt position for "trigger" position Calculate the sensor Z position after the probe halts and return that as the "probed position". This sensor position provides a more accurate measurement. Signed-off-by: Kevin O'Connor <[email protected]> * docs: Add documentation for probe_eddy_current Signed-off-by: Kevin O'Connor <[email protected]> * docs: Add a new Eddy_Probe.md document Signed-off-by: Kevin O'Connor <[email protected]> * motan: Add support for graphing ldc1612 coil frequencies Signed-off-by: Kevin O'Connor <[email protected]> * manual_stepper: Revert "manual_stepper: Add basic status. (#6527)" This reverts commit b029d04. The MCU_Stepper class does not have a is_motor_enabled() method, so the change above results in an internal exception. Signed-off-by: Kevin O'Connor <[email protected]> * homing_override: Adds rawparams support Signed-off-by: Pedro Lamas <[email protected]> * docs: Fix typo in Resonance_Compensation.md Signed-off-by: Plynskiy Nikita <[email protected]> * config: Artillery Sidewinder X3 (#6534) Signed-off-by: Phil Timpson <[email protected]> * virtual_sdcard: Define a default for on_gcode_error If on_gcode_error is not specified, default to running the TURN_OFF_HEATERS command. Signed-off-by: Kevin O'Connor <[email protected]> * docs: Recommend using "ip" instead of "ifconfig" in CANBUS.md Some Linux systems do not install ifconfig, while ip should always be available. So, update the canbus documentation to recommend that. Signed-off-by: Kevin O'Connor <[email protected]> * docs: Add information on txqueuelen to CANBUS_Troubleshooting.md Provide some background information on the Linux can interface txqueuelen parameter, errors that it can cause, and considerations when configuring it. Signed-off-by: Kevin O'Connor <[email protected]> * adxl345: Move sample timestamp calculation to reusable code Add a new extract_samples() method to the ChipClockUpdater class that calculates the sample timestamp for each sample in a list of bulk sensor reports. Update the adxl345 code to use that extract_samples() code. Signed-off-by: Kevin O'Connor <[email protected]> * lis2dw: Use extract_samples() for sample timestamp calculation Signed-off-by: Kevin O'Connor <[email protected]> * mpu9250: Use extract_samples() for sample timestamp calculation Signed-off-by: Kevin O'Connor <[email protected]> * ldc1612: Use extract_samples() for sample timestamp calculation Signed-off-by: Kevin O'Connor <[email protected]> * bulk_sensor: Refactor ChipClockUpdater constructor Build the clock_sync and struct.Struct() in the ChipClockUpdater constructor. Signed-off-by: Kevin O'Connor <[email protected]> * bulk_sensor: Rework ChipClockUpdater class into FixedFreqReader Move the sensor_bulk_data message queuing into the class, and then rename that class. This simplifies the users of the code. Signed-off-by: Kevin O'Connor <[email protected]> * bulk_sensor: Rename BulkDataQueue methods Rename pull_samples() to pull_queue() and rename clear_sample() to clear_queue(). This avoids confusion between the queue of response messages and the larger list of samples stored within those messages. Signed-off-by: Kevin O'Connor <[email protected]> * docs: Update CANBUS_Troubleshooting.md to avoid formatting error Avoid starting a line with "128." as that confused markdown. Signed-off-by: Kevin O'Connor <[email protected]> * sht3x: Add sht31 support (#6560) Signed-off-by: Timofey Titovets <[email protected]> * docs: Fix typo in Bed_Mesh.md (#6572) Signed-off-by: Maggi Alessandro <[email protected]> * format --------- Signed-off-by: Robert Cambridge <[email protected]> Signed-off-by: Michael 'ASAP' Weinrich <[email protected]> Signed-off-by: Viesturs Zarins <[email protected]> Signed-off-by: Kamil Domański <[email protected]> Signed-off-by: Kevin O'Connor <[email protected]> Signed-off-by: Alan.Ma from BigTreeTech <[email protected]> Signed-off-by: Pedro Lamas <[email protected]> Signed-off-by: Plynskiy Nikita <[email protected]> Signed-off-by: Phil Timpson <[email protected]> Signed-off-by: Timofey Titovets <[email protected]> Signed-off-by: Maggi Alessandro <[email protected]> Co-authored-by: Robert Cambridge <[email protected]> Co-authored-by: Michael 'ASAP' Weinrich <[email protected]> Co-authored-by: Viesturs Zariņš <[email protected]> Co-authored-by: Kamil Domański <[email protected]> Co-authored-by: Kevin O'Connor <[email protected]> Co-authored-by: Pedro Lamas <[email protected]> Co-authored-by: trofen <[email protected]> Co-authored-by: TheFeralEngineer <[email protected]> Co-authored-by: Timofey Titovets <[email protected]> Co-authored-by: Alessandro Maggi <[email protected]> commit c3cd269 Author: Rogerio Goncalves <[email protected]> Date: Tue Apr 23 16:03:51 2024 +0100 format commit 5ed6d70 Merge: ca37123 2f6e94c Author: Rogerio Goncalves <[email protected]> Date: Tue Apr 23 15:59:52 2024 +0100 Merge upstream Klipper3d:klipper commit 2f6e94c Author: Alessandro Maggi <[email protected]> Date: Sun Apr 21 00:57:58 2024 +0200 docs: Fix typo in Bed_Mesh.md (#6572) Signed-off-by: Maggi Alessandro <[email protected]> commit 713b509 Author: Timofey Titovets <[email protected]> Date: Sun Apr 21 00:42:31 2024 +0200 sht3x: Add sht31 support (#6560) Signed-off-by: Timofey Titovets <[email protected]> commit 28faf81 Author: Kevin O'Connor <[email protected]> Date: Sat Apr 20 13:23:42 2024 -0400 docs: Update CANBUS_Troubleshooting.md to avoid formatting error Avoid starting a line with "128." as that confused markdown. Signed-off-by: Kevin O'Connor <[email protected]> commit 8195993 Author: Kevin O'Connor <[email protected]> Date: Sun Apr 14 12:39:27 2024 -0400 bulk_sensor: Rename BulkDataQueue methods Rename pull_samples() to pull_queue() and rename clear_sample() to clear_queue(). This avoids confusion between the queue of response messages and the larger list of samples stored within those messages. Signed-off-by: Kevin O'Connor <[email protected]> commit abb7910 Author: Kevin O'Connor <[email protected]> Date: Sun Apr 14 12:33:22 2024 -0400 bulk_sensor: Rework ChipClockUpdater class into FixedFreqReader Move the sensor_bulk_data message queuing into the class, and then rename that class. This simplifies the users of the code. Signed-off-by: Kevin O'Connor <[email protected]> commit 9ceaae3 Author: Kevin O'Connor <[email protected]> Date: Sat Apr 13 21:02:04 2024 -0400 bulk_sensor: Refactor ChipClockUpdater constructor Build the clock_sync and struct.Struct() in the ChipClockUpdater constructor. Signed-off-by: Kevin O'Connor <[email protected]> commit 56829b0 Author: Kevin O'Connor <[email protected]> Date: Sat Apr 13 20:26:16 2024 -0400 ldc1612: Use extract_samples() for sample timestamp calculation Signed-off-by: Kevin O'Connor <[email protected]> commit f73e6dc Author: Kevin O'Connor <[email protected]> Date: Sat Apr 13 20:20:59 2024 -0400 mpu9250: Use extract_samples() for sample timestamp calculation Signed-off-by: Kevin O'Connor <[email protected]> commit 144af05 Author: Kevin O'Connor <[email protected]> Date: Sat Apr 13 20:17:20 2024 -0400 lis2dw: Use extract_samples() for sample timestamp calculation Signed-off-by: Kevin O'Connor <[email protected]> commit 95fdb68 Author: Kevin O'Connor <[email protected]> Date: Sat Apr 13 20:03:47 2024 -0400 adxl345: Move sample timestamp calculation to reusable code Add a new extract_samples() method to the ChipClockUpdater class that calculates the sample timestamp for each sample in a list of bulk sensor reports. Update the adxl345 code to use that extract_samples() code. Signed-off-by: Kevin O'Connor <[email protected]> commit c106955 Author: Kevin O'Connor <[email protected]> Date: Fri Apr 12 14:25:05 2024 -0400 docs: Add information on txqueuelen to CANBUS_Troubleshooting.md Provide some background information on the Linux can interface txqueuelen parameter, errors that it can cause, and considerations when configuring it. Signed-off-by: Kevin O'Connor <[email protected]> commit 12e9b63 Author: Kevin O'Connor <[email protected]> Date: Fri Apr 12 11:37:01 2024 -0400 docs: Recommend using "ip" instead of "ifconfig" in CANBUS.md Some Linux systems do not install ifconfig, while ip should always be available. So, update the canbus documentation to recommend that. Signed-off-by: Kevin O'Connor <[email protected]> commit 2425a74 Author: Kevin O'Connor <[email protected]> Date: Thu Mar 21 23:22:10 2024 -0400 virtual_sdcard: Define a default for on_gcode_error If on_gcode_error is not specified, default to running the TURN_OFF_HEATERS command. Signed-off-by: Kevin O'Connor <[email protected]> commit 36f9b26 Author: TheFeralEngineer <[email protected]> Date: Fri Apr 12 12:27:36 2024 -0400 config: Artillery Sidewinder X3 (#6534) Signed-off-by: Phil Timpson <[email protected]> commit 75d7c17 Author: trofen <[email protected]> Date: Thu Apr 11 17:58:47 2024 +0300 docs: Fix typo in Resonance_Compensation.md Signed-off-by: Plynskiy Nikita <[email protected]> commit c37329e Author: Pedro Lamas <[email protected]> Date: Thu Apr 11 10:26:01 2024 +0100 homing_override: Adds rawparams support Signed-off-by: Pedro Lamas <[email protected]> commit ca37123 Author: Rogerio Goncalves <[email protected]> Date: Fri Apr 12 06:08:35 2024 -0400 hotfix: disable min_cruise_ratio correctly (KalicoCrew#209) * hotfix: disable min_cruise_ratio correctly * duplicated code commit fc4abbf Author: Zeanon <[email protected]> Date: Thu Apr 11 23:48:52 2024 +0200 Custom threshold for PROBE_POINTS_INCREASING check on QGL and Z_TILT (KalicoCrew#189) * Initial Implementation * Added readme * added ci tests --------- Co-authored-by: Rogerio Goncalves <[email protected]> commit 4cfa266 Author: Kevin O'Connor <[email protected]> Date: Wed Apr 10 10:38:48 2024 -0400 manual_stepper: Revert "manual_stepper: Add basic status. (#6527)" This reverts commit b029d04. The MCU_Stepper class does not have a is_motor_enabled() method, so the change above results in an internal exception. Signed-off-by: Kevin O'Connor <[email protected]> commit d209dee Author: Zeanon <[email protected]> Date: Wed Apr 10 15:27:56 2024 +0200 Save without restart (KalicoCrew#191) * SAVE_CONFIG without restart * black formatting * Added caution warning * Update README.md * Added test case --------- Co-authored-by: Rogerio Goncalves <[email protected]> commit c906c80 Author: Zeanon <[email protected]> Date: Wed Apr 10 15:02:54 2024 +0200 Use recursive globs to include config files (KalicoCrew#200) * Initial Implementation * Updated Readme * Added CI tests * writing the right name for what you want to include actually helps commit 2e67d37 Author: Zeanon <[email protected]> Date: Wed Apr 10 15:02:00 2024 +0200 Also expose temperature_fan and temperature_sensor (KalicoCrew#201) * Update mcu.py * Include Temperature_fan * removed ununsed paranthesis * cleaned up the code and removed loops * Added Thermocouples * code cleanup commit 898009a Author: Zeanon <[email protected]> Date: Wed Apr 10 13:44:14 2024 +0200 Fixed issues with HappyHare (KalicoCrew#188) * Fixed issues with HappyHare * Added doc and fixed reset behaviour * Removed unused import commit a8b493a Author: Kevin O'Connor <[email protected]> Date: Fri Dec 15 19:05:25 2023 -0500 motan: Add support for graphing ldc1612 coil frequencies Signed-off-by: Kevin O'Connor <[email protected]> commit b098972 Author: Kevin O'Connor <[email protected]> Date: Mon Jan 8 00:36:32 2024 -0500 docs: Add a new Eddy_Probe.md document Signed-off-by: Kevin O'Connor <[email protected]> commit 30e0fdd Author: Kevin O'Connor <[email protected]> Date: Sun Jan 7 23:53:57 2024 -0500 docs: Add documentation for probe_eddy_current Signed-off-by: Kevin O'Connor <[email protected]> commit 28281c5 Author: Kevin O'Connor <[email protected]> Date: Mon Jan 8 21:56:04 2024 -0500 probe_eddy_current: Use sensor value at halt position for "trigger" position Calculate the sensor Z position after the probe halts and return that as the "probed position". This sensor position provides a more accurate measurement. Signed-off-by: Kevin O'Connor <[email protected]> commit 13b2926 Author: Kevin O'Connor <[email protected]> Date: Sun Jan 7 13:32:41 2024 -0500 probe_eddy_current: Initial support for PROBE command Signed-off-by: Kevin O'Connor <[email protected]> commit b0d90fd Author: Kevin O'Connor <[email protected]> Date: Sat Dec 30 21:07:19 2023 -0500 probe_eddy_current: Support calibrating Z height to sensor frequency Add a calibration tool that can be used to correlate sensor frequency to bed Z height. Signed-off-by: Kevin O'Connor <[email protected]> commit d84fc43 Author: Kevin O'Connor <[email protected]> Date: Sun Jan 7 00:06:44 2024 -0500 ldc1612: Add LDC_CALIBRATE_DRIVE_CURRENT calibration command Add a command to calibrate the sensor DRIVE_CURRENT0 register. Signed-off-by: Kevin O'Connor <[email protected]> commit da2b258 Author: Kevin O'Connor <[email protected]> Date: Fri Dec 15 17:50:34 2023 -0500 ldc1612: Initial host support for reading ldc1612 bulk sensor data Signed-off-by: Kevin O'Connor <[email protected]> commit b8f1df3 Author: Kevin O'Connor <[email protected]> Date: Fri Dec 15 12:23:32 2023 -0500 sensor_ldc1612: Initial support for bulk reading ldc1612 sensor Signed-off-by: Alan.Ma from BigTreeTech <[email protected]> Signed-off-by: Kevin O'Connor <[email protected]> commit acdf8bb Author: Kevin O'Connor <[email protected]> Date: Mon Jan 8 21:33:56 2024 -0500 probe: Add a probing_move() wrapper to low-level mcu_probe class This allows the low-level probe class more control on the probing implementation. Signed-off-by: Kevin O'Connor <[email protected]> commit fa5fa74 Author: Kevin O'Connor <[email protected]> Date: Sat Jan 6 19:27:56 2024 -0500 mcu: Separate trdispatch handling from MCU_endstop class Create a new TriggerDispatch class to track the low-level handling of the trdispatch mechanism. Signed-off-by: Kevin O'Connor <[email protected]> commit 5c196ee Author: Rogerio Goncalves <[email protected]> Date: Tue Apr 9 12:52:13 2024 -0400 hotfix: replace max_accel_to_decel by minimum_cruise_ratio (KalicoCrew#203) commit 8b7ac26 Author: Zeanon <[email protected]> Date: Tue Apr 9 18:40:31 2024 +0200 Fix for CANCEL_PRINT issues (KalicoCrew#205) commit 5c43763 Author: B <[email protected]> Date: Sat Apr 6 13:35:22 2024 -0400 HEATER_INTERRUPT command and INTERRUPT mutex (KalicoCrew#94) fix refactor with wait_while util cancel print too back to interrupt command fix gcode ref readme stuff commit b6e2228 Author: Rogerio Goncalves <[email protected]> Date: Sat Apr 6 13:24:07 2024 -0400 PR template (KalicoCrew#199) commit 3a1a98b Author: B <[email protected]> Date: Sat Apr 6 13:02:46 2024 -0400 Danger Options interface rework + new logging flags (KalicoCrew#197) * switch danger options to a directly-imported singleton * no relative import * fix import again * add not loaded yet exception commit 6b94dfe Merge: ac005d9 8b18d6b Author: Rogerio Goncalves <[email protected]> Date: Sat Apr 6 13:01:17 2024 -0400 Merge branch 'master' into upstream_pr commit 8b18d6b Author: Ryan Ghosh <[email protected]> Date: Sat Apr 6 10:01:01 2024 -0700 Add trad_rack module (KalicoCrew#184) * Add trad_rack module and related documentation * trad_rack: update to match Annex-Engineering/TradRack@97d7582 commit ac005d9 Merge: 9c40d07 d6b0a6a Author: Rogerio Goncalves <[email protected]> Date: Sat Apr 6 12:40:47 2024 -0400 Merge branch 'master' into upstream_pr commit 9c40d07 Author: Bea Nance <[email protected]> Date: Sat Apr 6 12:29:02 2024 -0400 accel to decel fix commit d6b0a6a Author: Zeanon <[email protected]> Date: Fri Apr 5 23:51:53 2024 +0200 Fix small error for pid_profiles (KalicoCrew#196) I forgot to add one line... commit 01c7bef Author: Kamil Domański <[email protected]> Date: Fri Apr 5 23:43:43 2024 +0200 klippy: remove a few unused variable assignments (#6504) Signed-off-by: Kamil Domański <[email protected]> commit b029d04 Author: Viesturs Zariņš <[email protected]> Date: Thu Apr 4 22:46:30 2024 +0200 manual_stepper: Add basic status. (#6527) Adding position and enabled in manual_stepper status. Enabled is already available through stepper_enable object. But this makes it more straightforward to access it. Signed-off-by: Viesturs Zarins <[email protected]> commit 6f16e11 Author: Michael 'ASAP' Weinrich <[email protected]> Date: Thu Feb 15 20:17:08 2024 -0800 linux: Don't use absolute paths for include Not all systems (i.e. Nix) repect the standard Linux filesystem hierarchy, instead relative paths should be used and allowing GCC to rely on it's builtin search paths. Signed-off-by: Michael 'ASAP' Weinrich <[email protected]> commit 24c884e Author: Michael 'ASAP' Weinrich <[email protected]> Date: Thu Feb 15 20:11:47 2024 -0800 makefile: Replace CFLAGS -I with -iquote The -iquote tells GCC to only search that path when resolving a quoted "include" (vs <angle brackets>) which by convention imples a include from the projects own soruce tree. This prevents a conflict between Klippers "sched.h" and "gpio.h" and <linux/gpio.h> and glibc <sched.h>. Signed-off-by: Michael 'ASAP' Weinrich <[email protected]> commit 75a40e8 Author: Robert Cambridge <[email protected]> Date: Fri Mar 29 18:35:16 2024 +0100 stm32: fix support for USARTs on STM32G0B0 Signed-off-by: Robert Cambridge <[email protected]> commit 1816834 Author: Rogerio Goncalves <[email protected]> Date: Wed Apr 3 10:46:19 2024 +0100 disable stm32f031 tests for now commit cdd0456 Author: Rogerio Goncalves <[email protected]> Date: Wed Apr 3 10:23:30 2024 +0100 reformat commit b581d17 Author: Rogerio Goncalves <[email protected]> Date: Wed Apr 3 10:21:32 2024 +0100 missing line commit af714dc Merge: b9654d6 5e28068 Author: Rogerio Goncalves <[email protected]> Date: Wed Apr 3 10:13:22 2024 +0100 Merge upstream Klipper3d:klipper commit 5e28068 Author: John Unland <[email protected]> Date: Tue Apr 2 20:08:35 2024 -0600 makefile: fix warning about lto serial compilation (#6543) Signed-off-by: John Unland <[email protected]> commit 67c1527 Author: FOG_Yamato <[email protected]> Date: Wed Apr 3 05:02:22 2024 +0300 stm32: Add i2c3 bus to STM32H7 (#6541) Signed-off-by: Balanuta Simion <[email protected]> commit 9e1cbdc Author: Kevin O'Connor <[email protected]> Date: Thu Mar 21 22:10:27 2024 -0400 virtual_sdcard: Fix handling of unicode characters on Python2 Commit 600e89a fixed unicode handling on Python3, but broke Python2 support. Use an alternate implementation that should work for both Python3 and Python2. Signed-off-by: Kevin O'Connor <[email protected]> commit 0aacbc3 Author: Kevin O'Connor <[email protected]> Date: Thu Mar 21 22:00:32 2024 -0400 toolhead: Populate minimum_cruise_ratio to printer.configfile.settings The default minimum_cruise_ratio setting does not get populated to the printer.configfile.settings information due to the way the max_accel_to_decel backwards compatibility support was implemented. Slightly rework the config reading so that the default for minimum_cruise_ratio is populated there. Reported by @ReXT3D. Signed-off-by: Kevin O'Connor <[email protected]> commit bedec55 Author: Kevin O'Connor <[email protected]> Date: Wed Mar 20 20:02:27 2024 -0400 motion_report: Don't negate step_distance on steppers with inverted dir pin When querying the stepper motion queue, the resulting "interval", "count", and "add" are already normalized to the correct direction. That is, the "count" field will be positive if moving in a positive axis direction and negative if moving in the reverse direction. So, negating the step_distance field just complicates the readers. Signed-off-by: Kevin O'Connor <[email protected]> commit 239f8e5 Author: Mathias Pihl <[email protected]> Date: Wed Apr 3 02:57:19 2024 +0200 scripts: Mark install-ubuntu-22.04 as executable (#6505) Signed-off-by: Mathias Pihl <[email protected]> commit e37b007 Author: TheParanoidEngineer <[email protected]> Date: Mon Mar 25 13:05:22 2024 -0400 docs: Update Measuring_Resonances.md (#6515) Changed "libopenblas-base" to "libopenblas-dev" Signed-off-by: Philip Weber <[email protected]> commit d904334 Author: Carl Richard Theodor Schneider <[email protected]> Date: Wed Mar 13 22:24:05 2024 +0100 linux: Allow for more i2c buses Similar to commit df79893, this allows klipper to use up to /dev/i2c-14. Similar to before, this limit is arbitrary. This is required for some other SoCs, which have even more i2c buses available, e.g. the rk3399: $ ls -1 /dev/i2c-* /dev/i2c-0 /dev/i2c-3 /dev/i2c-7 Signed-off-by: Carl Richard Theodor Schneider <[email protected]> commit 40728e9 Author: Kevin O'Connor <[email protected]> Date: Fri Dec 15 18:04:17 2023 -0500 motan: Support recording lis2dw and mpu9250 sensors from data_logger.py Signed-off-by: Kevin O'Connor <[email protected]> commit de1cf21 Author: Kevin O'Connor <[email protected]> Date: Sun Jan 7 23:34:59 2024 -0500 docs: Sort axis_twist_compensation in G-Codes.md Signed-off-by: Kevin O'Connor <[email protected]> commit e6df93f Author: Kamil Domański <[email protected]> Date: Wed Feb 21 00:23:57 2024 +0100 tmc2240: add ADC voltage formatters Signed-off-by: Kamil Domański <[email protected]> commit 235b75b Author: Mad Beggar <[email protected]> Date: Tue Mar 19 16:16:42 2024 -0400 hc32f460: Adding support for 100pin version of H32F460 (#6488) Signed-off-by: Guillaume Giraudon <[email protected]> commit 78a15b6 Author: Markus Küffner <[email protected]> Date: Fri Mar 15 16:29:35 2024 +0100 scripts: use greenlet version depending on python version Signed-off-by: Markus Küffner <[email protected]> commit bfb71bc Author: BIGTREETECH <[email protected]> Date: Fri Mar 15 22:12:05 2024 +0800 stm32: Add i2c3_PC0_PC1 for stm32g0 (#6529) Signed-off-by: Alan.Ma from BigTreeTech <[email protected]> commit 09a78c3 Author: Kevin O'Connor <[email protected]> Date: Thu Mar 7 19:32:28 2024 -0500 buildcommands: Add Klipper app name and license to mcu data dictionary Add the Klipper name and license to the mcu data dictionary so that it can be found in the flash. Signed-off-by: Kevin O'Connor <[email protected]> commit 0291a15 Author: Kevin O'Connor <[email protected]> Date: Tue Mar 5 21:45:16 2024 -0500 configfile: Add support for reporting runtime_warnings via the API server Add a new runtime_warning() method that will add a 'runtime_warning' type message to the printer.configfile.warnings object. Signed-off-by: Kevin O'Connor <[email protected]> commit d99d1a8 Author: Kevin O'Connor <[email protected]> Date: Tue Mar 5 21:32:36 2024 -0500 mcu: Write a warning to the log if an incorrect mcu frequency is detected Signed-off-by: Kevin O'Connor <[email protected]> commit bb512ef Author: Kevin O'Connor <[email protected]> Date: Tue Mar 5 20:50:09 2024 -0500 heaters: Clarify reported stats after a shutdown The pid logic can continue after a shutdown, even though the pin commands sent to the mcu are ignored. However, this behavior can result in confusing "stats" messages in the log. Explicitly disable updates after a shutdown event so that the log statistics are more clear. Signed-off-by: Kevin O'Connor <[email protected]> commit bddefdd Author: Kevin O'Connor <[email protected]> Date: Tue Mar 5 19:24:03 2024 -0500 pid_calibrate: Fix PID_CALIBRATE command when used with heater_generic Make sure the SAVE_CONFIG command saves the calculated PID parameters to the correct config name. Signed-off-by: Kevin O'Connor <[email protected]> commit 0105aa3 Author: Kevin O'Connor <[email protected]> Date: Sun Dec 3 18:50:44 2023 -0500 toolhead: Replace max_accel_to_decel with minimum_cruise_ratio The user facing max_accel_to_decel setting is complicated and confusing. Replace it with a new minimum_cruise_ratio parameter. Internally this user-facing parameter will calculate the existing low-level "accel_to_decel" mechanism. Signed-off-by: Kevin O'Connor <[email protected]> commit 18de421 Author: Attila <[email protected]> Date: Sun Mar 10 15:48:48 2024 -0700 stm32: Fix USART3 ALT pinout on STM32G0 (#6523) Signed-off-by: Attila Rakosi <[email protected]> commit 71604b7 Author: Ulf D <[email protected]> Date: Fri Mar 8 17:49:29 2024 +0100 config: "static_value" in [output_pin enable_pin] is deprecated (#6520) Signed-off-by: Ulf Dieckmann <[email protected]>
commit 3f3d378 Merge: c3cd269 7884129 Author: Rogerio Goncalves <[email protected]> Date: Tue Apr 23 22:37:40 2024 +0100 Merge branch 'master' into upstream_pr commit 7884129 Author: Frédéric Beaucamp <[email protected]> Date: Tue Apr 23 22:38:38 2024 +0200 Some improvements to dockable_probe (KalicoCrew#175) * add restore_toolhead, extract_position, insert_position settings * Fix : Black format . Signed-off-by: Frédéric Beaucamp <[email protected]> * add parameters in test config --------- Signed-off-by: Frédéric Beaucamp <[email protected]> commit b97b4bd Author: Rogerio Goncalves <[email protected]> Date: Tue Apr 23 16:26:00 2024 -0400 update to latest Klipper3d/klipper (2f6e94c) (KalicoCrew#216) * stm32: fix support for USARTs on STM32G0B0 Signed-off-by: Robert Cambridge <[email protected]> * makefile: Replace CFLAGS -I with -iquote The -iquote tells GCC to only search that path when resolving a quoted "include" (vs <angle brackets>) which by convention imples a include from the projects own soruce tree. This prevents a conflict between Klippers "sched.h" and "gpio.h" and <linux/gpio.h> and glibc <sched.h>. Signed-off-by: Michael 'ASAP' Weinrich <[email protected]> * linux: Don't use absolute paths for include Not all systems (i.e. Nix) repect the standard Linux filesystem hierarchy, instead relative paths should be used and allowing GCC to rely on it's builtin search paths. Signed-off-by: Michael 'ASAP' Weinrich <[email protected]> * manual_stepper: Add basic status. (#6527) Adding position and enabled in manual_stepper status. Enabled is already available through stepper_enable object. But this makes it more straightforward to access it. Signed-off-by: Viesturs Zarins <[email protected]> * klippy: remove a few unused variable assignments (#6504) Signed-off-by: Kamil Domański <[email protected]> * mcu: Separate trdispatch handling from MCU_endstop class Create a new TriggerDispatch class to track the low-level handling of the trdispatch mechanism. Signed-off-by: Kevin O'Connor <[email protected]> * probe: Add a probing_move() wrapper to low-level mcu_probe class This allows the low-level probe class more control on the probing implementation. Signed-off-by: Kevin O'Connor <[email protected]> * sensor_ldc1612: Initial support for bulk reading ldc1612 sensor Signed-off-by: Alan.Ma from BigTreeTech <[email protected]> Signed-off-by: Kevin O'Connor <[email protected]> * ldc1612: Initial host support for reading ldc1612 bulk sensor data Signed-off-by: Kevin O'Connor <[email protected]> * ldc1612: Add LDC_CALIBRATE_DRIVE_CURRENT calibration command Add a command to calibrate the sensor DRIVE_CURRENT0 register. Signed-off-by: Kevin O'Connor <[email protected]> * probe_eddy_current: Support calibrating Z height to sensor frequency Add a calibration tool that can be used to correlate sensor frequency to bed Z height. Signed-off-by: Kevin O'Connor <[email protected]> * probe_eddy_current: Initial support for PROBE command Signed-off-by: Kevin O'Connor <[email protected]> * probe_eddy_current: Use sensor value at halt position for "trigger" position Calculate the sensor Z position after the probe halts and return that as the "probed position". This sensor position provides a more accurate measurement. Signed-off-by: Kevin O'Connor <[email protected]> * docs: Add documentation for probe_eddy_current Signed-off-by: Kevin O'Connor <[email protected]> * docs: Add a new Eddy_Probe.md document Signed-off-by: Kevin O'Connor <[email protected]> * motan: Add support for graphing ldc1612 coil frequencies Signed-off-by: Kevin O'Connor <[email protected]> * manual_stepper: Revert "manual_stepper: Add basic status. (#6527)" This reverts commit b029d04. The MCU_Stepper class does not have a is_motor_enabled() method, so the change above results in an internal exception. Signed-off-by: Kevin O'Connor <[email protected]> * homing_override: Adds rawparams support Signed-off-by: Pedro Lamas <[email protected]> * docs: Fix typo in Resonance_Compensation.md Signed-off-by: Plynskiy Nikita <[email protected]> * config: Artillery Sidewinder X3 (#6534) Signed-off-by: Phil Timpson <[email protected]> * virtual_sdcard: Define a default for on_gcode_error If on_gcode_error is not specified, default to running the TURN_OFF_HEATERS command. Signed-off-by: Kevin O'Connor <[email protected]> * docs: Recommend using "ip" instead of "ifconfig" in CANBUS.md Some Linux systems do not install ifconfig, while ip should always be available. So, update the canbus documentation to recommend that. Signed-off-by: Kevin O'Connor <[email protected]> * docs: Add information on txqueuelen to CANBUS_Troubleshooting.md Provide some background information on the Linux can interface txqueuelen parameter, errors that it can cause, and considerations when configuring it. Signed-off-by: Kevin O'Connor <[email protected]> * adxl345: Move sample timestamp calculation to reusable code Add a new extract_samples() method to the ChipClockUpdater class that calculates the sample timestamp for each sample in a list of bulk sensor reports. Update the adxl345 code to use that extract_samples() code. Signed-off-by: Kevin O'Connor <[email protected]> * lis2dw: Use extract_samples() for sample timestamp calculation Signed-off-by: Kevin O'Connor <[email protected]> * mpu9250: Use extract_samples() for sample timestamp calculation Signed-off-by: Kevin O'Connor <[email protected]> * ldc1612: Use extract_samples() for sample timestamp calculation Signed-off-by: Kevin O'Connor <[email protected]> * bulk_sensor: Refactor ChipClockUpdater constructor Build the clock_sync and struct.Struct() in the ChipClockUpdater constructor. Signed-off-by: Kevin O'Connor <[email protected]> * bulk_sensor: Rework ChipClockUpdater class into FixedFreqReader Move the sensor_bulk_data message queuing into the class, and then rename that class. This simplifies the users of the code. Signed-off-by: Kevin O'Connor <[email protected]> * bulk_sensor: Rename BulkDataQueue methods Rename pull_samples() to pull_queue() and rename clear_sample() to clear_queue(). This avoids confusion between the queue of response messages and the larger list of samples stored within those messages. Signed-off-by: Kevin O'Connor <[email protected]> * docs: Update CANBUS_Troubleshooting.md to avoid formatting error Avoid starting a line with "128." as that confused markdown. Signed-off-by: Kevin O'Connor <[email protected]> * sht3x: Add sht31 support (#6560) Signed-off-by: Timofey Titovets <[email protected]> * docs: Fix typo in Bed_Mesh.md (#6572) Signed-off-by: Maggi Alessandro <[email protected]> * format --------- Signed-off-by: Robert Cambridge <[email protected]> Signed-off-by: Michael 'ASAP' Weinrich <[email protected]> Signed-off-by: Viesturs Zarins <[email protected]> Signed-off-by: Kamil Domański <[email protected]> Signed-off-by: Kevin O'Connor <[email protected]> Signed-off-by: Alan.Ma from BigTreeTech <[email protected]> Signed-off-by: Pedro Lamas <[email protected]> Signed-off-by: Plynskiy Nikita <[email protected]> Signed-off-by: Phil Timpson <[email protected]> Signed-off-by: Timofey Titovets <[email protected]> Signed-off-by: Maggi Alessandro <[email protected]> Co-authored-by: Robert Cambridge <[email protected]> Co-authored-by: Michael 'ASAP' Weinrich <[email protected]> Co-authored-by: Viesturs Zariņš <[email protected]> Co-authored-by: Kamil Domański <[email protected]> Co-authored-by: Kevin O'Connor <[email protected]> Co-authored-by: Pedro Lamas <[email protected]> Co-authored-by: trofen <[email protected]> Co-authored-by: TheFeralEngineer <[email protected]> Co-authored-by: Timofey Titovets <[email protected]> Co-authored-by: Alessandro Maggi <[email protected]> commit c3cd269 Author: Rogerio Goncalves <[email protected]> Date: Tue Apr 23 16:03:51 2024 +0100 format commit 5ed6d70 Merge: ca37123 2f6e94c Author: Rogerio Goncalves <[email protected]> Date: Tue Apr 23 15:59:52 2024 +0100 Merge upstream Klipper3d:klipper commit 2f6e94c Author: Alessandro Maggi <[email protected]> Date: Sun Apr 21 00:57:58 2024 +0200 docs: Fix typo in Bed_Mesh.md (#6572) Signed-off-by: Maggi Alessandro <[email protected]> commit 713b509 Author: Timofey Titovets <[email protected]> Date: Sun Apr 21 00:42:31 2024 +0200 sht3x: Add sht31 support (#6560) Signed-off-by: Timofey Titovets <[email protected]> commit 28faf81 Author: Kevin O'Connor <[email protected]> Date: Sat Apr 20 13:23:42 2024 -0400 docs: Update CANBUS_Troubleshooting.md to avoid formatting error Avoid starting a line with "128." as that confused markdown. Signed-off-by: Kevin O'Connor <[email protected]> commit 8195993 Author: Kevin O'Connor <[email protected]> Date: Sun Apr 14 12:39:27 2024 -0400 bulk_sensor: Rename BulkDataQueue methods Rename pull_samples() to pull_queue() and rename clear_sample() to clear_queue(). This avoids confusion between the queue of response messages and the larger list of samples stored within those messages. Signed-off-by: Kevin O'Connor <[email protected]> commit abb7910 Author: Kevin O'Connor <[email protected]> Date: Sun Apr 14 12:33:22 2024 -0400 bulk_sensor: Rework ChipClockUpdater class into FixedFreqReader Move the sensor_bulk_data message queuing into the class, and then rename that class. This simplifies the users of the code. Signed-off-by: Kevin O'Connor <[email protected]> commit 9ceaae3 Author: Kevin O'Connor <[email protected]> Date: Sat Apr 13 21:02:04 2024 -0400 bulk_sensor: Refactor ChipClockUpdater constructor Build the clock_sync and struct.Struct() in the ChipClockUpdater constructor. Signed-off-by: Kevin O'Connor <[email protected]> commit 56829b0 Author: Kevin O'Connor <[email protected]> Date: Sat Apr 13 20:26:16 2024 -0400 ldc1612: Use extract_samples() for sample timestamp calculation Signed-off-by: Kevin O'Connor <[email protected]> commit f73e6dc Author: Kevin O'Connor <[email protected]> Date: Sat Apr 13 20:20:59 2024 -0400 mpu9250: Use extract_samples() for sample timestamp calculation Signed-off-by: Kevin O'Connor <[email protected]> commit 144af05 Author: Kevin O'Connor <[email protected]> Date: Sat Apr 13 20:17:20 2024 -0400 lis2dw: Use extract_samples() for sample timestamp calculation Signed-off-by: Kevin O'Connor <[email protected]> commit 95fdb68 Author: Kevin O'Connor <[email protected]> Date: Sat Apr 13 20:03:47 2024 -0400 adxl345: Move sample timestamp calculation to reusable code Add a new extract_samples() method to the ChipClockUpdater class that calculates the sample timestamp for each sample in a list of bulk sensor reports. Update the adxl345 code to use that extract_samples() code. Signed-off-by: Kevin O'Connor <[email protected]> commit c106955 Author: Kevin O'Connor <[email protected]> Date: Fri Apr 12 14:25:05 2024 -0400 docs: Add information on txqueuelen to CANBUS_Troubleshooting.md Provide some background information on the Linux can interface txqueuelen parameter, errors that it can cause, and considerations when configuring it. Signed-off-by: Kevin O'Connor <[email protected]> commit 12e9b63 Author: Kevin O'Connor <[email protected]> Date: Fri Apr 12 11:37:01 2024 -0400 docs: Recommend using "ip" instead of "ifconfig" in CANBUS.md Some Linux systems do not install ifconfig, while ip should always be available. So, update the canbus documentation to recommend that. Signed-off-by: Kevin O'Connor <[email protected]> commit 2425a74 Author: Kevin O'Connor <[email protected]> Date: Thu Mar 21 23:22:10 2024 -0400 virtual_sdcard: Define a default for on_gcode_error If on_gcode_error is not specified, default to running the TURN_OFF_HEATERS command. Signed-off-by: Kevin O'Connor <[email protected]> commit 36f9b26 Author: TheFeralEngineer <[email protected]> Date: Fri Apr 12 12:27:36 2024 -0400 config: Artillery Sidewinder X3 (#6534) Signed-off-by: Phil Timpson <[email protected]> commit 75d7c17 Author: trofen <[email protected]> Date: Thu Apr 11 17:58:47 2024 +0300 docs: Fix typo in Resonance_Compensation.md Signed-off-by: Plynskiy Nikita <[email protected]> commit c37329e Author: Pedro Lamas <[email protected]> Date: Thu Apr 11 10:26:01 2024 +0100 homing_override: Adds rawparams support Signed-off-by: Pedro Lamas <[email protected]> commit ca37123 Author: Rogerio Goncalves <[email protected]> Date: Fri Apr 12 06:08:35 2024 -0400 hotfix: disable min_cruise_ratio correctly (KalicoCrew#209) * hotfix: disable min_cruise_ratio correctly * duplicated code commit fc4abbf Author: Zeanon <[email protected]> Date: Thu Apr 11 23:48:52 2024 +0200 Custom threshold for PROBE_POINTS_INCREASING check on QGL and Z_TILT (KalicoCrew#189) * Initial Implementation * Added readme * added ci tests --------- Co-authored-by: Rogerio Goncalves <[email protected]> commit 4cfa266 Author: Kevin O'Connor <[email protected]> Date: Wed Apr 10 10:38:48 2024 -0400 manual_stepper: Revert "manual_stepper: Add basic status. (#6527)" This reverts commit b029d04. The MCU_Stepper class does not have a is_motor_enabled() method, so the change above results in an internal exception. Signed-off-by: Kevin O'Connor <[email protected]> commit d209dee Author: Zeanon <[email protected]> Date: Wed Apr 10 15:27:56 2024 +0200 Save without restart (KalicoCrew#191) * SAVE_CONFIG without restart * black formatting * Added caution warning * Update README.md * Added test case --------- Co-authored-by: Rogerio Goncalves <[email protected]> commit c906c80 Author: Zeanon <[email protected]> Date: Wed Apr 10 15:02:54 2024 +0200 Use recursive globs to include config files (KalicoCrew#200) * Initial Implementation * Updated Readme * Added CI tests * writing the right name for what you want to include actually helps commit 2e67d37 Author: Zeanon <[email protected]> Date: Wed Apr 10 15:02:00 2024 +0200 Also expose temperature_fan and temperature_sensor (KalicoCrew#201) * Update mcu.py * Include Temperature_fan * removed ununsed paranthesis * cleaned up the code and removed loops * Added Thermocouples * code cleanup commit 898009a Author: Zeanon <[email protected]> Date: Wed Apr 10 13:44:14 2024 +0200 Fixed issues with HappyHare (KalicoCrew#188) * Fixed issues with HappyHare * Added doc and fixed reset behaviour * Removed unused import commit a8b493a Author: Kevin O'Connor <[email protected]> Date: Fri Dec 15 19:05:25 2023 -0500 motan: Add support for graphing ldc1612 coil frequencies Signed-off-by: Kevin O'Connor <[email protected]> commit b098972 Author: Kevin O'Connor <[email protected]> Date: Mon Jan 8 00:36:32 2024 -0500 docs: Add a new Eddy_Probe.md document Signed-off-by: Kevin O'Connor <[email protected]> commit 30e0fdd Author: Kevin O'Connor <[email protected]> Date: Sun Jan 7 23:53:57 2024 -0500 docs: Add documentation for probe_eddy_current Signed-off-by: Kevin O'Connor <[email protected]> commit 28281c5 Author: Kevin O'Connor <[email protected]> Date: Mon Jan 8 21:56:04 2024 -0500 probe_eddy_current: Use sensor value at halt position for "trigger" position Calculate the sensor Z position after the probe halts and return that as the "probed position". This sensor position provides a more accurate measurement. Signed-off-by: Kevin O'Connor <[email protected]> commit 13b2926 Author: Kevin O'Connor <[email protected]> Date: Sun Jan 7 13:32:41 2024 -0500 probe_eddy_current: Initial support for PROBE command Signed-off-by: Kevin O'Connor <[email protected]> commit b0d90fd Author: Kevin O'Connor <[email protected]> Date: Sat Dec 30 21:07:19 2023 -0500 probe_eddy_current: Support calibrating Z height to sensor frequency Add a calibration tool that can be used to correlate sensor frequency to bed Z height. Signed-off-by: Kevin O'Connor <[email protected]> commit d84fc43 Author: Kevin O'Connor <[email protected]> Date: Sun Jan 7 00:06:44 2024 -0500 ldc1612: Add LDC_CALIBRATE_DRIVE_CURRENT calibration command Add a command to calibrate the sensor DRIVE_CURRENT0 register. Signed-off-by: Kevin O'Connor <[email protected]> commit da2b258 Author: Kevin O'Connor <[email protected]> Date: Fri Dec 15 17:50:34 2023 -0500 ldc1612: Initial host support for reading ldc1612 bulk sensor data Signed-off-by: Kevin O'Connor <[email protected]> commit b8f1df3 Author: Kevin O'Connor <[email protected]> Date: Fri Dec 15 12:23:32 2023 -0500 sensor_ldc1612: Initial support for bulk reading ldc1612 sensor Signed-off-by: Alan.Ma from BigTreeTech <[email protected]> Signed-off-by: Kevin O'Connor <[email protected]> commit acdf8bb Author: Kevin O'Connor <[email protected]> Date: Mon Jan 8 21:33:56 2024 -0500 probe: Add a probing_move() wrapper to low-level mcu_probe class This allows the low-level probe class more control on the probing implementation. Signed-off-by: Kevin O'Connor <[email protected]> commit fa5fa74 Author: Kevin O'Connor <[email protected]> Date: Sat Jan 6 19:27:56 2024 -0500 mcu: Separate trdispatch handling from MCU_endstop class Create a new TriggerDispatch class to track the low-level handling of the trdispatch mechanism. Signed-off-by: Kevin O'Connor <[email protected]> commit 5c196ee Author: Rogerio Goncalves <[email protected]> Date: Tue Apr 9 12:52:13 2024 -0400 hotfix: replace max_accel_to_decel by minimum_cruise_ratio (KalicoCrew#203) commit 8b7ac26 Author: Zeanon <[email protected]> Date: Tue Apr 9 18:40:31 2024 +0200 Fix for CANCEL_PRINT issues (KalicoCrew#205) commit 5c43763 Author: B <[email protected]> Date: Sat Apr 6 13:35:22 2024 -0400 HEATER_INTERRUPT command and INTERRUPT mutex (KalicoCrew#94) fix refactor with wait_while util cancel print too back to interrupt command fix gcode ref readme stuff commit b6e2228 Author: Rogerio Goncalves <[email protected]> Date: Sat Apr 6 13:24:07 2024 -0400 PR template (KalicoCrew#199) commit 3a1a98b Author: B <[email protected]> Date: Sat Apr 6 13:02:46 2024 -0400 Danger Options interface rework + new logging flags (KalicoCrew#197) * switch danger options to a directly-imported singleton * no relative import * fix import again * add not loaded yet exception commit 6b94dfe Merge: ac005d9 8b18d6b Author: Rogerio Goncalves <[email protected]> Date: Sat Apr 6 13:01:17 2024 -0400 Merge branch 'master' into upstream_pr commit 8b18d6b Author: Ryan Ghosh <[email protected]> Date: Sat Apr 6 10:01:01 2024 -0700 Add trad_rack module (KalicoCrew#184) * Add trad_rack module and related documentation * trad_rack: update to match Annex-Engineering/TradRack@97d7582 commit ac005d9 Merge: 9c40d07 d6b0a6a Author: Rogerio Goncalves <[email protected]> Date: Sat Apr 6 12:40:47 2024 -0400 Merge branch 'master' into upstream_pr commit 9c40d07 Author: Bea Nance <[email protected]> Date: Sat Apr 6 12:29:02 2024 -0400 accel to decel fix commit d6b0a6a Author: Zeanon <[email protected]> Date: Fri Apr 5 23:51:53 2024 +0200 Fix small error for pid_profiles (KalicoCrew#196) I forgot to add one line... commit 01c7bef Author: Kamil Domański <[email protected]> Date: Fri Apr 5 23:43:43 2024 +0200 klippy: remove a few unused variable assignments (#6504) Signed-off-by: Kamil Domański <[email protected]> commit b029d04 Author: Viesturs Zariņš <[email protected]> Date: Thu Apr 4 22:46:30 2024 +0200 manual_stepper: Add basic status. (#6527) Adding position and enabled in manual_stepper status. Enabled is already available through stepper_enable object. But this makes it more straightforward to access it. Signed-off-by: Viesturs Zarins <[email protected]> commit 6f16e11 Author: Michael 'ASAP' Weinrich <[email protected]> Date: Thu Feb 15 20:17:08 2024 -0800 linux: Don't use absolute paths for include Not all systems (i.e. Nix) repect the standard Linux filesystem hierarchy, instead relative paths should be used and allowing GCC to rely on it's builtin search paths. Signed-off-by: Michael 'ASAP' Weinrich <[email protected]> commit 24c884e Author: Michael 'ASAP' Weinrich <[email protected]> Date: Thu Feb 15 20:11:47 2024 -0800 makefile: Replace CFLAGS -I with -iquote The -iquote tells GCC to only search that path when resolving a quoted "include" (vs <angle brackets>) which by convention imples a include from the projects own soruce tree. This prevents a conflict between Klippers "sched.h" and "gpio.h" and <linux/gpio.h> and glibc <sched.h>. Signed-off-by: Michael 'ASAP' Weinrich <[email protected]> commit 75a40e8 Author: Robert Cambridge <[email protected]> Date: Fri Mar 29 18:35:16 2024 +0100 stm32: fix support for USARTs on STM32G0B0 Signed-off-by: Robert Cambridge <[email protected]> commit 1816834 Author: Rogerio Goncalves <[email protected]> Date: Wed Apr 3 10:46:19 2024 +0100 disable stm32f031 tests for now commit cdd0456 Author: Rogerio Goncalves <[email protected]> Date: Wed Apr 3 10:23:30 2024 +0100 reformat commit b581d17 Author: Rogerio Goncalves <[email protected]> Date: Wed Apr 3 10:21:32 2024 +0100 missing line commit af714dc Merge: b9654d6 5e28068 Author: Rogerio Goncalves <[email protected]> Date: Wed Apr 3 10:13:22 2024 +0100 Merge upstream Klipper3d:klipper commit 5e28068 Author: John Unland <[email protected]> Date: Tue Apr 2 20:08:35 2024 -0600 makefile: fix warning about lto serial compilation (#6543) Signed-off-by: John Unland <[email protected]> commit 67c1527 Author: FOG_Yamato <[email protected]> Date: Wed Apr 3 05:02:22 2024 +0300 stm32: Add i2c3 bus to STM32H7 (#6541) Signed-off-by: Balanuta Simion <[email protected]> commit 9e1cbdc Author: Kevin O'Connor <[email protected]> Date: Thu Mar 21 22:10:27 2024 -0400 virtual_sdcard: Fix handling of unicode characters on Python2 Commit 600e89a fixed unicode handling on Python3, but broke Python2 support. Use an alternate implementation that should work for both Python3 and Python2. Signed-off-by: Kevin O'Connor <[email protected]> commit 0aacbc3 Author: Kevin O'Connor <[email protected]> Date: Thu Mar 21 22:00:32 2024 -0400 toolhead: Populate minimum_cruise_ratio to printer.configfile.settings The default minimum_cruise_ratio setting does not get populated to the printer.configfile.settings information due to the way the max_accel_to_decel backwards compatibility support was implemented. Slightly rework the config reading so that the default for minimum_cruise_ratio is populated there. Reported by @ReXT3D. Signed-off-by: Kevin O'Connor <[email protected]> commit bedec55 Author: Kevin O'Connor <[email protected]> Date: Wed Mar 20 20:02:27 2024 -0400 motion_report: Don't negate step_distance on steppers with inverted dir pin When querying the stepper motion queue, the resulting "interval", "count", and "add" are already normalized to the correct direction. That is, the "count" field will be positive if moving in a positive axis direction and negative if moving in the reverse direction. So, negating the step_distance field just complicates the readers. Signed-off-by: Kevin O'Connor <[email protected]> commit 239f8e5 Author: Mathias Pihl <[email protected]> Date: Wed Apr 3 02:57:19 2024 +0200 scripts: Mark install-ubuntu-22.04 as executable (#6505) Signed-off-by: Mathias Pihl <[email protected]> commit e37b007 Author: TheParanoidEngineer <[email protected]> Date: Mon Mar 25 13:05:22 2024 -0400 docs: Update Measuring_Resonances.md (#6515) Changed "libopenblas-base" to "libopenblas-dev" Signed-off-by: Philip Weber <[email protected]> commit d904334 Author: Carl Richard Theodor Schneider <[email protected]> Date: Wed Mar 13 22:24:05 2024 +0100 linux: Allow for more i2c buses Similar to commit df79893, this allows klipper to use up to /dev/i2c-14. Similar to before, this limit is arbitrary. This is required for some other SoCs, which have even more i2c buses available, e.g. the rk3399: $ ls -1 /dev/i2c-* /dev/i2c-0 /dev/i2c-3 /dev/i2c-7 Signed-off-by: Carl Richard Theodor Schneider <[email protected]> commit 40728e9 Author: Kevin O'Connor <[email protected]> Date: Fri Dec 15 18:04:17 2023 -0500 motan: Support recording lis2dw and mpu9250 sensors from data_logger.py Signed-off-by: Kevin O'Connor <[email protected]> commit de1cf21 Author: Kevin O'Connor <[email protected]> Date: Sun Jan 7 23:34:59 2024 -0500 docs: Sort axis_twist_compensation in G-Codes.md Signed-off-by: Kevin O'Connor <[email protected]> commit e6df93f Author: Kamil Domański <[email protected]> Date: Wed Feb 21 00:23:57 2024 +0100 tmc2240: add ADC voltage formatters Signed-off-by: Kamil Domański <[email protected]> commit 235b75b Author: Mad Beggar <[email protected]> Date: Tue Mar 19 16:16:42 2024 -0400 hc32f460: Adding support for 100pin version of H32F460 (#6488) Signed-off-by: Guillaume Giraudon <[email protected]> commit 78a15b6 Author: Markus Küffner <[email protected]> Date: Fri Mar 15 16:29:35 2024 +0100 scripts: use greenlet version depending on python version Signed-off-by: Markus Küffner <[email protected]> commit bfb71bc Author: BIGTREETECH <[email protected]> Date: Fri Mar 15 22:12:05 2024 +0800 stm32: Add i2c3_PC0_PC1 for stm32g0 (#6529) Signed-off-by: Alan.Ma from BigTreeTech <[email protected]> commit 09a78c3 Author: Kevin O'Connor <[email protected]> Date: Thu Mar 7 19:32:28 2024 -0500 buildcommands: Add Klipper app name and license to mcu data dictionary Add the Klipper name and license to the mcu data dictionary so that it can be found in the flash. Signed-off-by: Kevin O'Connor <[email protected]> commit 0291a15 Author: Kevin O'Connor <[email protected]> Date: Tue Mar 5 21:45:16 2024 -0500 configfile: Add support for reporting runtime_warnings via the API server Add a new runtime_warning() method that will add a 'runtime_warning' type message to the printer.configfile.warnings object. Signed-off-by: Kevin O'Connor <[email protected]> commit d99d1a8 Author: Kevin O'Connor <[email protected]> Date: Tue Mar 5 21:32:36 2024 -0500 mcu: Write a warning to the log if an incorrect mcu frequency is detected Signed-off-by: Kevin O'Connor <[email protected]> commit bb512ef Author: Kevin O'Connor <[email protected]> Date: Tue Mar 5 20:50:09 2024 -0500 heaters: Clarify reported stats after a shutdown The pid logic can continue after a shutdown, even though the pin commands sent to the mcu are ignored. However, this behavior can result in confusing "stats" messages in the log. Explicitly disable updates after a shutdown event so that the log statistics are more clear. Signed-off-by: Kevin O'Connor <[email protected]> commit bddefdd Author: Kevin O'Connor <[email protected]> Date: Tue Mar 5 19:24:03 2024 -0500 pid_calibrate: Fix PID_CALIBRATE command when used with heater_generic Make sure the SAVE_CONFIG command saves the calculated PID parameters to the correct config name. Signed-off-by: Kevin O'Connor <[email protected]> commit 0105aa3 Author: Kevin O'Connor <[email protected]> Date: Sun Dec 3 18:50:44 2023 -0500 toolhead: Replace max_accel_to_decel with minimum_cruise_ratio The user facing max_accel_to_decel setting is complicated and confusing. Replace it with a new minimum_cruise_ratio parameter. Internally this user-facing parameter will calculate the existing low-level "accel_to_decel" mechanism. Signed-off-by: Kevin O'Connor <[email protected]> commit 18de421 Author: Attila <[email protected]> Date: Sun Mar 10 15:48:48 2024 -0700 stm32: Fix USART3 ALT pinout on STM32G0 (#6523) Signed-off-by: Attila Rakosi <[email protected]> commit 71604b7 Author: Ulf D <[email protected]> Date: Fri Mar 8 17:49:29 2024 +0100 config: "static_value" in [output_pin enable_pin] is deprecated (#6520) Signed-off-by: Ulf Dieckmann <[email protected]>