aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* config: Add Anycubic Kobra Plus (#6084)Derek Kaser2023-03-143-0/+204
| | | Signed-off-by: Derek Kaser <derek.kaser@gmail.com>
* config: Add printer-elegoo-neptune3-pro configuration (#5965)Koz Ross2023-03-142-0/+127
| | | | | Adds a configuration for the Elegoo Neptune 3 Pro. Signed-off-by: Koz Ross <koz.ross@retro-freedom.nz>
* config: Example config file for Creality CR5 Pro HT (#6089)Brandon Baker2023-03-112-0/+153
| | | Signed-off-by: Brandon Baker <bakerbrandond@gmail.com>
* tmc: Beautify initialization codeAlex Voinea2023-03-074-5/+19
| | | | | Purely esthetic. Make all tmc driver init code similar to one another. The various fields were grouped based on the register which they affect or the function they perform. Signed-off-by: Alex Voinea <voinea.dragos.alexandru@gmail.com>
* tmc5160: allow changing the globalscaler at runtimeAlex Voinea2023-03-073-11/+24
| | | | | | | | | Previously, the globalscaler was calculated during the config parsing and set to a fixed value. If the current was changed for any reason after the initialization, only IRUN and IHOLD would be changed. This however caused issues: - If the new current was lower, then the resolution of the possible current values would be low since there are only 32 IRUN/IHOLD steps. - If the new current was higher, it wouldn't actually work since IRUN and IHOLD are capped at 31, so it wouldn't be possible to increase the current without increasing globalscaler. With this commit, the globalscaler is recalculated whenever necessary in order to ensure the correct range of IRUN/IHOLD is used. Signed-off-by: Alex Voinea <voinea.dragos.alexandru@gmail.com>
* tmc: Fix s2vs field formattersAlex Voinea2023-03-073-3/+7
| | | | | Rename the field formatter text for tmc2208/tmc2209 and implement it also for tmc5160. Signed-off-by: Alex Voinea <voinea.dragos.alexandru@gmail.com>
* stm32h7: Restore the RCC set in the bootloader to the default value (#6092)BIGTREETECH2023-03-061-0/+6
| | | Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com>
* tmc2240: initial implementationAlex Voinea2023-03-016-2/+535
| | | | | Signed-off-by: Alex Voinea <voinea.dragos.alexandru@gmail.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Update printer-sunlu-t3-2022.cfg (#6040)dahliamoth2023-02-281-14/+13
| | | | | | | | | | | Fix filament sensor and remove unneeded config changes in extruder The filament sensor on the printer used for initial testing had been removed prior to flashing klipper to it. Only a basic test to see it if triggered or not was preformed. It was discovered by someone else doing some testing on another printer that it would frequently pause. This was a simple oversight, assuming it was a runout switch. Removed section of config related to filament runout switch and replaced with basic config for filament motion so they printer will simply pause when no more motion is detected. Also notated to add CLEAR_PAUSE to start gcode if using this sensor as it will trigger a paused state when loading or unloading filament. If printer is in a paused state at the start of the print, the attempt to pause will cause the printer to rapidly pause and unpause itself. Removed min_extruder_temp and max_extrude_only_distance from the extruder section, as they were there only for macros on a test system that is not put into this sample config Signed-off-by: Zachary Welvaert <zwelvaert@gmail.com>
* config: Update and rename generic-th3d-ezboard-lite-v2.0.cfg to ↵Apulo2023-02-232-2/+2
| | | | | | | generic-th3d-… (#6070) The actual board name is EZBoard V2 without the lite. Renaming the file and correcting the intro text to reflect the actual board name. Signed-off-by: Anthony Dellett <anthony.dellett@gmail.com>
* scripts: Update flash-linux.sh to restart new systemd service (#6049)JamesH19782023-02-231-0/+5
| | | | | This is an update to the script that looks for the new systemd service and restarts it if appropriate. Signed-off-by: James Hartley <james@hartleyns.com>
* scripts: Fixed potential undefined var error in graph_accelerometer.pyDmitry Butyugin2023-02-231-2/+4
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* scripts: Support multiple inputs in graph_accelerometer.py raw modeDmitry Butyugin2023-02-231-16/+21
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* scripts: Support resonances files in graph_accelerometer.pyDmitry Butyugin2023-02-231-4/+15
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* mcu: Move lookup_command_tag() to CommandWrapper classKevin O'Connor2023-02-223-14/+24
| | | | | | | | Use mcu.lookup_command().get_command_tag() instead of mcu.lookup_command_tag(). This improves error reporting on a protocol mismatch. It also enables support for a msgtag that is negative. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* mcu: Code movement in mcu.pyKevin O'Connor2023-02-221-73/+88
| | | | | | This is code movement and comment updates only - no code changes. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: use correct mpu9250 i2c_bus (#6064)Thijs Triemstra2023-02-201-1/+1
| | | Signed-off-by: Thijs Triemstra <info@collab.nl>
* ar100: Support for ar100 (#6054)Elias Bakken2023-02-2025-0/+3715
| | | | | Add files to support AR100 Signed-off-by: Elias Bakken <elias@iagent.no>
* stm32: Add sdio supportH. Gregor Molter2023-02-2012-11/+1050
| | | | | | | | Adds sdio support for the stm32f4 to allow for SD card flash updates without power cycling some boards, e.g. BTT Octopus Pro. Signed-off-by: H. Gregor Molter <gregor.molter@secretlab.de> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Fix typos (#6032)Thijs Triemstra2023-02-2010-37/+37
| | | Signed-off-by: Thijs Triemstra <info@collab.nl>
* config: Add printer sovol sv06 config file (#6056)spinixguy2023-02-142-0/+160
| | | Signed-off-by: Joseph Spainhour <spinixguy@gmail.com>
* scripts: update_chitu.py python env version (#6055)JamesH19782023-02-131-1/+1
| | | | | Change script to use Python 3 instead of Python 2, in line with changes to update_mks_robin.py Signed-off-by: James Hartley <james@hartleyns.com>
* stepper_enable: report statusPedro Lamas2023-02-132-0/+10
| | | | Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
* hc32f460: Add support for hc32f460 micro-controllersSteven Gotthardt2023-02-1311-0/+928
| | | | Signed-off-by: Steven Gotthardt <gotthardt@gmail.com>
* lib: Add hc32f460 definitionsSteven Gotthardt2023-02-1387-0/+80723
| | | | Signed-off-by: Steven Gotthardt <gotthardt@gmail.com>
* configfile: Make getlists return an empty list on empty string. (#6042)Jordan Woyak2023-02-091-2/+6
| | | Signed-off-by: Jordan Woyak <jordan.woyak@gmail.com>
* workflows: Convert to Ubuntu 20.04 for build testKevin O'Connor2023-02-092-4/+4
| | | | | | This also updates to the latest version of pru-gcc. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* klippy-requirements: Update to greenlet v2.0.2Kevin O'Connor2023-02-091-1/+1
| | | | | | Improves compatibility with Python v3.11. Reported by @flaviut. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* extruder: store currently sync'ed motion queue namePedro Lamas2023-02-092-1/+8
| | | | Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
* scripts: update_mks_robin.py python env version (#6043)JamesH19782023-02-091-1/+1
| | | | | | | The recent PR to change this to say `#!/usr/bin/env python` instead of `#!/usr/bin/env python2` can cause issues on non rpi based OS's where `python` is not mapped to `python3`. `#!/usr/bin/env python3` should work in both situations. Signed-off-by: James Hartley <james@hartleyns.com>
* docs: Fix 'screw_thread' explanation in 'screws_tilt_adjust' section. (#6039)Bassam Husain2023-02-091-5/+5
| | | Signed-off-by: Bassam Husain <bassam.husain@gmail.com>
* docs: Fixed wording in 'Bed_Mesh.md', fade_target section. (#6025)Bassam Husain2023-02-031-2/+2
| | | Signed-off-by: Bassam Husain <bassam.husain@gmail.com>
* extruder: Add extruder name to extruder_stepper respond message (#6020)CODeRUS2023-02-031-2/+4
| | | Signed-off-by: Andrei Kozhevnikov <coderusinbox@gmail.com>
* screws_tilt_adjust: status result as dictionaryPedro Lamas2023-02-033-12/+15
| | | | Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
* config: Avoid spaces between mcu name and pin nameKevin O'Connor2023-02-035-26/+26
| | | | | | Prefer "option: mcu:pin" instead of "option: mcu: pin". Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Add BigTreeTech EBB V1.2 / EBB SB V1.0 / E3EZ / M5P / M8P V1.1 / ↵bigtreetech2023-02-0313-25/+1215
| | | | | | | Octopus Max EZ Signed-off-by: Alan.Ma from BigTreeTech tech@biqu3d.com Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: add PB12/PB13 FDCAN2 support STM32G0B1bigtreetech2023-02-032-3/+8
| | | | | Signed-off-by: Alan.Ma from BigTreeTech tech@biqu3d.com Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Add config for Kingroon KP3S (#6021)JamesH19782023-02-032-0/+109
| | | | | A config that describes a Kingroon KP3S with the STM32F103 Robin Mini/Nano clone Signed-off-by: James Hartley <james@hartleyns.com>
* config: Update printer-creality-ender2pro-2021.cfg (#6023)Artem2023-02-021-1/+1
| | | | | Update pins for serial Signed-off-by: Artem Kochegizov <metra52@ya.ru>
* docs: note change to bed_mesh profile behaviorEric Callahan2023-02-012-0/+25
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* bed_mesh: do not load a profile on startupEric Callahan2023-02-011-5/+0
| | | | | | | Some users may not desire this behavior and others may wish to initialize to a profile not named default. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* config: Example config file for Lulzbot Mini 2 (#5976)Spookee2023-01-302-0/+158
| | | | | | Config file contains pin mappings to suit Lulzbot Mini 2 using Lulzbot SingleExtruder(0.5mm) and Lulzbot flexible magnetic bed. Mini 2 uses Einsy Retro mainboard. Signed-off-by: Trent Sheather <trent.sheather@gmail.com>
* config: Added printer config for SUNLU T3 (#6004)dahliamoth2023-01-302-0/+200
| | | Signed-off-by: Zachary Welvaert <zwelvaert@gmail.com>
* config: Duet3-6HC & -6XD Configs (#6006)Evan Cowden2023-01-253-0/+265
| | | Signed-off-by: Evan Cowden <evan38109@gmail.com>
* replicape: Only call note_pwm_enable() in main threadKevin O'Connor2023-01-171-11/+17
| | | | | | | | The pca9685_pwm set_pwm() code can be called from a background thread (when the pin controls a heater). Propagate updates to the main thread for enable tracking. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Fix CAN2 handling in can.cKevin O'Connor2023-01-171-13/+26
| | | | | | | Using the CAN2 interface still requires that CAN1 be enabled, and the filtering hardware is always on the CAN1 hardware block. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: Update update_mks_robin.py for Python3 (#5985)3D Print PT2023-01-171-1/+1
| | | Signed-off-by: Márcio Pereira <3dprintpt@gmail.com>
* stm32: Increase sample time in stm32h7_adc.cKevin O'Connor2023-01-171-7/+10
| | | | | | | | The existing sample times are not long enough to reliably sample the internal temperature sensor. Longer sample times should also improve results with temperature sensors that have a higher inductance. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Don't set boost nor linear calibration on stm32h723 adc3Kevin O'Connor2023-01-171-14/+14
| | | | | | Only adc1 and adc2 have these CR register bits on stm32h723. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Reduce read-modify-write of CR in stm32h7_adc.c initKevin O'Connor2023-01-171-21/+12
| | | | | | | | | | Prefer explicitly setting the CR hardware register to defined values during initialization. Also, prefer "#if CONFIG_MACH_STM32H7" over bit definitions to make it clear that the code applies only on stm32h7. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>