aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* graph_extruder: Add in older pa algorithms for referenceKevin O'Connor2020-02-031-0/+19
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: Revert virtualenv workaroundsKevin O'Connor2020-01-251-3/+1
| | | | | | | | | | | | | Revert "scripts: Disable "virtualenv setuptools" in install-octopi.sh script" This reverts commit 5fc92ff6b7f2c824346fdfd559f2d44978f380ab. Revert "scripts: Install "virtualenv setuptools==44.0.0" in install-octopi.sh" This reverts commit 730c7cfc207aec2199220601018c6fc2b9da0235. The online setuptools repository was fixed upstream, so it is no longer necessary to implement a local virtualenv workaround. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: Install "virtualenv setuptools==44.0.0" in install-octopi.shKevin O'Connor2020-01-121-0/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: Disable "virtualenv setuptools" in install-octopi.sh scriptKevin O'Connor2020-01-121-1/+2
| | | | | | | The default setuptools installed by virtaulenv has dropped support for python2. Explicitly remove it from the installation. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* kin_extruder: Convert pressure advance to use "weighted average"Kevin O'Connor2019-12-201-4/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: Replicape pru update start scripts (#2277)BlackStump2019-12-183-11/+118
| | | Signed-off-by: Trevor Wilson <altocoey@hotmail.com>
* docs: Update Kinematics.md document with "smooth pressure advance"Kevin O'Connor2019-12-131-0/+145
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* graphstats: Fix matplotlib import errorKevin O'Connor2019-11-101-0/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* flash_usb: Pass -t $CONFIG_MCU to flash_usb on all targetsKevin O'Connor2019-10-261-6/+13
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* flash_usb: Use "-s" option to specify flash offset on atsamdKevin O'Connor2019-10-261-3/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* flash_usb: Change dfu-util to reset the board after a flash on stm32f4Kevin O'Connor2019-10-261-4/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* flash_usb: Inform user to manually reset after stm32f4 flashKevin O'Connor2019-10-261-0/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Add support for flashing over usb on stm32f042Kevin O'Connor2019-10-261-1/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32f4: Add support for flashing over USBKevin O'Connor2019-10-261-3/+14
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: Use current username in install-ubuntu-18.04.shnhchiu2019-10-231-2/+1
| | | | | | Set KLIPPER_USER to $USER instead of "octoprint". Signed-off-by: Nathan Chiu <nhchiu2009@gmail.com>
* buildcommands: Match DECL_X names to the actual C macro namesKevin O'Connor2019-08-221-5/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* ctr: Encode negative integers in normal hex notationKevin O'Connor2019-08-221-14/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* command: Allow count parameter of DECL_ENUMERATION_RANGE() to be an expressionKevin O'Connor2019-08-221-6/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* ctr: Encode integers in hexKevin O'Connor2019-08-221-2/+2
| | | | | | | Replace the custom encoding with a hex encoding. This makes it a little easier to inspect the CTR conversions. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Makefile: Translate null characters to newline characters in ctr requestsKevin O'Connor2019-08-221-1/+1
| | | | | | | | Store the CTR requests in compile_time_request.txt with the null characters removed. This makes it slightly easier to inspect the CTR conversions. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* armcm_boot: Add generic code for early board init on armcm machinesKevin O'Connor2019-08-221-0/+44
| | | | | | | | Add basic ARM Cortex-M C init code and build linker scripts to src/generic/ code. This can be used to simplify the various ARM board code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32f4: Add support for USB on stm32f103Kevin O'Connor2019-08-051-1/+13
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* check_whitespace: Warn on trailing tabs in MakefilesKevin O'Connor2019-07-211-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: Minor improvement to feedback from travis-install.shKevin O'Connor2019-07-101-2/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* check_whitespace: Add script to run whitespace checksKevin O'Connor2019-06-232-7/+16
| | | | | | | Allow users to run the "travis ci" whitespace check directly from the command-line. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: Update klippy-requirements.txt (#1744)Alan Lord2019-06-211-1/+1
| | | Signed-off-by: Alan Lord <alanslists@gmail.com>
* 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>