aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* config: Update printer-sovol-sv06-plus-2023.cfg (#6401)Herb McNew2023-11-161-2/+2
| | | | | In testing with a user on Discord we discovered the sensorless homing thresholds were out of line with what Sovol ships with Marlin. This aligns with their settings. Signed-off-by: Herb McNew <herb.mcnew@gmail.com>
* config: Add Sovol SV06 Plus (#6397)Herb McNew2023-11-142-0/+148
| | | | | | | | | New configuration for the Sovol SV06 Plus Initial pass at adding a printer configuration for the Sovol SV06 Plus based on the existing Sovol SV06 config. Updated for the larger build volume, added filament runout sensor, and removed any references to the LCD screen since the stock screen doesn't work with Klipper. Signed-off-by: Herb McNew <herb.mcnew@gmail.com>
* docs: Note the release of v0.12.0Kevin O'Connor2023-11-101-0/+18
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Update Features.mdKevin O'Connor2023-11-101-11/+13
| | | | | | Note additional features that have been added recently. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bed_screws: Reset on move errorPedro Lamas2023-11-021-1/+6
| | | | Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
* config: Update generic-bigtreetech-skr-pico-v1.0.cfg (#6376)Wayne Manion2023-11-021-0/+3
| | | | | Add RP2040 internal temperature sensor Signed-off-by: Wayne Manion <treowayne@gmail.com>
* docs: Update Contact.md to note other common ways to obtain Klipper log fileKevin O'Connor2023-11-011-13/+18
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Update the Contact documentKevin O'Connor2023-11-014-54/+26
| | | | | | | | | | | | | | | | | | Try to make it more clear that Discord is not Discourse, as the two similarly sounding services are often confused by users unfamiliar with them. The Klipper Discourse and Klipper Discord are available for many topics related to Klipper - reword some sections to make their use more open. Avoid referring to the Klipper github repo in this Contact document as we no longer use Klipper github issues at all. Remove the table of contents as it is largely redundant for the document. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Add new generic-bigtreetech-octopus-pro-v1.1.cfg configKevin O'Connor2023-10-302-0/+286
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Clarify stepper enable comment in Octopus boardsKevin O'Connor2023-10-302-2/+2
| | | | | | Make sure the stepper enable_pin comment shows an inverted pin. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Split generic-bigtreetech-octopus.cfg into separate filesKevin O'Connor2023-10-303-9/+306
| | | | | | | | Use two different files for the Octopus Pro and Octopus (non-Pro). The configs are the same in practice, but the difference in version and naming can lead to confusion. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Revert "toolhead: Use dict for step generation flush times. (#6303)"Kevin O'Connor2023-10-213-11/+17
| | | | | | | | | | This reverts commit 6749985302fe002a9cb5672dab9badb11e4e3c36. A defect was found in the above commit (the input shaper code calls note_step_generateion_scan_time() for many steppers, so the input_shaper class can't be used as the index). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* toolhead: Use dict for step generation flush times. (#6303)Viesturs Zariņš2023-10-193-17/+11
| | | | | Makes the API to extruder and input shaper more robust, avoiding the need to track the old delay. Signed-off-by: Viesturs Zariņš <viesturz@gmail.com>
* Config_checks: Missing ! in pin inversion example in Verify endstopsTom Dunn2023-10-191-1/+1
| | | | | | | | | In the "Verify endstops" section there is an example of adding an exclamation point to the pin definition to invert its logic. I believe the intention in the example is to keep the hardware pull-up ^ and follow it with ! to invert the pin logic, but the ! is missing. Signed-off-by: Tom Dunn <thomas.dunn@gmail.com>
* docs: Fix a typo in serial bootloader entry docsAaron B. Haun2023-10-191-1/+1
| | | | Signed-off-by: Aaron B. Haun <aaron@haun.guru>
* atsam: Add support for CAN on atsame70 (#6366)Luke V2023-10-196-5/+359
| | | Signed-off-by: Luke Vuksta <wulfstawulfsta@gmail.com>
* atsam: Remove USB endpoint header (#6365)Alex Maclean2023-10-121-10/+0
| | | | | | | | | | The atsam USB hardware only requires that the ACM endpoint be endpoint 3. As of commit 11828387 the atsam chips can therefore use the default USB endpoints. This will allow CAN bridge support for the SAME70 to function (upstream host driver has hardcoded endpoints). Signed-off-by: Alex Maclean <monkeh@monkeh.net>
* docs: add info about requesting bootloadersAaron B. Haun2023-10-123-0/+127
| | | | Signed-off-by: Aaron B. Haun <aaron@haun.guru>
* config: Fix trailing space in printer-creality-ender5-2019.cfgKevin O'Connor2023-10-091-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Update printer-creality-ender5-2019.cfg to add instructions for ↵ghostoverflow2562023-10-091-1/+5
| | | | | | | silent boards (#6326) Recently tested on my ender 5 pro that came from creality with a v1.1.5 board. Works. Tested all endstops, motors, and heaters. Signed-off-by: Jake Aronleigh <jakestar98@outlook.com>
* stm32: Make sure to limit tx during usbfs startupKevin O'Connor2023-10-051-1/+2
| | | | | | | Wait for two tx packets before startup, and make sure one of those packets is acked before sending a third tx packet. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* serialqueue: Eventually time out if unable to write CANbus messagesKevin O'Connor2023-10-041-0/+9
| | | | | | | | | | | | | Klipper logs an error on a failed CANbus write. Unfortunately, if the bus becomes permanently disabled (eg, due to a user removing power to devices on the CANbus) then it can result in the logs filling with error messages. Permanently disable the low-level processing of messages if CANbus writes continually fail for at least 10 seconds. This avoids filling the log with redundant messages. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Fix usbfs spurious USB packet transmit on startupKevin O'Connor2023-10-041-6/+16
| | | | | | | | | | | Commit cd8d57c2 added USB double buffering mode on transmits. However, when enabling double buffering mode, the hardware seems to always send at least two packets. Spurious transmissions could cause the Linux gs_usb driver to get confused, which could lead to the can0 device becoming unavailable on restarts. Fix by waiting for two USB packets to be available before enabling the endpoint. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Only enable one direction on usbfs double buffered end pointsKevin O'Connor2023-10-041-2/+2
| | | | | | | The bulk out endpoint should not be enabled in tx mode, and the bulk in endpoint should not be enabled in rx mode. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* usb_canbus: Prioritize local response sending over new host messagesKevin O'Connor2023-10-031-2/+4
| | | | | | | | Prioritize sending responses back to the host over transmitting new messages from the host. Otherwise, the gs_usb host usb acknowledgments could saturate the usb bandwidth for extended periods. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* usb_canbus: Add a local queue for USB messages received from hostKevin O'Connor2023-10-031-15/+38
| | | | | | | | Read USB messages arriving from the host into a queue. This makes it less likely that USB "bulk out" packets will be NAK'ed on the USB bus, which improves USB bus utilization. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* usb_canbus: Rename UsbCan.queue to UsbCan.canhw_queueKevin O'Connor2023-10-031-14/+14
| | | | | | | Rename the internal variable names. This is in preparation for support of a USB message queue. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* rp2040: Add support for double buffering on USB bulk tx packetsKevin O'Connor2023-10-031-4/+10
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* rp2040: Add support for double buffering on USB bulk rx packetsKevin O'Connor2023-10-031-6/+15
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* rp2040: Open code usb_read_packet() and usb_write_packet() in callersKevin O'Connor2023-10-031-36/+58
| | | | | | | Copy the code for these two functions to their respective callers. This is in preparation for double buffer support. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* rp2040: Add helper functions to usbserial.cKevin O'Connor2023-10-031-20/+56
| | | | | | | Add helper functions for manipulating the buffer memory and packet control registers. This is in preparation for double buffer support. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Add usbfs double buffer support for bulk tx messagesKevin O'Connor2023-10-031-8/+28
| | | | | | | | Implement the usbfs fast buffer switching mechanism on the "bulk in" endpoint. This can improve the overall USB throughput and bus utilization. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Add usbfs double buffer support for bulk rx messagesKevin O'Connor2023-10-031-14/+49
| | | | | | | | Implement the usbfs fast buffer switching mechanism on the "bulk out" endpoint. This can improve the overall USB throughput and bus utilization. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Update usbfs to support setting both buffers for each endpointKevin O'Connor2023-10-031-35/+37
| | | | | | | | | The usbfs device supports two buffers for each endpoint - typically one for rx and one for tx. Add support for explicit handling of both buffers. This is in preparation for improved "double buffering" support. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Improve usbfs epr register handlingKevin O'Connor2023-10-031-40/+41
| | | | | | | | Replace the set_stat_x_bits() functions with a single calc_epr_bits() function. This new function supports setting bits other than the stat field in the epr register. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Update to latest can2040 codeKevin O'Connor2023-10-033-27/+82
| | | | | | | | | | Add support for can2040_stop() Add data_state_go_error() helper Add new can2040_get_statistics() API function Call report_note_discarding() after setting MS_DISCARD state Convert report_is_rx_eof_pending() to report_is_not_in_tx() Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: fix typo in RPi_microcontroller.mdIkko Eltociear Ashimine2023-09-291-1/+1
| | | | | | additionaly -> additionally Signed-off-by: Ikko Eltociear Ashimine <eltociear@gmail.com>
* idex_modes: Fixed the case when carriages home in the same direction (#6310)Dmitry Butyugin2023-09-293-8/+62
| | | | | | | | | | | | | | | | | | | | | Previous version of the code assumed that dual carriages home away from each other, which is not true on some machines, which have the second dual carriage homing on the first carriage. The new code correctly identifies the relative order of the carriages now. This fixes discrepancies between the documentation and the actual implementation of the carriages kinematic ranges calculation. Notes about dual_carriage homing and proximity checks changes Fixed clearing of homing state after homing in certain modes In case of multi-MCU homing it is possible that the carriage position will end up outside of the allowed motion range due to latencies in data transmission between MCUs. Selecting certain modes after homing could result in home state clearing instead of blocking the motion of the active carriage. This commit fixes this undesired behavior. Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* docs: Add Peopoly to Sponsors.mdKevin O'Connor2023-09-262-2/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* mcu: Enhance RetryAsyncCommand to handle low-level retransmitsKevin O'Connor2023-09-211-2/+4
| | | | | | | | | | | | | | | | | | | | | The RetryAsyncCommand code needs to ensure that any response messages are not from a previous (unrelated) query. To do that it compares the '#sent_time' from potential responses to ensure they are not from a previous session. However, if there are any low-level serial retransmits then the low-level code sets the '#sent_time' to zero (to indicate that the query send time is not strictly known). That could result in a valid response not being accepted by RetryAsyncCommand. If a low-level connection is experiencing a small amount of periodic retransmits it could result in multiple high-level retry attempts failing to the point that there is a user-facing error. This could result in "Timeout on wait for 'tmcuart_response' response" errors. Fix by accepting responses even if there is a low-level retransmit once the code can confirm that there can be no previous query still in progress. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* spi_temperature: Limit maximum temperature in MAX31865.calc_adc() to melting ↵DavidvtWout2023-09-101-1/+2
| | | | | | | | | | | | | | | | point of platinum (#6320) Limit the maximum temperature in MAX31865.calc_adc() to the melting point of platinum. Above this temperature the Callendar-Van Dusem formula does not make sense. The default value for max_temp is 99999999.9 and at this temperature the result of this formula is negative. This sets max_sample_value to 0 which causes the mcu to shutdown. Set max adc value to (1<<15)-1 . This is needed because the max value of the adc register of the MAX31865 is 0b1111 1111 1111 1110 which represents 32767 and not 32768. Signed-off-by: David van 't Wout <github@yoctobyte.nl>
* tmc2240: Adding UART interface support to tmc2240 (#6305)FrY Sennberg2023-09-102-4/+13
| | | Signed-off-by: Christoph Frei <fryakatkop@gmail.com>
* config: Add MKS Monster 8 generic config (#6336)Bomberski2023-09-102-0/+269
| | | Signed-off-by: Allen Cox <Bomberski420@gmail.com>
* config: Add HC32F460 variant of Ender 2 Pro (#6334)JamesH19782023-09-103-1/+103
| | | | | | | PR to add the newer version of the Ender 2 Pro with the CR-FDM-v2.5.54.170 motherboard with the HC3232F460 chip. Confirmed as working with discord member NyftHeart and using configs from Steve Gotthardt, with his permission to use and submit. Signed-off-by: James Hartley <james@hartleyns.com>
* Kconfig: Support Enable/Disable lis2dw on chips with small flash sizebigtreetech2023-08-214-1/+11
| | | | Signed-off-by: Alan.Ma from BigTreeTech tech@biqu3d.com
* docs: Add how to configure LIS2DW instructionsbigtreetech2023-08-212-4/+45
| | | | Signed-off-by: Alan.Ma from BigTreeTech tech@biqu3d.com
* lis2dw12: Add support for lis2dw12 accelerometerbigtreetech2023-08-213-1/+487
| | | | | | | | lis2dw12 is an accelerometer from STMicroelectronics(https://www.st.com/resource/en/datasheet/lis2dw12.pdf) With better performance than the ADXL345 according to the datasheet. Signed-off-by: XM.Zhou from BigTreeTech zhouxm@biqu3d.com Signed-off-by: Alan.Ma from BigTreeTech tech@biqu3d.com
* github: Fix regression due to update of actions/staleKevin O'Connor2023-08-211-0/+2
| | | | | | | | | Commit 594c0243 updated the workflows from actions/stale@v3 to actions/stale@v8, but did not make the corresponding updates to the config parameters. This resulted in the closing of some PRs. Update the config parameters to avoid this regression. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* spi_flash: Update board_defs.py (#6318)locki-cz2023-08-151-0/+1
| | | | | Added alias for Octopus pro h723 v1.1 for sdcard update script. Signed-off-by: David Bucek <bucek.david@gmail.com>
* config: Add 1LC example configuration and docsWulfsta2023-08-132-0/+125
| | | | Signed-off-by: Luke Vuksta <wulfstawulfsta@gmail.com>