aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* output_pin: Make sure to not use a cycle_time or max_duration over 5 secondsKevin O'Connor2021-03-261-5/+8
| | | | | | | Times longer than 5 seconds may result in a 32bit ticks overflow in the micro-controller (for fast micro-controllers). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* output_pin: Increase time host has to confirm a pin settingKevin O'Connor2021-03-261-6/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* output_pin: Support setting max_duration (#3995)Pascal P2021-03-264-5/+109
| | | | | Also added documentation for using powered tools. Signed-off-by: Pascal Pieper <accounts@pascalpieper.de>
* palette2: Add support for P2 devices (#4057)Clifford Roche2021-03-265-11/+697
| | | | | Module which bring support for P2 devices running in connected mode. This enables using a Palette2 directly with Klippy without Octoprint, or without Palette2 plugins for Octoprint which are not functional out of the box with Klipper. Signed-off-by: Clifford Roche <clifford.roche@gmail.com>
* docs: Fix Jekyll rendering of docs/TMC_Drivers.mdKevin O'Connor2021-03-251-0/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Revise sensorless homing configuration guideKevin O'Connor2021-03-252-112/+243
| | | | | | | Recommend finding the minimum and maximum stallguard settings while tuning sensorless homing. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lpc176x: Do not modify PCLKSELx at runtimeKevin O'Connor2021-03-251-8/+1
| | | | | | | | | The lpc176x has an errata that could cause updates to PCLKSELx to not take effect. Rework the code to use the default peripheral clock speed (25Mhz or 30Mhz) so that this register does not need to be updated at runtime. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lpc176x: Introduce get_pclock_frequency()Kevin O'Connor2021-03-256-12/+23
| | | | | | | Add get_pclock_frequency() - a standard way of obtaining the peripheral clock frequency. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* klippy-requirements: Update Jinja2 to 2.11.3Kevin O'Connor2021-03-251-1/+1
| | | | | | | There was a security fix in Jinja2 v2.11.3 - it does not impact Klipper, but there is no harm in updating. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Deprecate support for the pin_map config optionKevin O'Connor2021-03-253-10/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Do not use beagleboard aliases in example config filesKevin O'Connor2021-03-252-39/+37
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Don't use sanguino aliases in example config filesKevin O'Connor2021-03-251-21/+20
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Don't use arduino due aliases in example config filesKevin O'Connor2021-03-251-44/+43
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Don't use arduino mega aliases in example config filesKevin O'Connor2021-03-2521-631/+609
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Don't use arduino aliases in example-xxx.cfg filesKevin O'Connor2021-03-258-165/+155
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Create new sample-aliases.cfg with standard aliasesKevin O'Connor2021-03-252-32/+141
| | | | | | | Create a sample-aliases.cfg with all the aliases that are currently hardcoded in the klippy.pins.py module. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* replicape: Don't require a host alias for the enable_pin defaultKevin O'Connor2021-03-252-3/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* github: Add github issue chooserKevin O'Connor2021-03-242-0/+12
| | | | | | | Add links to documentation and chat server when a new user opens a new issue ticket. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* github: Add FUNDING.yml fileKevin O'Connor2021-03-241-0/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* github: Simplify the github "invalid" issue messageKevin O'Connor2021-03-241-6/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* menu: changes in tune menu according to #4023 (#4086)Janar Sööt2021-03-231-3/+3
| | | | | | - set 1% as input minimum for speed and flow - set speed maximum from 200% to 500% Signed-off-by: Janar Sööt <janar.soot@gmail.com>
* config: Fix extruder1 step_pin in Robin Nano V2 example (#4098)Tomas Rimkus2021-03-231-1/+1
| | | | | Fixed extruder1 step_pin in MKS Robin Nano V2 example config. Signed-off-by: Tomas Rimkus <sandshrew@gmail.com>
* docs: Move Example_Configs.md reference in Overview.mdKevin O'Connor2021-03-221-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Updates to Example_Configs.mdKevin O'Connor2021-03-221-3/+23
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Add Example_Configs.md - info on adding new config files to KlipperKevin O'Connor2021-03-222-0/+76
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Added a note about different ADLX345 PCB designsDmitry Butyugin2021-03-201-0/+6
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* graph_accelerometer: Support axis-level comparison of adxl345 dataDmitry Butyugin2021-03-202-3/+8
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* docs: Updated measuring resonances doc on max_accel suggestionsDmitry Butyugin2021-03-204-31/+72
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* shaper_calibrate: Reduced min shaper freqs to match max_accel ~= 1500Dmitry Butyugin2021-03-201-6/+6
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* shaper_calibrate: Ignore vibrations below max_psd / 20 thresholdDmitry Butyugin2021-03-201-8/+16
| | | | | | | | | | | The input shaper can only reduce vibrations by 20x. Therefore, the best-case achievable vibrations level is max(psd) / 20. Any vibrations below that level can be ignored for the prupose of input shaper scoring. This allows tuning script to ignore wide tails of resonances, because it is not helpful to try to reduce them with input shaping. Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* calibrate_shaper: Use fixed 5 Hz steps for minor ticks in the chartsDmitry Butyugin2021-03-201-3/+1
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* shaper_calibrate: Estimate max_accel to avoid excessive smoothingDmitry Butyugin2021-03-202-10/+37
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* ds18b20: Segmentation fault on 64bit Raspberry PiEvgeny Chukreev2021-03-191-1/+1
| | | | Signed-off-by: Evgeny Chukreev <Evgeny.Chukreev@gmail.com>
* mcu: Update hints for "Timer too close" and "No next step" errorsKevin O'Connor2021-03-191-1/+6
| | | | | | | In practice, these errors are usually due to problems on the host computer instead of problems with communication. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* htu21d: sensor definition fix (#4075)Jon Sanders2021-03-181-0/+3
| | | | | | | | HTU21D sensor class lacked the method `get_report_time_delta` invoked during watermark control loops. This short fix simply adds that method in, calling the `self.report_time` attribute created during class construction. Signed-off-by: Jon Sanders <jonsan@gmail.com>
* tmc2660: Fix typo in seup fieldKevin O'Connor2021-03-181-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc2660: Use lowercase for stallguard/coolstep fieldsKevin O'Connor2021-03-181-15/+15
| | | | | | | Use lowercase for the field names so that it matches the tmc2130/tmc5160 field names. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Minor optimization to can.c IRQ data readingKevin O'Connor2021-03-181-10/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* canbus: Support reading CAN packets directly from IRQ handlerKevin O'Connor2021-03-183-17/+67
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* avr: Fix Kconfig USB/Serial selectionKevin O'Connor2021-03-181-1/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lpc176x: Use "communication interface" menu option in KconfigKevin O'Connor2021-03-181-4/+10
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Use "communication interface" menu option in KconfigKevin O'Connor2021-03-181-8/+15
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsam: Use "communication interface" menu option in KconfigKevin O'Connor2021-03-181-4/+10
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* avr: Use "communication interface" menu option in KconfigKevin O'Connor2021-03-181-12/+13
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Simplify USB/Serial/CANbus Kconfig selectionKevin O'Connor2021-03-1829-171/+185
| | | | | | | Combine the various communication options into a single "make menuconfig" menu item. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Update TMC_Drivers.md with note on SPI failures on TMC driver checksKevin O'Connor2021-03-161-0/+9
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Add common reasons for tmc error reports to TMC_Drivers.mdKevin O'Connor2021-03-161-0/+29
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc2660: Report SE in DUMP_TMC even if zeroKevin O'Connor2021-03-161-2/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc2130: Report CS_ACTUAL in DUMP_TMC even if zeroKevin O'Connor2021-03-161-0/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc: Only check for tmc2130 reset via CS_ACTUAL if IHOLD > 0Kevin O'Connor2021-03-151-0/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>