aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* klippy-requirements: Update Jinja2 to 2.11.3Kevin O'Connor2021-03-251-1/+1
| | | | | | | There was a security fix in Jinja2 v2.11.3 - it does not impact Klipper, but there is no harm in updating. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* graph_accelerometer: Support axis-level comparison of adxl345 dataDmitry Butyugin2021-03-201-3/+4
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* calibrate_shaper: Use fixed 5 Hz steps for minor ticks in the chartsDmitry Butyugin2021-03-201-3/+1
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* shaper_calibrate: Estimate max_accel to avoid excessive smoothingDmitry Butyugin2021-03-201-2/+3
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* canbus_query: Add tool to query CANBUS uuidKevin O'Connor2021-03-131-0/+53
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* serialhdl: Add support for communicating over a CAN busKevin O'Connor2021-03-131-0/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* serialhdl: Update callers to decide serial fd typeKevin O'Connor2021-03-021-2/+4
| | | | | | | | Don't try to detect a "real serial port" in serialhdl.py. Instead, have the callers invoke either connect_uart(), connect_file(), or connect_pipe(). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* logextract: Improve handling of TMC UART read/write register commandsKevin O'Connor2021-02-281-1/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* logextract: Add helper to decode tmcuart messagesKevin O'Connor2021-02-281-0/+104
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: Fix typo in install-centos.shKevin O'Connor2021-02-201-1/+1
| | | | | | Reported by @fishbone222. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* buildcommands: Extend number of available mcu messages from 96 to 128Kevin O'Connor2021-02-181-12/+15
| | | | | | | | | | | Some internal code treats the message ids as encoded "variable length quantities", while other internal code assumes the message id is always one byte long. Continue using this scheme, but convert the VLQ users to use the name "msgtag" while the 1-byte users use "msgid". Increase the number of available msgids from 96 to 127 - the higher values get encoded as negative "msgtags". Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* msgproto: Avoid peeking into the msgproto class membersKevin O'Connor2021-02-181-18/+17
| | | | | | | Update callers to only use exported methods of the msgproto objects. This makes it easier to make internal changes to the code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* chelper: Fix check for failed code buildKevin O'Connor2021-02-071-1/+1
| | | | | | | Commit 73b78af6 inadvertently removed the check for a successful gcc compilation. Add the check back in. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: add flash-sdcard.sh helper scriptArksine2021-02-051-0/+69
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* spi_flash: support for firmware upgrades via SD CardArksine2021-02-055-0/+1574
| | | | | | This module connects directly to MCU's previously flashed with Klipper, uploads Klipper firmware to an attached SD Card, and performs a device reset to intiate the bootloader's update process. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* scripts: Remove python-virtualenv from install scripts on debian type distrosKevin O'Connor2021-01-243-3/+3
| | | | | | | The python-virtualenv package is no longer present on modern distros and the dependency is not needed. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* shaper_calibrate: Choose input shapers accounting smoothingDmitry Butyugin2020-12-221-15/+21
| | | | | | | | | Improved algorithm to choose the 'optimal' shaper frequency taking shaper smoothing into account. This may choose a frequency with slightly more vibrations but less smoothing. Also allow users to limit the maximum input shaper smoothing. Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* scripts: Small improvements for input shaper and accelerometer scriptsDmitry Butyugin2020-12-192-27/+46
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* ci-build: Report binary size during build testsKevin O'Connor2020-12-101-0/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* graphstats: Allow graphing of temperature_sensor logsKevin O'Connor2020-12-071-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: No need to include python-virtualenv in package dependenciesKevin O'Connor2020-11-231-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: Minor formatting change to ci-install.shKevin O'Connor2020-11-231-4/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: Remove no longer used kconfig codeKevin O'Connor2020-11-2343-26884/+0
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* build-test: Move system package installation to ci-install.shKevin O'Connor2020-10-301-0/+11
| | | | | | | It's more maintainable to have the system packages listed in ci-install.sh instead of in build-test.yaml. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* build-test: Remove references to "travis" in build testsKevin O'Connor2020-10-302-8/+8
| | | | | | | Use "ci-build.sh" "ci-install.sh" and similar, as travis-ci is no longer being used. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* build-test: Build with normal Ubuntu arm-eabi compilerKevin O'Connor2020-10-302-23/+0
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* github: Run continuous integration tests using "github actions"Kevin O'Connor2020-10-302-7/+5
| | | | | | | Use "github actions" instead of "travis ci" for the automatic build regression tests. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* resonance_tester: Resonance testing and input shaper auto-calibration (#3381)Dmitry Butyugin2020-10-142-30/+360
| | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* graphstats: Add support for graphing system loadKevin O'Connor2020-09-161-0/+46
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* avrsim: Minor changes so avrsim can run on both Python2 and Python3Kevin O'Connor2020-09-161-5/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* avrsim: migrated to Python 3Dmitry Butyugin2020-09-131-9/+9
| | | | | | Note that the latest simulavr 1.1.0 does not support Python 2 anymore. Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* graph_temp_sensor: Add support for graphing sensor resistanceKevin O'Connor2020-09-091-1/+27
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* graph_accelerometer: Add tool to graph accelerometer resultsKevin O'Connor2020-09-051-0/+78
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* travis-install: Minor change to virtualenv command-line argumentsKevin O'Connor2020-09-031-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* install-octopi: Use "virtualenv -p python2" to ensure python2 is selectedKevin O'Connor2020-09-035-5/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* update_chitu: Rename script and minor changesKevin O'Connor2020-08-301-19/+23
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Added TronXY X5SA support (#3265)Cabia Rangris2020-08-301-0/+130
| | | | | | | Added printer-tronxy-x5sa-v6 config. Added "chitu" bootloader option to stm32 Kconfig. Added chitu_crypt. Signed-off-by: Vladimir Serov <me@cab404.ru>
* graph_temp_sensor: Add tool to graph ADC resolution of temperature sensorsKevin O'Connor2020-08-171-0/+142
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* whconsole: Add utility for testing the "webhooks" interfaceKevin O'Connor2020-08-161-0/+89
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* update_mks_robin: Remove unnecessary importsKevin O'Connor2020-07-241-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: scripts to simulate input_shaper response and toolhead movement (#3063)Dmitry Butyugin2020-07-192-0/+710
| | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* scripts: add executable permissions to klipper-mcu-start.shArksine2020-07-051-0/+0
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* docs: LinuxMCU doc & script (#2956)Lucio Tarantino2020-06-122-1/+85
| | | Signed-off-by: Lucio Tarantino <lucio.tarantino@gmail.com>
* scripts: Permission fix for debian-install (#2936)BlackStump2020-05-311-0/+0
| | | Signed-off-by: Trevor Wilson <altocoey@hotmail.com>
* stm32f4: Add support for HID bootloaderArksine2020-05-281-2/+7
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* scripts: add libusb-1.0 to install scriptsArksine2020-05-283-3/+3
| | | | | | The hid-flash tool depends on libusb-1.0-0-dev Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* stm32f1: Add support for HID BootloaderArksine2020-05-281-1/+26
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* scripts: add arch linux install scriptkiwigod2020-05-281-0/+102
| | | | | | Automate installation for Arch Linux based systems Signed-off-by: Arjun Sardjoe Missier <amissier@pm.me>
* avrsim: update avrsim pty attr (#2343)Georgios Karnas2020-05-051-3/+13
| | | Signed-off-by: Georgios Karnas <kargeor@gmail.com>
* scripts: Update Docker file for current Klipper version (#2666)sillyfrog2020-04-021-3/+9
| | | | Signed-off-by: Trent Davis <tgh@sillyfrog.com>