aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* spi_flash: New Board Definition for BTT SKRat V1.0 (#6249)Dennis Kühn2023-06-291-1/+7
| | | | | | Adds the new BTT SKRat V1.0 controller board to the board_defs for the flash-sdcard.sh tool. The new board definition was tested by me without any errors. Signed-off-by: Dennis Kuehn <denniskuehn@online.de>
* parsecandump: New utility to parse Klipper messages in a candump captureKevin O'Connor2023-05-301-0/+125
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32f7: add support for stm32f7 and remram boardFrederic Morin2023-05-071-0/+1
| | | | Signed-off-by: Frederic Morin <frederic.morin.8@gmail.com>
* util: report git version info as a dictEric Callahan2023-05-041-1/+1
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* klippy: Report repo version as "dirty" if there are untracked python filesKevin O'Connor2023-05-021-1/+1
| | | | | | | | Check for untracked files in the klippy/extras/ and klippy/kinematics/ directories and report those files in the log. This helps identify code modifications when inspecting a log. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: Fix flash linux when OUT argument provided (#6133)visilya2023-04-071-1/+8
| | | Signed-off-by: Ilya Vislotsky <write2ilya@gmail.com>
* scripts: add install script for Ubuntu 22.04 Jammy (#6112)Jess2023-03-271-0/+102
| | | | | python-dev package is not available on Jammy; specifies python3-dev. Signed-off-by: Jess Sullivan <jess@sulliwood.org>
* 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>
* ar100: Support for ar100 (#6054)Elias Bakken2023-02-203-0/+117
| | | | | Add files to support AR100 Signed-off-by: Elias Bakken <elias@iagent.no>
* stm32: Add sdio supportH. Gregor Molter2023-02-201-6/+416
| | | | | | | | 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>
* 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>
* workflows: Convert to Ubuntu 20.04 for build testKevin O'Connor2023-02-091-3/+3
| | | | | | 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>
* 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>
* 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>
* scripts: add systemd klipper-mcu.service exampleStefan Dej2023-01-171-0/+21
| | | | Signed-off-by: Stefan Dej <meteyou@gmail.com>
* scripts: remove initd klipper-mcu-start.shStefan Dej2023-01-171-78/+0
| | | | Signed-off-by: Stefan Dej <meteyou@gmail.com>
* spi_flash: Add SKR2 F429 chip variant to spi_flash (#5956)JamesH19782023-01-041-1/+2
| | | | | Later addition of a F429 variant SKR2 was released. Changed btt-skr2 to btt-skr-2-f407 and added a new alias for btt-skr-2-f429 Signed-off-by: James Hartley <james@hartleyns.com>
* board_defs: Add Fysetc Cheetah V2 to spi_flash (#5952)JamesH19782022-12-311-0/+7
| | | | | As discussed with user HiitsameAsh on discord, he has confirmed this addition will flash a Fysetc Cheetah V2 Signed-off-by: James Hartley <james@hartleyns.com>
* scripts: support CanBoot on RP2040 in flash_usb.pyChris Lee2022-12-191-1/+5
| | | | Signed-off-by: Chris Lee <clee@mg8.org>
* stm32g4: implement build,usb,can,i2c,spi,serial,adc.Matt Baker2022-12-021-1/+1
| | | | Signed-off-by: Matt Baker <baker.matt.j@gmail.com>
* spi_flash: Update to fix SKR-3 config (#5827)JamesH19782022-10-131-2/+3
| | | | | it seems I made an error with my code for the SKR 3, and I copied the code from the wrong host , this PR fixes that. I have just retested with the right code and works as expected, this is confirmed by @adelyser who brought the issue to my attention. Signed-off-by: James Hartley <james@hartleyns.com>
* atsamd: Add Kconfig definitions for same51j19 and same54p20 chipsKevin O'Connor2022-10-131-4/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* spi_flash: Add SKR2, SKR3 and Creality 4.2.2/7 to spi_flash (#5807)JamesH19782022-10-051-2/+15
| | | | | | | | | As discussed with Arksine, he has created new working settings for the Creality 4.2.x boards as the original 4.2.7 entry did not work, plus addition of SKR2 and SKR3. Tested on 4.2.2 and SKR2 and SKR3EZ. These are using the new skip_verify functionality that was recently merged due to them using SDIO Also removed a double definition for `monster8` it was in main definitions and aliased. Signed-off-by: James Hartley <james@hartleyns.com>
* logextract: Improve detection of clock and tmc uart parametersKevin O'Connor2022-09-201-4/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32l4: add stm32l412 support with adc,i2c,spi,usbMatt Baker2022-09-151-1/+2
| | | | Signed-off-by: Matt Baker <baker.matt.j@gmail.com>
* scripts: Support BigTreeTech Octopus boards in flash-sdcard.Donna Whisnant2022-09-111-0/+29
| | | | Signed-off-by: Donna Whisnant <dewhisna@dewtronics.com>
* scripts: Support SDIO in flash-sdcard using split verification stepDonna Whisnant2022-09-112-10/+48
| | | | Signed-off-by: Donna Whisnant <dewhisna@dewtronics.com>