aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* motan: Improve reading of initial step position dataKevin O'Connor2022-09-051-0/+4
| | | | | | | Seed the initial position from the first read position, even if it is some time into the capture. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* dump_mcu: helper for mcu flash backupsEric Callahan2022-09-011-0/+203
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* scripts: Update install-debian.sh (#5704)chestwood962022-08-241-1/+1
| | | | | Add pkg-config reference because hid-flash needs it to build. Signed-off-by: Adrian Joachim <adi.joachim12@gmail.com>
* graphstats: Normalize mcu frequency to microseconds when graphing multiple mcusKevin O'Connor2022-07-291-9/+43
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* spi_flash: Add board definition for Mellow FLY Gemini V2 (#5651)s6t2022-07-201-0/+5
| | | Signed-off-by: Tobias Schröder <schroedt@live.de>
* stm32: stm32g0/h7 usb_dfu_bootloader support (#5596)BIGTREETECH2022-06-301-1/+2
| | | Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com>
* spi_flash: add mks_monster8,robin_v3 (#5568)Andreas Fröhlke2022-06-181-1/+8
| | | Signed-off-by Andreas Fröhlke <boandy1985@googlemail.com>
* flash_usb: Use hexid "2e8a:0003" for rp2040 already in bootloader modeKevin O'Connor2022-06-161-3/+5
| | | | | | | | Use a USB hex id to indicate that the device is already in bootloader mode. This makes the rp2040 flashing code similar to the other boards. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* flash_usb: update shebang to python3Eric Callahan2022-06-101-1/+1
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* flash_usb: add canboot supportEric Callahan2022-06-101-2/+48
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* flash_usb: Rework flash_rp2040 code to be similar to other boardsKevin O'Connor2022-06-011-26/+29
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: identify application in canbus_queryEric Callahan2022-05-101-1/+12
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* graphstats: Improve labels on twinx() graphsKevin O'Connor2022-05-061-2/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* graphstats: Fix system graph titleKevin O'Connor2022-05-061-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* spi_flash: reduce speed to 400KEric Callahan2022-04-251-1/+1
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* spi_flash: validate mcu configurationEric Callahan2022-04-251-5/+21
| | | | | | | Prior to attempting a flash, verify that the MCU is successfully configured. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* motan: Fix typo in error reportKevin O'Connor2022-04-231-1/+1
| | | | | | Reported by @Ludy87. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* spi_flash: support spi protocol changesEric Callahan2022-04-221-8/+22
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* motan: Add support for analyzing "angle" sensor dataKevin O'Connor2022-03-292-0/+65
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsam: Add support for SAM E70Alex Maclean2022-03-261-1/+1
| | | | Signed-off-by: Alex Maclean <monkeh@monkeh.net>
* scripts: Migrate `check_whitespace.py` to python3Miklós Tusz2022-03-141-4/+4
| | | | | | | Modified strings used in pattern matching to b-strings as are expected with python3. Signed-off-by: Miklos Tusz <miklos@aon3d.com>
* klippy-requirements: Pin markupsafe==1.1.1 to fix python3 (#5286)Frank Tackitt2022-02-211-0/+1
| | | | | Markupsafe updated and the latest version no longer includes `soft_unicode` Signed-off-by: Franklyn Tackitt <git@frank.af>
* logextract: Add support for reordering stepper queue messages by timestampKevin O'Connor2022-02-071-3/+41
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* logextract: Add support for reordering trapq moves by timestampKevin O'Connor2022-02-061-2/+39
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* logextract: Support reordering API Server messages by timestampKevin O'Connor2022-02-061-0/+21
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* logextract: Breakup shutdown parsing into classesKevin O'Connor2022-02-061-151/+216
| | | | | | | Separate out message parsing into individual classes. This should make the code a little eaiser to understand. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* flash_usb: use sudo for rp2040 flashingLasse Dalegaard2022-01-311-3/+5
| | | | | | | | | | | The rp2040 can be flashed without sudo when using udev rules to give the user permission, but in a standard configuration sudo is required. Here we make it possible for flash_usb to use sudo for the rp2040 target, and make it the default when using `make flash` for the rp2040. As for other targets, one can set `NOSUDO=1` to not call through sudo. Signed-off-by: Lasse Dalegaard <dalegaard@gmail.com>
* spi_flash: Add btt-skr-bx-se to the board types (#4951)adelyser2022-01-291-0/+5
| | | Signed-off-by: Aaron DeLyser <bluwolf@gmail.com>
* rp2040: add make flash supportLasse Dalegaard2022-01-061-1/+43
| | | | | | | | | | | | | | | | This adds `make flash` support for the rp2040 target. Flashing is performed using a custom `rp2040_flash` tool that uses the PICOBOOT protocol. Root is not required. The user specifies the serial device of the rp2040 they wish to flash as the device. This device is reset into bootsel mode and `rp2040_flash` is invoked on the original USB device path. If the device is already in bootloader mode, the user can specify 'first' as `FLASH_DEVICE` which will simply invoke `rp2040_flash` with no bus/address options. Signed-off-by: Lasse Dalegaard <dalegaard@gmail.com>
* scripts: Migrated shaper calibration scripts to Python3Dmitry Butyugin2021-12-302-2/+2
| | | | | | | Also updated instructions to install python3-numpy and python3-matplotlib Python packages. Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* spi_flash: Add btt-skr-mini-e3-v3 board definitionKevin O'Connor2021-12-231-0/+6
| | | | | Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* motan: Fix comment copy-and-paste error in readlog.pyKevin O'Connor2021-12-011-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* spi_flash: Better fallback on MCU protocol changeJustin Schuh2021-11-091-3/+15
| | | | | | Support a set of known past config responses. Signed-off-by: Justin Schuh <code@justinschuh.com>
* spi_flash: Fix MCU handshake protocolJustin Schuh2021-11-081-1/+1
| | | | | | Update config response string to match new version from d4aee4f. Signed-off-by: Justin Schuh <code@justinschuh.com>
* buildcommands: Use regular str() types for input on Python2Kevin O'Connor2021-10-311-1/+1
| | | | | | | Avoid using unicode() types on Python2 as it can lead to subtle errors. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* input_shaper: Define input shapers in a single place in Python codeDmitry Butyugin2021-10-262-11/+11
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* motan: Minor change to corexy analyzer labelKevin O'Connor2021-10-161-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* motan: Add an analyzer to integrate accelerometer inputKevin O'Connor2021-10-161-1/+60
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* motan: Add support for graphing stepper motor phase and microstep positionKevin O'Connor2021-10-161-0/+98
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* motan: Show data filename in graph titleKevin O'Connor2021-10-161-3/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* configfile: Use Python2's ConfigParser when running on Python2Kevin O'Connor2021-10-091-1/+0
| | | | | | | | | The backport of Python3's configparser causes issues when there is unicode characters in the config file. To avoid introducing new errors, go back to using the Python2 version of ConfigParser when running on Python2. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* spi_flash: Improve Python3 compatibilityKevin O'Connor2021-10-071-5/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>