aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* kinematics: Calculate axis_minimum/axis_maximum in advanceKevin O'Connor2021-01-089-77/+71
| | | | | | | | Calculate the get_status() axis_minimum and axis_maximum fields in advance so that they don't need to be calculated on each get_status() call. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Add example generic-bigtreetech-skr-e3-turbo.cfg config fileKevin O'Connor2021-01-052-0/+135
| | | | | | Reported by @kinggrave. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Add example generic-fysetc-s6-v2.cfg config fileKevin O'Connor2021-01-042-0/+218
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Add support for spi4 bus on stm32f446 chipKevin O'Connor2021-01-041-0/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* kinematics: report all axis limits (min/max)Janar Sööt2020-12-289-15/+81
| | | | Signed-off-by: Janar Sööt <janar.soot@gmail.com>
* heaters: Make MINIMUM optional for TEMPERATURE_WAIT command (#3674)Justin Schuh2020-12-242-4/+7
| | | Signed-off-by: Justin Schuh <code@justinschuh.com>
* heaters: Add MAXIMUM option to TEMPERATURE_WAIT commandJustin Schuh2020-12-232-3/+5
| | | | Signed-off-by: Justin Schuh <code@justinschuh.com>
* configfile: Improve error message when a required option is missingKevin O'Connor2020-12-221-3/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* configfile: Minor line wrapping changesKevin O'Connor2020-12-221-18/+16
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Note step_distance deprecated in Config_Changes.mdKevin O'Connor2020-12-221-2/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Limiting max_smoothing for input shaper autocalibrationDmitry Butyugin2020-12-226-22/+108
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* shaper_calibrate: Choose input shapers accounting smoothingDmitry Butyugin2020-12-223-83/+120
| | | | | | | | | Improved algorithm to choose the 'optimal' shaper frequency taking shaper smoothing into account. This may choose a frequency with slightly more vibrations but less smoothing. Also allow users to limit the maximum input shaper smoothing. Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* heaters: Fix TEMPERATURE_WAIT command with extruder and heater_bedKevin O'Connor2020-12-221-1/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Minor formatting change to Rotation_Distance.mdKevin O'Connor2020-12-211-2/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Fix klipper3d.org rendering of Rotation_Distance.mdKevin O'Connor2020-12-211-10/+8
| | | | | | The Jeykll rendering doesn't like block quoted text that wraps lines. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* test: Add printer-creality-ender6-2020.cfg to printers.testKevin O'Connor2020-12-211-0/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Add Creality Ender 6 configuration (#3661)Sean McGroty2020-12-211-0/+125
| | | Signed-off-by: Sean McGroty <sean@darkon.net>
* scripts: Small improvements for input shaper and accelerometer scriptsDmitry Butyugin2020-12-192-27/+46
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* temperature_mcu: Fix slope on stm32f070Kevin O'Connor2020-12-191-1/+1
| | | | | | The stm32f070 has a negative temperature slope. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* temperature_mcu: Fix slope on stm32f1Kevin O'Connor2020-12-191-1/+1
| | | | | | The stm32f103 has a negative temperature slope. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Update example configs to use rotation_distanceKevin O'Connor2020-12-18104-604/+868
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Add a Rotation_Distance.md documentKevin O'Connor2020-12-184-19/+180
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* endstop_phase: Obtain phases directly from stepper microsteps configKevin O'Connor2020-12-186-54/+62
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stepper: Calculate step_distance from rotation_distanceKevin O'Connor2020-12-1811-60/+128
| | | | | | | | Add support for automatically calculating the internal step_distance from new config parameters - rotation_distance, microsteps, full_steps_per_rotation, and gear_ratio. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Input Shaper and Resonances docs improvements (#3627)Dmitry Butyugin2020-12-175-144/+187
| | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* Makefile: Improve build when changing micro-controller architectureKevin O'Connor2020-12-171-18/+23
| | | | | | | | Try to clean up the dependency files when changing the micro-controller architecture so that an explicit "make clean" isn't needed. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Fix bed thermistor in printer-sovol-sv01-2020.cfgKevin O'Connor2020-12-151-1/+1
| | | | | | | The bed sensor should be "EPCOS 100K B57560G104F". Reported by @bartolomeus. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heaters: Always register heater pin as a pwm pinKevin O'Connor2020-12-152-9/+4
| | | | | | | There's no need to sometimes register the pin as a 'digital_out' pin instead of as a 'pwm' pin. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Add example printer-twotrees-sapphire-plus-2020.cfg configPranas Kiziela2020-12-152-0/+100
| | | | Signed-off-by: Pranas Kiziela <pranas.kiziela@gmail.com>
* heaters: add last pwm value to heater.get_status (#3621)Stefan Dej2020-12-132-1/+5
| | | Signed-off-by: Stefan Dej <meteyou@gmail.com>
* docs: Fix board_pins link in Config_Changes.mdKevin O'Connor2020-12-131-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc: Use configfile note_valid=False when inspecting stepper step_distanceKevin O'Connor2020-12-131-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* safe_z_home: Use configfile note_valid=False when inspecting z position_maxKevin O'Connor2020-12-131-5/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* probe: Use configfile note_valid=False when inspecting z position_minKevin O'Connor2020-12-131-2/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* manual_probe: Use configfile note_valid=False when inspecting Z position_endstopKevin O'Connor2020-12-135-11/+13
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* hd44780: Make the 4-bit init sequence more robustKevin O'Connor2020-12-121-1/+1
| | | | | | | | | | | | The previous init sequence relied on the display ignoring commands if they are sent faster than 40us. Some displays may not have this limit. Rework the init to make it more robust to command transmission times. The new init should still transition the display into 4-bit mode even if the display processes commands faster than 40us. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bltouch: Recommend using a pullup on the sensor_pinKevin O'Connor2020-12-112-4/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gpiocmds: Merge digital output and soft pwm codeKevin O'Connor2020-12-103-257/+137
| | | | | | | | The digital output commands implement a subset of the software pwm commands. Change the host code to just use the software pwm commands and simplify the micro-controller code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* ci-build: Report binary size during build testsKevin O'Connor2020-12-101-0/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* temperature_mcu: Add enhanced support for monitoring mcu temperatureKevin O'Connor2020-12-103-1/+172
| | | | | | | Add a "temperature_mcu" tool that can monitor builtin micro-controller temperature sensors. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Only use the HSI48 clock when doing "usb clock recovery"Kevin O'Connor2020-12-081-1/+2
| | | | | | | | The HSI48 clock on the stm32f042 isn't as accurate as the main HSI clock. So, only use the HSI48 clock when using USB to synchronize that clock. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Improve spi and i2c description in Config_Reference.mdKevin O'Connor2020-12-081-50/+88
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Minor wording change to thermistors in Config_Reference.mdKevin O'Connor2020-12-071-6/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heaters: Add a TEMPERATURE_WAIT commandKevin O'Connor2020-12-072-2/+25
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* graphstats: Allow graphing of temperature_sensor logsKevin O'Connor2020-12-071-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* temperature_sensor: Report temperature in statsKevin O'Connor2020-12-061-0/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Group temperature sensors together in Config_Reference.mdKevin O'Connor2020-12-051-160/+155
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Move micro-controller information together in Config_Reference.mdKevin O'Connor2020-12-051-48/+46
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* pca9685: Use move queue for pwm updatesKevin O'Connor2020-12-042-14/+60
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gpiocmds: Use move queue for software pwmKevin O'Connor2020-12-043-44/+82
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>