aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Separate version into __version__.pyTomasz Kramkowski13 days1-3/+2
| | | | | This is so it can be imported by buildcommands.py without needing all of the klippy requirements.
* Isort all scriptsv0.1.0-rc1Tomasz Kramkowski2025-08-1527-60/+166
|
* Remove logfile supportTomasz Kramkowski2025-08-151-15/+1
|
* Rename everything significant to Kutter except for docsTomasz Kramkowski2025-08-1519-114/+114
|
* Drop linux "flash" scriptTomasz Kramkowski2025-08-151-38/+0
|
* Remove git based version handlingTomasz Kramkowski2025-08-153-49/+4
|
* remove some cruftTomasz Kramkowski2025-08-1510-816/+0
|
* Run black on all first party python codeTomasz Kramkowski2025-08-0630-2104/+3274
|
* spi_flash: Add ZNP Robin Nano v2.2 to board defs (#6986)Burrito2025-07-281-0/+7
| | | | | | Adds support for the ZNP Robin Nano DW v2.2 board, used in the Neptune 3 Pro/Plus/Max. Signed-off-by: Zyjay Cruz <burrito@burrito.software>
* spi_flash: FATFS fix missing long filenames support needed by ↵Sasquatch2025-07-274-3/+16
| | | | | | | | | flash-sdcard.sh (#6981) enable long file support, needed for boards using swspi and long filenames for firmware like mks robin 1.1/1.2 added MKS robin nano 1.2 board with description what and why Signed-off-by: Leszek Zajac <zajc3w@gmail.com>
* klippy: fix typos in python code (#6989)Thijs Triemstra2025-07-256-15/+15
| | | Signed-off-by: Thijs Triemstra <info@collab.nl>
* readlog.py: add support for stallguard dataTimofey Titovets2025-07-121-0/+58
| | | | Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
* data_logger.py: add tmc/stallguard_dump endpointTimofey Titovets2025-07-121-0/+4
| | | | Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
* ar100: Convert to or1k-elf toolchainKevin O'Connor2025-06-082-11/+9
| | | | | | | | | The more.musl.cc site is blocking downloads from all github actions, which makes it difficult to use that site for the ar100 cross build toolchain. Convert to the openrisc or1k-elf toolchain as a replacement. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* klippy-requirements: Update setuptools revision to 78.1.1Kevin O'Connor2025-06-021-1/+1
| | | | | | | A security vulnerability was found in setuptools - increase package dependency to fixed version. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* filter_workbench: Add Filter WorkbenchGareth Farrington2025-05-291-0/+517
| | | | | | Add a filter workbench Jupiter notebook to help printer developers tune filters based on probing data Signed-off-by: Gareth Farrington <gareth@waves.ky>
* klippy_requirements: Update dependencies to support Python v3.13Kevin O'Connor2025-05-121-3/+4
| | | | | Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* klippy-requirements: Add comments to each of the requirementsKevin O'Connor2025-05-021-2/+9
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* build: add msgspec python requirementEric Callahan2025-05-021-0/+1
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* spi_flash: fix hw busTimofey Titovets2025-04-281-1/+3
| | | | | | | | | _try_send_command() expects a list of args, But receives a string. Fixes abc76ee963d4154dce0bd56f2fdb946d5065cc86. Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
* spi_flash: fix spi bus switch (#6906)Timofey Titovets2025-04-201-1/+0
| | | | | Fixes abc76ee963d4154dce0bd56f2fdb946d5065cc86. Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
* check-software-div: Add a new build check for software divideKevin O'Connor2025-04-172-0/+23
| | | | | | | Update the build checks to include a check for unexpected software divide operations. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* software_spi: set rate limiting ticks from the hostTimofey Titovets2025-04-171-16/+29
| | | | Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
* ci-install: Use prebuilt pru gcc binariesKevin O'Connor2025-04-082-20/+12
| | | | | | | Don't build the pru binaries directly in the build test cases, instead use the upstream binaries provided. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* spi_flash: Update board_defs.py - BTT Octopus Max EZ (#6817)JamesH19782025-02-151-0/+7
| | | | | Addition to the board_defs file for the BTT Octopus Max EZ, written and confirmed by discord user Nikki @winningfaith81 Signed-off-by: James Hartley <james@hartleyns.com>
* klippy-requirements: Require setuptools on python 3.12Kevin O'Connor2025-02-021-0/+1
| | | | | | | | | The python-can v3.3.4 package requires setuptools to be an explicit dependency when run on python v3.12, but there is no single version of setuptools that runs on all supported versions of python. So, tie setuptools to python versions 3.12 or later. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* ci-install: Run 'apt-get update' prior to 'apt-get install'Kevin O'Connor2024-11-221-0/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* flash_usb: Initial support for flashing rp2350 chipsKevin O'Connor2024-11-141-4/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: Update whconsole tool to support python3Kevin O'Connor2024-10-211-5/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* flash_usb: Wait for busnum file to exist when flashing with picobootJack Wakefield2024-09-221-1/+1
| | | | | | | | This solves an issue where the USB directory could exist, but the busnum file itself may not exist immediately. This was encountered when flashing a Pico connected to a Raspberry Pi 5. Signed-off-by: Jack Wakefield <jackwakefield@protonmail.com>
* flashsd: Add support for chitu-v6 (#6671)Bevan Weiss2024-09-052-13/+24
| | | | | | | | | Add flashsd configuration for Tronxy x5sa and other printers based on Chitu v6 board. These boards should support sdio (this is what the schematic details), however I couldn't get this working from a quick try. Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
* spi_flash: Add stm32g0b0xx to board_defs.py (#6646)bryan0652024-07-181-0/+6
| | | | | Added board definition for stm32g0b0xx variant of the SKR Mini v3.0. Signed-off-by: Bryan Le <le.bryan.065@gmail.com>
* graph_mesh: script for mesh visualization and analysisEric Callahan2024-06-191-0/+533
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* ci-install: update gnu-pru to version 2024.05Eric Callahan2024-06-111-1/+1
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* command: Support 2-byte message idsKevin O'Connor2024-06-101-41/+57
| | | | | | | | Allow command ids, response ids, and output ids to be either 1 or 2 bytes long. This increases the total number of message types from 128 to 16384. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* motan: Fix logic error resulting in incorrect stepper phase graphingKevin O'Connor2024-06-051-1/+1
| | | | | | The mcu_phase_offset should be added not subtracted. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* pru: BeagleBone Firmware upgrade to Debian 11.7 Bullseye (#6577)Oleg Gavavka2024-04-271-2/+9
| | | | | | | | | | | | | | | * Porting BeagleBone to Kernel 5.10 * Fixing issue with installation for BeagleBone. This fix resolve 2 issue: 1. Conflict with AVR packages. 2. "klipper_pru" script is executed before PRU cores are ready * Adding additional steps to BeagleBone install guide. * Updating BeagleBone documentation, adding different use cases, adding buses configurations SPI, I2C, CAN, UART Signed-off-by: Oleg Gavavka <work@datalink.net.ua>
* motan: Add support for graphing ldc1612 coil frequenciesKevin O'Connor2024-04-092-2/+69
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: Mark install-ubuntu-22.04 as executable (#6505)Mathias Pihl2024-04-021-0/+0
| | | Signed-off-by: Mathias Pihl <mathias@pihlerne.dk>
* motan: Support recording lis2dw and mpu9250 sensors from data_logger.pyKevin O'Connor2024-03-201-8/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: use greenlet version depending on python versionMarkus Küffner2024-03-191-1/+2
| | | | Signed-off-by: Markus Küffner <kueffner.markus@gmail.com>
* buildcommands: Add Klipper app name and license to mcu data dictionaryKevin O'Connor2024-03-131-1/+3
| | | | | | | Add the Klipper name and license to the mcu data dictionary so that it can be found in the flash. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: Added shaper tuning parameters to calibrate_shaper scriptDmitry Butyugin2024-02-161-8/+85
| | | | | | | | | | | | | | | The added parameters include square_corner_velocity, shaper frequencies to optimize, input shapers to test, input shaper damping ratio and damping ratios to test. All these options can be useful for fine-tuning the input shapers when the default suggestions generated by the tuning script are not optimal. Also the `SHAPER_CALIBRATE` command was modified to pass some of these parameters to the shaper tuning routine. Specifically, square corner velocity and the maximum tested frequency are used to adjust shaper tuning and maximum acceleration recommendations. Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* 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>
* scripts: Added stm32f070 to mcus supported by flash_usb.pyChris Lombardi2023-08-131-2/+2
| | | | | | Verified with an Monoprice Mini Select v2 using katapult. Signed-off-by: Chris Lombardi <clearchristx@gmail.com>
* scripts: Support both H743 and H723 BTT SKR3 boards sdflashDonna Whisnant2023-08-111-1/+8
| | | | Signed-off-by: Donna Whisnant <dewhisna@dewtronics.com>
* scripts: modernize logextract.py (with opens, generators)Maël Kerbiriou2023-07-161-35/+37
| | | | Signed-off-by: Maël Kerbiriou <m431kerbiriou@gmail.com>
* scripts: logextract.py Python 3 compatibilityMaël Kerbiriou2023-07-161-10/+16
| | | | | | | | | - Open log files in text mode, - Normalize the encoding of tmcuart messages, - Fix a bug where StatsStream.get_lines() would return None timestamps for lines before the first Stats line. Timestamps are now back-propagated. Signed-off-by: Maël Kerbiriou <m431kerbiriou@gmail.com>
* motan: Added smoothing motan data analyzerDmitry Butyugin2023-07-161-0/+38
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* motan: Added pointwise 2-norm motan data analyzerDmitry Butyugin2023-07-161-0/+53
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>