aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* configfile: Add support for reporting deprecated optionsKevin O'Connor2021-09-167-2/+40
| | | | | | | Add a new printer.configfile.warnings with a list of config features that are deprecated. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* configfile: Setup get_status() results after check_unused_options()Kevin O'Connor2021-09-161-5/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Document motor_power pin in skr2 config (#4677)truckershitch2021-09-151-0/+4
| | | | | This is just a short inline comment about Bigtreetech's implementation of the "anti-reversal stepper protection" and the way it should be handled in the Klipper printer configuration. Signed-off-by: Jerry Chapman <truckershitch@hambone.e4ward.com>
* update_chitu: generating update uuid based on file hash (#4663)Vladimir Serov2021-09-151-2/+4
| | | | | | This makes update_chitu a pure function: same file in — same file out. That's something I need to make Nix builds for firmware itself reproducible. Signed-off-by: Vladimir Serov <me@cab404.ru>
* linux: Support spidev4 through spidev7Kevin O'Connor2021-09-151-0/+4
| | | | | | The rpi4 has additional spi devices. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heaters: Change default smooth_time from 2 seconds to 1 secondKevin O'Connor2021-09-033-3/+7
| | | | | | | | | | | | A larger smooth_time results in a slower reaction time for the PID. This increased delay can cause temperature oscillations with high power heaters. Many boards produce good results without any smoothing. So, it seems a smooth_time of 1 second is a better default. Reported by @ReXT3D. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Add referenced config example for PWM tools (#4537)Pascal2021-09-032-1/+58
| | | Signed-off-by: Pascal Pieper <accounts@pascalpieper.de>
* lib: Update stm32f4 to use upstream github sourceKevin O'Connor2021-09-0227-323368/+323369
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Update stm32f2 to use upstream github sourceKevin O'Connor2021-09-021-3/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Update stm32f1 to use upstream github sourceKevin O'Connor2021-09-0218-123835/+123836
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Update stm32f0 to use upstream github sourceKevin O'Connor2021-09-0220-128778/+128779
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Fix typo in Measuring_Resonances.mdKevin O'Connor2021-09-021-1/+1
| | | | | | Reported by @fredrikbaberg. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tuning_tower: Add STEP_DELTA and STEP_HEIGHT parameters as alternate tuning ↵github@matthewlloyd.net2021-09-022-15/+51
| | | | | | tower syntax Signed-off-by: Matthew Lloyd <github@matthewlloyd.net>
* tuning_tower: Add SKIP parametergithub@matthewlloyd.net2021-09-022-7/+14
| | | | Signed-off-by: Matthew Lloyd <github@matthewlloyd.net>
* delta: Make the 'arm_length' description more clear in save_state()Kevin O'Connor2021-09-021-3/+3
| | | | | | Reported by @conlank. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* toolhead: change SET_VELOCITY_LIMIT respond (fixed) (#4620)Stefan Dej2021-08-311-10/+19
| | | | | Returns only the current values if no new ones have been passed. Signed-off-by: Stefan Dej <meteyou@gmail.com>
* stepper: detect duplicate endstopsLasse Dalegaard2021-08-311-6/+26
| | | | | | | When adding steppers to a `PrinterRail`, detect duplicated `endstop_pin` settings and add them to the already-registered endstop. Signed-off-by: Lasse Dalegaard <dalegaard@gmail.com>
* test: Add printer-elegoo-neptune2-v1.2-2021.cfg to printers.testKevin O'Connor2021-08-312-0/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Elegoo Neptune 2 configuration (#4592)wsippel2021-08-311-0/+103
| | | Signed-off-by: Willie Sippel <wsippel@me.com>
* tmc: Fix typo in get_status()Kevin O'Connor2021-08-301-0/+1
| | | | | | Fix missing variable assignement introduced in commit 5fd1c985. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* motan: Add support for dumping and analyzing adxl345 dataKevin O'Connor2021-08-303-0/+71
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* adxl345: Allow multiple simultaneous clientsKevin O'Connor2021-08-301-12/+1
| | | | | | | It is now possible to have multiple tools gathering adxl345 data at the same time. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* adxl345: Change default chip name from "default" to "adxl345"Kevin O'Connor2021-08-303-10/+10
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* adxl345: Compress each sample from 6 bytes to 5 bytesKevin O'Connor2021-08-302-20/+54
| | | | | | | Transmit data from mcu to host using 5 bytes per sample and up to 10 samples per message block. This improves bandwidth efficiency. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* adxl345: Implement timing via new adxl345_status messagesKevin O'Connor2021-08-303-99/+168
| | | | | | | | Query the adxl345 message counter every 100ms so that accurate timing can be obtained during measurements. This allows the adxl345 data to be exported with timestamps while captures are running. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* adxl345: Support querying accelerometer data from webhooks interfaceKevin O'Connor2021-08-301-63/+109
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* adxl345: Add new start_internal_client() function and use in callersKevin O'Connor2021-08-302-44/+57
| | | | | | | | Introduce a new start_internal_client() function and change all client code to use that instead of manually calling start_measurements() and finish_measurements(). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* adxl345: Always initialize device on start_measurements() callKevin O'Connor2021-08-301-15/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* adxl345: Move g-code commands to new helper classKevin O'Connor2021-08-303-105/+95
| | | | | | | | | | Separate out the G-Code command handlers to a new ADXLCommandHelper() class. This helps separate the sensing code from the user interface code. Deprecate the RATE parameter of the ACCELEROMETER_MEASURE command. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* motion_report: Add helper tool for internal subscribers of dataKevin O'Connor2021-08-301-0/+22
| | | | | | | Add support for internal clients to "subscribe" to data like external clients. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* usb_cdc: Increase USB transmit sizeKevin O'Connor2021-08-301-1/+1
| | | | | | | Increase the transmit buffer size to better support bulk transmission of sensor data. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* motan: Add corexy forward kinematics analyzerKevin O'Connor2021-08-301-0/+28
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* motan: Add support for graphing arbitrary get_status fieldsKevin O'Connor2021-08-301-6/+67
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* motan: Pass dataset parameters in parenthesisKevin O'Connor2021-08-304-70/+97
| | | | | | Replace names like "trapq:toolhead:x" with "trapq(toolhead,x)". Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc: Add support for a get_status() methodKevin O'Connor2021-08-307-1/+45
| | | | | | Export mcu_phase_offset and drv_status information. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* mcu: Support multi-mcu homingKevin O'Connor2021-08-285-20/+89
| | | | | | | Support endstops and probes attached to a different micro-controller than their associated steppers. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* homing: Fix error in retract move causing "must home axis" errorsKevin O'Connor2021-08-281-12/+15
| | | | | | | | | It's possible for the original homing move of an axis to alter the position of other axes. Make sure those other axes are not requested to move on a subsequent second home retract move, as that could cause an error if those other axes have not been homed. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* manual_stepper: Add missing calc_position() wrapper callKevin O'Connor2021-08-261-0/+2
| | | | | | | Commit 3814a132 added code to homing.py to call calc_position() - add that function to manual_stepper.py . Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Note importance of slow extrude rate in Rotation_Distance.mdKevin O'Connor2021-08-251-1/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* configfile: Support config.getchoice() with integer keysKevin O'Connor2021-08-255-24/+24
| | | | | | | | If the choice mapping uses integer keys then lookup the config option using self.getint(). This simplifies the callers and improves the encoding of the printer.configfile.settings export. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Revert "toolhead: change SET_VELOCITY_LIMIT respond behavior"Kevin O'Connor2021-08-241-19/+7
| | | | | | This reverts commit 9f75e348b06f494c0aa4181867b92013f72a9278. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* toolhead: change SET_VELOCITY_LIMIT respond behaviorstefand2021-08-241-7/+19
| | | | | | Returns only the current values if no new ones have been passed. Signed-off-by: Stefan Dej <meteyou@gmail.com>
* motan_graph: Fix legend when using matplotlib twinxKevin O'Connor2021-08-241-2/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* data_logger: Flush the initial index file when all queries completeKevin O'Connor2021-08-241-40/+37
| | | | | | This should avoid zero byte index files for small captures. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Fix typo in Debugging.mdKevin O'Connor2021-08-241-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lpc176x: Fix wrong inital value at PWM setupMichael Kurz2021-08-231-8/+7
| | | | | | | | | | | This fixes a PWM going to full scale output when a initial value != 0 was given. The output was on 100% until another update occurred. This change enables the PWM counter before setting the channel values. Fixes KevinOConnor/klipper#4559 Signed-off-by: Michael Kurz <michi.kurz@gmail.com>
* docs: Add information on motan scripts to Debugging.mdKevin O'Connor2021-08-221-0/+62
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* readlog: Support queue_step smoothingKevin O'Connor2021-08-221-11/+39
| | | | | | | | Logically "smooth" each step in a queue_step sequence over a small time period. This smoothing makes it easier for the analysis tools to extract high-level trends from the data. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* motan_graph: Initial support for graphing data logKevin O'Connor2021-08-223-0/+650
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* data_logger: Add tool for bulk logging of data via the API serverKevin O'Connor2021-08-221-0/+192
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>