aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
...
* graphstats: Add support for interactive graphsKevin O'Connor2019-06-191-22/+36
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* logextract: Update for absolutecoord -> absolute_coord changeKevin O'Connor2019-05-311-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: Use /tmp/klippy.log in install-ubuntu-18.04.shKevin O'Connor2019-05-201-2/+1
| | | | | | | Use /tmp/klippy.log in the install script - all the documentation currently uses that file location. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* klippy-requirements: Update Jinja2 versionKevin O'Connor2019-04-141-1/+1
| | | | | | | | There's a security bulletin for Jinja2 v2.10 (CVE-2019-10906). This wont impact Klipper, but best to upgrade the package requirements to avoid getting security alerts. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode_macro: Evaluate macros using Jinja2 template engineKevin O'Connor2019-04-041-0/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: Update klippy-requirements.txt to latest version of packagesKevin O'Connor2019-04-041-3/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: Add a new klippy-requirements.txt file for virtualenv installsKevin O'Connor2019-04-015-4/+11
| | | | | | | | Place all of the host software python requirements into a config file. This makes it easier to update the python requirements without having to update several installation scripts. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* logextract: Add mcu annotation on send/receive shutdown reportsKevin O'Connor2019-03-311-5/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* flash_usb: Improve USB reconnect timingKevin O'Connor2019-03-171-6/+30
| | | | | | | | Instead of waiting one second after entering bootloader mode, wait for the device file to reappear. This should make the flashing more resilient to slight timing difference in the OS. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* initial_pins: Add ability to configure output pins at mcu startupKevin O'Connor2019-03-171-3/+53
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* msgproto: Convert static strings to a more generic enumeration systemKevin O'Connor2019-03-171-9/+29
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* command: Support evaluating C expressions in DECL_CONSTANT()Kevin O'Connor2019-03-171-4/+21
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* buildcommands: Use dictionaries to describe commands, responses, and outputKevin O'Connor2019-03-171-12/+16
| | | | | | | Avoid transmitting lists of message ids for commands and responses - gzip doesn't do a good job of compressing them. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* flash_usb: Run dfu-util via sudoKevin O'Connor2019-03-111-6/+10
| | | | | | | Default to running dfu-util via sudo as most machines will not have the user setup with permissions to access the raw usb device. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* flash_usb: Try to make the bossac atsam reboot logic more stableKevin O'Connor2019-03-101-5/+15
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* flash_usb: Add a helper script for flashing Klipper over USBKevin O'Connor2019-03-082-1/+186
| | | | | | | | Add a script to help flash Klipper over USB. This tool can instruct Klipper to enter into bootloader mode and it can help track changes in device name during that transition. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* check_whitespace: Enforce an 80 column limit on source codeKevin O'Connor2019-02-271-0/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* logextract: Wrap code to 80 columnsKevin O'Connor2019-02-271-2/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* checkstack: Wrap code to 80 columnsKevin O'Connor2019-02-271-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* avrsim: Wrap code to 80 columnsKevin O'Connor2019-02-271-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* buildcommands: Wrap code to 80 columnsKevin O'Connor2019-02-271-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* kconfig: Remove Save and Load buttons from "make menuconfig"Kevin O'Connor2019-02-151-4/+2
| | | | | | | These two options don't provide any value and it is causing confustion with some users. Remove the buttons. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* graphstats: Add option to graph temperatures from logKevin O'Connor2019-01-131-3/+44
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: Add BASH uninstall Script for RasPiAxMod3DPrint2019-01-101-0/+23
| | | | | Signed-off-by: Ax Smith-Laffin (AxMod3dPrint) <ax@darknetweb.co.uk> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Ubuntu 18.04 install scriptNathan2019-01-101-0/+104
| | | | Signed-off-by: Nathan Tsoi <nathan@vertile.com>
* scripts: Add a test case for Ubuntu 18.04 compiler errorKevin O'Connor2018-12-221-0/+18
| | | | | | Attempt to detect a bad build of Klipper and report an error. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* graphstats: Change stats filter to use print_time instead of bytes_write=0Kevin O'Connor2018-11-261-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* buildcommands: Make sure to not use 96 or more message idsKevin O'Connor2018-11-181-0/+3
| | | | | | The mcu code assumes the encoder and parser id is always one byte. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* buildcommands: Remove unnecessary spaces from data dictionaryKevin O'Connor2018-11-181-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* buildcommands: Detect duplicate strings when generating static string idsKevin O'Connor2018-11-181-1/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* buildcommands: Move data dictionary generation to its own classKevin O'Connor2018-11-181-39/+47
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* buildcommands: Move version generation to its own classKevin O'Connor2018-11-181-18/+27
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* buildcommands: Move command/response code generation to its own classKevin O'Connor2018-11-181-142/+155
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* buildcommands: Move DECL_CONSTANT code to its own classKevin O'Connor2018-11-181-13/+27
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* buildcommands: Move DECL_STATIC_STR code to its own classKevin O'Connor2018-11-181-28/+41
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* buildcommands: Move DECL_CALLLIST code to its own classKevin O'Connor2018-11-181-26/+42
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* util: Fix versioning when gitdir is absent (#809)lf2018-10-271-0/+31
| | | | | | | | | | | | | The gitdir previously could be absent and produce a version of "" in spite of checks for it. Fixed. Parent directories with shlex-interpreted characters in their names could be misinterpreted. Removed shlex parsing. Packagers may want to remove the git history to slim down the package size, so add an option for using a file 'version' in the klippy directory to set version without using git. Signed-Off-By: Lucas Fink <software@lfcode.ca>
* logextract: Make sure config files end with a newlineKevin O'Connor2018-10-241-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* logextract: Fix handling of clock reports at end of lineKevin O'Connor2018-10-081-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* logextract: Add support for extracting recent g-code from a shutdownKevin O'Connor2018-09-281-3/+47
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* test: Make white space error report more pronouncedKevin O'Connor2018-08-271-4/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: No longer require bossa-cli in install-octopi.shKevin O'Connor2018-08-271-1/+1
| | | | | | | Now that there is a local copy of bossac in the lib directory, there's no reason to require a system version of it. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* dockerfile: Add a basic reference Dockerfile (#488)sillyfrog2018-08-061-0/+38
| | | | | | | | | | Dockerfile: Add a basic reference Dockerfile This is a sample of how to get Klipper running in Docker, because of the virtual serial port, the user will have to modify things to include something to send the GCode. I have included a link to my repo which has OctoPrint up and running as an example. Signed-off-by: Trent Davis <tgh@sillyfrog.com>
* test: Minor update to travis-build.sh mcu_compile start notifierKevin O'Connor2018-08-011-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* check_whitespace: Minor simplification of control char checkKevin O'Connor2018-07-271-3/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* test: Extend white space check to verify files are valid utf-8Kevin O'Connor2018-07-261-2/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* travis-build: Narrow portions of test run with "set +x"Kevin O'Connor2018-07-081-3/+3
| | | | | | | No need to include all the test preparation in the verbose output - as that can make the output more confusing. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* test: Minor comment update in travis-build.shKevin O'Connor2018-07-051-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* test: Clean up travis-ci build outputKevin O'Connor2018-07-051-10/+26
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* test: Expand whitespace checks to test files and test compile configsKevin O'Connor2018-07-011-0/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>