aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* gpiocmds: Use move queue for digital output pinsPascal Pieper2020-12-043-30/+77
| | | | | Signed-off-by: Pascal Pieper <accounts@pascalpieper.de> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* pwmcmds: Use move queue for hard PWMPascal Pieper2020-12-043-15/+61
| | | | | Signed-off-by: Pascal Pieper <accounts@pascalpieper.de> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* mcu: Support reserving move queue slotsPascal Pieper2020-12-041-1/+6
| | | | | Signed-off-by: Pascal Pieper <accounts@pascalpieper.de> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stepper: Use a reusable interface to the "move queue"Kevin O'Connor2020-12-043-31/+81
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* basecmd: Change "move queue empty" error to "move queue overflow"Kevin O'Connor2020-12-041-1/+1
| | | | | | Use a more clear error message. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gpiocmds: Send soft pwm cycle_time separately from schedule_soft_pwm_outKevin O'Connor2020-12-043-27/+44
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* pru: Disable gpio mux configuration codeKevin O'Connor2020-12-041-9/+19
| | | | | | | | The code isn't actually capable of altering the mux registers due to hardware checks enforced by the chip. Disable that code to save a few bytes in the final binary. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Add indentation to generated table-of-contents on klipper3d.org siteKevin O'Connor2020-12-031-0/+10
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Simplify javascript link modification for external referencesKevin O'Connor2020-12-031-4/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Add links to default display.cfg and menu.cfg in Config_Reference.mdKevin O'Connor2020-12-033-2/+22
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Fix "github pages" rendering of pictures in Resonance_Compensation.mdKevin O'Connor2020-12-031-3/+1
| | | | | | | | | | The "github pages" service wont properly render a table with "|:--:|:--:|" and no table contents. In contrast, normal github markdown contents wont show the table without it. For now, remove the line as the normal github markdown contens look okay even if the content isn't rendered as a table. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Use relative links for files outside the docs/ directoryKevin O'Connor2020-12-037-64/+58
| | | | | | | | Use javascript to fixup the "github pages" rendering of links to files outside the docs/ directory. Then use normal relative links in the documentation. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Yet again try to fix github-pages rendering of Command_Templates.mdKevin O'Connor2020-12-031-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* rpi_temperature: Don't read min_temp/max_temp directly from configKevin O'Connor2020-12-032-17/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* rpi_temperature: New module to monitor RPi temperature (#3587)Al2020-12-034-1/+112
| | | | | Module to monitor RPi cpu temperature Signed-off-by: Al Crate <aleph@al3ph.org>
* docs: Fix github-pages rendering of Command_Templates.md (again)Kevin O'Connor2020-12-031-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Fix github-pages error in Command_Templates.mdKevin O'Connor2020-12-031-0/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* save_variables: Support saving variables to a disk fileKevin O'Connor2020-12-034-0/+123
| | | | | Signed-off-by: Dushyant Ahuja dusht.ahuja@gmail.com Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* menu: modifications (#3262)Janar Sööt2020-12-032-209/+166
| | | | | | | | | - remove lot of helper methods - differentiate class instantiate from config or directly - don't use 'enable' template rendering when static value is used. - new element 'disabled' - other internal adjustments Signed-off-by: Janar Sööt <janar.soot@gmail.com>
* docs: Clean up example values in Config_Reference.mdKevin O'Connor2020-12-021-41/+41
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Update Command_Templates.md to note printer.controller_fan.speedKevin O'Connor2020-12-011-2/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* serialhdl: Improve Python3 compatibilityKevin O'Connor2020-12-011-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heater_fan: Fix typo causing excessive cpu usageKevin O'Connor2020-12-012-12/+10
| | | | | | Commit error introduced in a7e90504 and f261a468. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* controller_fan: Improve timing of fan commandsKevin O'Connor2020-12-011-6/+11
| | | | | | | Don't use the reactor eventtime to schedule micro-controller commands as that time may have low accuracy. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heater_fan: Improve timing of fan commandsKevin O'Connor2020-12-011-5/+10
| | | | | | | Don't use the reactor eventtime to schedule micro-controller commands as that time may have low accuracy. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>