aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* docs: Move config reference information to new Config_Reference.mdKevin O'Connor2020-11-18120-1377/+1954
| | | | | | | Move all the config reference information from files in the config/ directory to a new Config_Reference.md document. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Update printer-tronxy-x5sa-v6-2019.cfg (#3535)Raabi912020-11-171-1/+1
| | | | | update descripton to generate the update.cbd after a make Signed-off-by: Jens Raab <raabi@protonmail.com>
* docs: Note the change in "print_stats.duration"Arksine2020-11-131-0/+4
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* print_stats: exclude time prior to first extrusion from "print_duration"Arksine2020-11-131-1/+10
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* output_pin: Don't flush lookahead queue on a SET_PIN commandKevin O'Connor2020-11-131-15/+17
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Add caselight support for Wanhao Duplicator 6Jeff Tang2020-11-101-0/+13
| | | | Signed-off-by: Jeff Tang <mrjefftang@gmail.com>
* neopixel: Apply LED updates at time of transmissionKevin O'Connor2020-11-051-40/+42
| | | | | | | | Queue updates so that delays between updates are properly applied. This fixes macros that would blink LEDs by pausing between update commands. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Fix neopixel_result message so that it contains an oidKevin O'Connor2020-11-052-2/+2
| | | | | | | In order for commit 82156170 to work properly, the neopixel_result message must contain the oid. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Fix failure with multiple simultaneous neopixel updatesKevin O'Connor2020-11-041-1/+2
| | | | | | | Make sure to set the oid parameter of mcu.lookup_query_command() so responses are routed correctly. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Document "register_remote_method" endpointArksine2020-11-042-0/+34
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* gcode_macro: implement "action_call_remote_method" context actionArksine2020-11-041-0/+8
| | | | | | Users may use this action to call methods registered by a webhooks client from a command template. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* webhooks: Add "register_remote_method" endpointArksine2020-11-041-0/+29
| | | | | | This allows clients to register methods that can be called from Klipper. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* itersolve: Convert iterative solver to use "secant method"Kevin O'Connor2020-11-021-100/+79
| | | | | | | | | | The previous code calculates each step time via an "exponential search" followed by a "false position with Illinois algorithm" search. Replace with a "secant method" with "bounds check" search. This simplifies the code, improves the performance, and does a better job of finding steps near a direction change. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heaters: Add sensors to printer.heaters.available_sensors even if no gcode_idKevin O'Connor2020-11-011-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Update color_order in config/sample-lcd.cfgKevin O'Connor2020-10-311-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* build-test: Move system package installation to ci-install.shKevin O'Connor2020-10-302-3/+11
| | | | | | | It's more maintainable to have the system packages listed in ci-install.sh instead of in build-test.yaml. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* build-test: Remove references to "travis" in build testsKevin O'Connor2020-10-303-13/+13
| | | | | | | Use "ci-build.sh" "ci-install.sh" and similar, as travis-ci is no longer being used. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* build-test: Build with normal Ubuntu arm-eabi compilerKevin O'Connor2020-10-303-24/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* github: Run continuous integration tests using "github actions"Kevin O'Connor2020-10-305-36/+38
| | | | | | | Use "github actions" instead of "travis ci" for the automatic build regression tests. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Document menu_root (#3465)Dushyant Ahuja2020-10-301-0/+4
| | | | | Document the previously undocumented menu_root parameter in the [display] section Signed-off-by: Dushyant Ahuja <dusht.ahuja@gmail.com>
* command: Fix handling of buffer passing in args[] on 64bit mcuKevin O'Connor2020-10-304-0/+17
| | | | | | | | If the buffer pointer can't fit in a uint32_t then pass a relative buffer offset instead. This fixes buffer handling on 64bit linux mcus. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* command: Add command_decode_ptr() helperKevin O'Connor2020-10-3010-30/+38
| | | | | | | | Add a helper function to convert from a string buffer passed in the args[] parameter to an actual pointer. This avoids all the callers needing to perfrom pointer manipulation. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* serialqueue: Fix registration of serial fd in debug modeKevin O'Connor2020-10-301-5/+6
| | | | | | | | When in debug output mode, make sure to register the fd correctly. Otherwise, the poll() call will use the 0 fd which could cause random results. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* klippy: Remove import of unused threading moduleKevin O'Connor2020-10-301-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* mcu: Add support for setting reqclock in CommandQueryWrapper.send()Kevin O'Connor2020-10-293-7/+9
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* dotstar: Don't flush the lookahead queue on a SET_LED commandKevin O'Connor2020-10-291-6/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Don't flush the lookahead queue on a SET_LED commandKevin O'Connor2020-10-291-32/+39
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Add support for RGBW LEDsKevin O'Connor2020-10-294-17/+36
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Increase the maximum LED chain lengthKevin O'Connor2020-10-292-27/+78
| | | | | | | Rework neopixel updates to use an mcu buffer so that more than 18 LEDs can be in a chain. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Support reading chip based temperature sensorKevin O'Connor2020-10-291-1/+15
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Support reading chip based temperature sensor on stm32f0Kevin O'Connor2020-10-291-2/+10
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Reduce adc_pins storage size in stm32f0_adc.cKevin O'Connor2020-10-291-19/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Support reading chip based temperature sensor on stm32f1/2/4Kevin O'Connor2020-10-291-5/+24
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsam: Support reading chip based temperature sensor on sam4eKevin O'Connor2020-10-291-1/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsam: Support reading chip based temperature sensor on sam3/sam4sKevin O'Connor2020-10-291-5/+13
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Simplify description of temperature_fan config optionsKevin O'Connor2020-10-281-32/+13
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* mcu: Don't default serial config option to /dev/ttyS0Kevin O'Connor2020-10-282-10/+14
| | | | | | | | If the mcu config section is omitted, it leads to confusing error messages. Don't default the serial config option to /dev/ttyS0 to improve the error reporting. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Note the release of v0.9.1Kevin O'Connor2020-10-281-0/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* linux: Fix spi handling with more than one spi deviceKevin O'Connor2020-10-251-0/+1
| | | | | | Reported by @opensource-alt. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bltouch: Fix bug causing incorrect position when "stow_on_each_sample=False"Kevin O'Connor2020-10-241-0/+1
| | | | | | | | | It is only valid to call raise_probe() when the toolhead is not moving. Make sure to call sync_print_time() from multi_probe_end() to ensure that. This fixes a bug that could cause the Z axis steppers to lose their position when "stow_on_each_sample=False". Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* kin_extruder: Fix numerical stability when using pressure advanceKevin O'Connor2020-10-231-7/+11
| | | | | | | | | Avoid using the absolute E position when calculating pressure advance as that position can grow arbitrarily large, which can result in "numerical stability" problems. That instability could eventually lead to internal errors during step compression. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Update release notes for v0.9.0 releaseKevin O'Connor2020-10-202-0/+36
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Note PROBE_CALIBRATE results invalidated on motion system updateKevin O'Connor2020-10-203-0/+40
| | | | | | | | Any hardware change to the hotend or probe, change to the kinematics, or change to the bed tilt is likely to invalidate the results of PROBE_CALIBRATE. Try to warn the user of that. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heaters: Don't raise an error if PID Ki is set to zeroKevin O'Connor2020-10-171-1/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Note screws_tilt_adjust nozzle/probe coordinates in Manual_Level.mdKevin O'Connor2020-10-171-2/+2
| | | | | | | The screws_tilt_adjust takes nozzle coordinates, but the goal is for the Z probe to be above the screws. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Minor formatting change to Probe_Calibrate.mdKevin O'Connor2020-10-171-15/+16
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Provide response_template in subscription examples in API_Server.mdKevin O'Connor2020-10-171-2/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Add initial API_Server.md documentKevin O'Connor2020-10-172-0/+295
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Additional formatting changes to example-extras.cfgKevin O'Connor2020-10-161-18/+20
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Formatting changes to example-extras.cfgKevin O'Connor2020-10-161-287/+314
| | | | | | Updates to improve consistency of example-extras.cfg formatting. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>