aboutsummaryrefslogtreecommitdiffstats
path: root/klippy
Commit message (Collapse)AuthorAgeFilesLines
* Separate version into __version__.pyTomasz Kramkowski13 days2-2/+2
| | | | | This is so it can be imported by buildcommands.py without needing all of the klippy requirements.
* Terminate saved configs with a newlineTomasz Kramkowski2025-08-161-1/+1
|
* Don't require an existing saved configTomasz Kramkowski2025-08-161-1/+4
|
* Make moonraker happierv0.1.0-rc4Tomasz Kramkowski2025-08-162-1/+2
|
* Version 0.1.0-rc3v0.1.0-rc3Tomasz Kramkowski2025-08-161-1/+1
|
* Create API socket with more sensible permissionsTomasz Kramkowski2025-08-161-0/+5
|
* Version 0.1.0-rc2v0.1.0-rc2Tomasz Kramkowski2025-08-161-1/+1
|
* /tmp/printer -> /run/kutter/printerTomasz Kramkowski2025-08-161-2/+2
|
* /var/run/kutter/saved.cfg -> /var/lib/kutter/saved.cfgTomasz Kramkowski2025-08-162-4/+4
| | | | | /var/run which is just a symlink to /run in most places is not normally persistent so this was the wrong place for it
* Change --runtime-config,-R to --saved-config,-STomasz Kramkowski2025-08-161-4/+4
| | | | This naming makes more sense in retrospect.
* Isort all klippy codeTomasz Kramkowski2025-08-15108-108/+362
|
* Clean up bglogger handlingTomasz Kramkowski2025-08-151-14/+10
|
* Remove logfile supportTomasz Kramkowski2025-08-158-70/+8
|
* Rename everything significant to Kutter except for docsTomasz Kramkowski2025-08-1511-17/+17
|
* Drop support for printing MCU informationTomasz Kramkowski2025-08-152-50/+1
|
* Remove git based version handlingTomasz Kramkowski2025-08-152-154/+5
|
* Clean up some remaining python2 codeTomasz Kramkowski2025-08-152-3/+6
|
* Make config argument optionalTomasz Kramkowski2025-08-151-2/+2
|
* Use makefiles instead of auto-buildingTomasz Kramkowski2025-08-154-20/+32
|
* Add a --runtime-config option for SAVE_CONFIGTomasz Kramkowski2025-08-092-79/+33
|
* Remove python2 support (first party)Tomasz Kramkowski2025-08-064-60/+9
|
* Run black on all first party python codeTomasz Kramkowski2025-08-06171-10053/+15700
|
* klippy: fix typos in python code (#6989)Thijs Triemstra2025-07-2518-28/+28
| | | Signed-off-by: Thijs Triemstra <info@collab.nl>
* safe_z_home: correct error callPaul Arthur2025-07-221-1/+1
| | | | Signed-off-by: Paul Arthur <paul.arthur@flowerysong.com>
* mcp4018: Remove support for manual i2c - use standard mcu software i2c insteadKevin O'Connor2025-07-221-65/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* pca9632: Remove custom software i2c - use normal mcu software i2c insteadKevin O'Connor2025-07-221-5/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heaters: Increase time before clearing the temperature of an inactive heaterKevin O'Connor2025-07-191-2/+4
| | | | | | | | | | | The get_temp() code will stop reporting the last temperature of the heater if there hasn't been any recent temperature updates. However, on a full mcu communication loss this can cause the verify_heater code to report a heating error prior to the mcu code reporting the communication failure. Increase the heater timeout from 5 to 7 seconds to make it more likely the mcu failure is reported first. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc.py: add track of stallguardTimofey Titovets2025-07-124-0/+102
| | | | Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
* tmc: add enriched UART readTimofey Titovets2025-07-121-6/+14
| | | | Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
* tmc: add spi status decodeTimofey Titovets2025-07-121-0/+7
| | | | Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
* tmc2660: add enriched SPI readTimofey Titovets2025-07-121-3/+11
| | | | Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
* tmc: add enriched SPI readTimofey Titovets2025-07-121-5/+16
| | | | | | | Currently TMC spi just drop the data that could be useful. Export that data. Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
* mcu: Avoid altering self.TIMEOUT_TIME in RetryAsyncCommandKevin O'Connor2025-07-111-4/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* sht3x: reads should be retried with at least 0.5s pauseTimofey Titovets2025-07-112-3/+17
| | | | | | | | | | | | | SHT3x would return a read NACK on host retries. When the MCU receives the I2C CMD, it reads out data. SHT3x clears the data buffer. The MCU fails to deliver a response to the host. The host retries, the device returns NACK, then the MCU goes into the shutdown state. Make sure there is at least 0.5s between retries. Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
* mcu: allow disable send retriesTimofey Titovets2025-07-112-8/+15
| | | | Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
* ads1x1x: Rename local 'config' variable to pcfgKevin O'Connor2025-07-081-22/+22
| | | | | | | Avoid using the name "config" as a local register storage variable as it can be confused with the common "config" configfile reference. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* ads1x1x: Revert incorrect removal of assignment to self.configKevin O'Connor2025-07-081-0/+1
| | | | | | | | Commit d120a313b incorrectly removed an assignment to self.config - in this instance the reference was to a local variable not related to the global configfile storage. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* input_shaper: fix printer obj referenceTimofey Titovets2025-06-061-1/+1
| | | Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
* docs: Note 'config' object shouldn't be accessed after initial loadKevin O'Connor2025-06-043-4/+1
| | | | | | | | | | Update Code_Overview.md to note that the config object should not be stored after the "config loading phase". Remove a few inadvertent cases where a 'config' object was stored in module member variables. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* input_shaper: Track kinematics updates by dual_carriageDmitry Butyugin2025-06-044-38/+74
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* htu21: fix crash on unknown dev idTimofey Titovets2025-06-021-16/+22
| | | | Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
* print_stats: Fix for filament statistics bug in print_stats.py for ↵Ingo Donasch2025-05-311-0/+5
| | | | | | | toolchangers (#6946) added extruder:activate_extruder event hook to print_stats.py to update self.last_epos Signed-off-by: Ingo Donasch <ingo@donasch.net>
* sos_filter: Improve error checking on section_idxKevin O'Connor2025-05-291-1/+1
| | | | | | | | | | Validate host provided index prior to accessing memory using that index. Also, consistently use a uint8_t for max_sections (to account for integer overflow issues). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* load_cell_probe: Avoid peeking directly at config.section member variableKevin O'Connor2025-05-291-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* load_cell_probe: Create LoadCellProbeGareth Farrington2025-05-291-0/+658
| | | | | | Initial setup of Load Cell Probing. This implementation supports triggering from the Load Cell Probe on the MCU. It also supports, optiopnal, filtering of the force signal by sos filter to eliminate drift caused by bowden tubes or other mechanical causes. Signed-off-by: Gareth Farrington <gareth@waves.ky>
* probe: Create ProbeVirtualEndstopDeprecationGareth Farrington2025-05-291-0/+11
| | | | | | As probes stop supporting `probe:z_virtual_endstop` this class will give users a polite and specific configuration error. Signed-off-by: Gareth Farrington <gareth@waves.ky>
* sensor_hx71x: Update Sensors to report to load_cell_probeGareth Farrington2025-05-292-0/+13
| | | | Signed-off-by: Gareth Farrington <gareth@waves.ky>
* sos_filter: Second Order Sections MCU FilterGareth Farrington2025-05-291-0/+232
| | | | | | | | | | This is an implementation of the SOS fliltering algorithm that runs on the MCU. The filter opperates on data in fixed point format to avoid use of the FPU as klipper does not support FPU usage. This host object handles duties of initalizing and resetting the filter so client dont have to declare their own commands for these opperations. Clients can select how many integer bits they want to use for both the filter coefficients and the filters output value. An arbitrary number of filter sections can be configured. Filters can be designed on the fly with the SciPy library or loaded from another source. Signed-off-by: Gareth Farrington <gareth@waves.ky>
* lis2dw: if spi is used - disable i2cTimofey Titovets2025-05-261-0/+3
| | | | Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
* dual_carriage: Fixed input shaper stepper kinematics initializationDmitry Butyugin2025-05-222-3/+13
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>