Commit Graph

3722 Commits

Author SHA1 Message Date
Kevin O'Connor f261a4688b controller_fan: Improve timing of fan commands
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>
2020-12-01 11:51:29 -05:00
Kevin O'Connor a7e9050439 heater_fan: Improve timing of fan commands
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>
2020-12-01 11:51:24 -05:00
Kevin O'Connor f90fbb56d2 input_shaper: Simplify input shaper type reporting
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-01 11:36:37 -05:00
Kevin O'Connor 6ead8dd9d9 lm75: Start temperature measurements from "klippy:connect" callback
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-01 11:36:37 -05:00
Kevin O'Connor 52c6ba3bb5 htu21d: Start temperature measurements from "klippy:connect" callback
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-01 11:36:37 -05:00
Kevin O'Connor 69f06054e1 bme280: Start temperature measurements from "klippy:connect" callback
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-01 11:36:37 -05:00
Kevin O'Connor f3fd814ce0 neopixel: Don't wait for responses when in debug mode.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-01 11:36:37 -05:00
Kevin O'Connor 1af28d8a79 webhooks: Improve python3 compatibility
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-01 11:07:36 -05:00
Kevin O'Connor 3d36ab6841 config: Add dummy example.cfg and example-extras.cfg files
Add dummy files with information on the new location of the config
reference.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-28 12:09:03 -05:00
Kevin O'Connor 3219406620 config: Fix debugging comment in generic-replicape.cfg
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-28 10:20:25 -05:00
Kevin O'Connor 5773654a00 config: Minor changes to printer-sunlu-s8-2020.cfg
Remove default parameters from heater_fan section.  Add to
printers.test test cases.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-26 12:26:11 -05:00
Justin Schuh d3646f80ec config: Add printer-sunlu-s8-2020.cfg printer config
Adds SUNLU S8 printer config  (successfully tested).

Signed-off-by: Justin Schuh <code@justinschuh.com>
2020-11-26 12:22:38 -05:00
Kevin O'Connor b24a547cfe config: Minor updates to printer-monoprice-select-mini-v2-2018.cfg
Minor indentation changes and remove default values for heater_fan.
Add to printers.test test cases.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-25 20:41:39 -05:00
9R b1652b6559
config: add config for Monoprice Select Mini v2 printer (#3571)
Adds config for the Monoprice Select Mini v2 cartesian printer. I have
successfully tested the configuration.

Signed-off-by: Kilian Neuner <github@9-r.net>
2020-11-25 20:36:09 -05:00
Kevin O'Connor 8ed01a1d1d scripts: No need to include python-virtualenv in package dependencies
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-23 12:24:27 -05:00
Kevin O'Connor d380fc002b scripts: Minor formatting change to ci-install.sh
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-23 12:24:27 -05:00
Stefan Dej 7266473fec
controller_fan: add get_status (#3566)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-11-23 11:55:14 -05:00
Kevin O'Connor 88c7bf830f G-Codes: Minor formatting fix
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-23 11:52:46 -05:00
Kevin O'Connor 111f084c6a docs: Add additional command reference links to Config_Reference.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-23 11:27:01 -05:00
Kevin O'Connor d1173d59c9 docs: Add more links to G-Codes.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-23 11:25:19 -05:00
Kevin O'Connor 90e1a87a56 scripts: Remove no longer used kconfig code
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-23 10:17:48 -05:00
Kevin O'Connor a4e5a19e68 scripts: Convert build from Linux Kconfig to new kconfiglib
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-23 10:17:48 -05:00
Kevin O'Connor 928fc0df72 kconfiglib: Update README with info on kconfiglib modifications
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-23 10:17:48 -05:00
Kevin O'Connor c947e5e8d2 kconfiglib: Update menuconfig.py with simpler menu layout
Remove infrequently used menu options (custom file loading/saving and
developer modes).  Simplify the help screen.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-23 10:17:48 -05:00
Kevin O'Connor 779b99c42b kconfiglib: Update kconfiglib.py to always emit symbols
Emit all symbols (even ones disabled) to the autoconf.h header file.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-23 10:17:48 -05:00
Kevin O'Connor 0d5b05c704 lib: Add kconfiglib code
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-23 10:17:48 -05:00
Kevin O'Connor 665ec5e987 spi_temperature: Fix incorrect max31856 spi initialization
Writes to the max31856 chip use "burst mode", so only one address
during the initialization sequence can be sent.  This fixes erroneous
"Cold Junction Fault" errors.

Reported by @NBouquain.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-23 09:58:42 -05:00
Kevin O'Connor c6f870a655 docs: Update RPi_microcontroller.md links to render correctly on klipper3d.org
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-22 20:33:49 -05:00
Martin Hierholzer fcb78e50e5
hd44780: allow to configure line length (#3543)
This allows to use 16x4 displays rather than only 20x4.

Signed-off-by: Martin Hierholzer <hier@beta-centauri.de>
2020-11-20 14:49:38 -05:00
Kevin O'Connor c6f0884140 docs: Add some additional links to Config_Reference.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-20 14:22:13 -05:00
Kevin O'Connor 6c0c05774b docs: Fix quad_gantry_level header in Config_Reference.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-20 14:02:59 -05:00
Kevin O'Connor e2528c13fa docs: Add more links to Config_Reference.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-20 13:34:50 -05:00
Kevin O'Connor bdd938b578 board_pins: Use an explicit parameter to specify mcu name(s)
Add an 'mcu' option to the board_pins config and use that to specify
the name of the mcu to apply the aliases to.  Support applying the
aliases to multiple mcus.

Add support for any number of options starting with an "aliases_"
prefix.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-20 12:00:36 -05:00
Kevin O'Connor 37b475815e docs: Move replicape reference from generic-replicate.cfg to Config_Reference.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-20 11:57:18 -05:00
Kevin O'Connor 15b5dbaf8f docs: Move config reference information to new Config_Reference.md
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>
2020-11-18 20:10:21 -05:00
Raabi91 9fd8f7761e
config: Update printer-tronxy-x5sa-v6-2019.cfg (#3535)
update descripton to generate the update.cbd after a make

Signed-off-by: Jens Raab <raabi@protonmail.com>
2020-11-17 09:59:02 -05:00
Arksine bdaca32707 docs: Note the change in "print_stats.duration"
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2020-11-13 20:48:15 -05:00
Arksine 5970227cbd print_stats: exclude time prior to first extrusion from "print_duration"
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2020-11-13 20:48:15 -05:00
Kevin O'Connor 90d755dc0a output_pin: Don't flush lookahead queue on a SET_PIN command
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-13 18:29:41 -05:00
Jeff Tang afbed5d4c7 config: Add caselight support for Wanhao Duplicator 6
Signed-off-by: Jeff Tang <mrjefftang@gmail.com>
2020-11-10 09:59:52 -05:00
Kevin O'Connor 9e1697786d neopixel: Apply LED updates at time of transmission
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>
2020-11-05 12:57:14 -05:00
Kevin O'Connor 123908ac7a neopixel: Fix neopixel_result message so that it contains an oid
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>
2020-11-05 11:40:34 -05:00
Kevin O'Connor 821561708d neopixel: Fix failure with multiple simultaneous neopixel updates
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>
2020-11-04 18:47:36 -05:00
Arksine fc0a18f891 docs: Document "register_remote_method" endpoint
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2020-11-04 18:32:30 -05:00
Arksine 8a5e7d8d28 gcode_macro: implement "action_call_remote_method" context action
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>
2020-11-04 18:32:30 -05:00
Arksine 108b66efe9 webhooks: Add "register_remote_method" endpoint
This allows clients to register methods that can be called from Klipper.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2020-11-04 18:32:30 -05:00
Kevin O'Connor ccc8fe2fc5 itersolve: Convert iterative solver to use "secant method"
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>
2020-11-02 12:07:23 -05:00
Kevin O'Connor e0842e0e03 heaters: Add sensors to printer.heaters.available_sensors even if no gcode_id
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-01 20:09:16 -05:00
Kevin O'Connor 41c6b4b390 config: Update color_order in config/sample-lcd.cfg
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-10-31 20:58:24 -04:00
Kevin O'Connor 1de7f3954e build-test: Move system package installation to ci-install.sh
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>
2020-10-30 15:30:48 -04:00