aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
...
* toolhead: Rework lookahead flush to be more stable during high cpuKevin O'Connor2017-02-121-2/+2
| | | | | | | | | | | | | | | | | Change the lookahead queue so that it attempts to buffer at least buffer_time_high amount of moves when first starting a print. This helps ensure the buffer is normally always full. If the buffer falls below buffer_time_low then it is either due to the end of a print or because octoprint/klippy is unable to keep up. Change the code so that in this case the lookahead queue will attempt to gather buffer_time_high amount of moves before restarting movement. Update the default buffer_time_low to 1 second and buffer_time_high to 2 seconds. With the above changes a smaller buffer_time_high and a larger buffer_time_low are more practical. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* graphstats: Display host buffer stats in graphKevin O'Connor2017-02-021-2/+24
| | | | | | | Prune host buffer stats near the start and end of the print. Graph the remaining buffer stats. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* build: Define DECL_CONSTANT mechanism for defining exported constantsKevin O'Connor2016-12-231-28/+15
| | | | | | | | | Add a DECL_CONSTANT macro to allow the firmware to define constants that are to be exported to the host during the "identify" phase. This replaces the existing hardcoded mechanism of scanning the Kconfig header file for certain constants. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* graphstats: Updates for recent stats changesKevin O'Connor2016-12-061-2/+7
| | | | | | | Update the graphstats helper script to account for recent changes in the statistics output. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stepstats: Update stepstats script with change in dir_pin meaningKevin O'Connor2016-12-011-2/+2
| | | | | | | Commit afecf7ce inverted the direction of the direction pin in queue_step commands - update the stepstats script to conform. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stepstats: Add debugging script to calculate stats on stepper movementKevin O'Connor2016-10-311-0/+39
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* graphstats: Add new helper script that generates graphs of MCU loadKevin O'Connor2016-10-311-0/+85
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* build: Support creating and storing the data dictionary on each buildKevin O'Connor2016-09-101-3/+11
| | | | | | | Generate the data dictionary in out/klipper.dict on each build. This makes it easier to use the dictionary when debugging. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* serialhdl: Calculate baudadjust from MCU's baud instead of host baudKevin O'Connor2016-07-161-1/+1
| | | | | | | Store the baud rate the MCU is configured for in the "identify" data and use that rate when calculating the baudadjust parameter. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* buildcommands: Fix max_size calculationKevin O'Connor2016-06-051-1/+1
| | | | | | | The maximum max_size value should not include MESSAGE_MIN - that is already added by the runtime code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Initial commit of source code.Kevin O'Connor2016-05-253-0/+763
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* build: Update kconfig to always emit symbols - even when false.Kevin O'Connor2014-08-231-1/+9
| | | | | | | Always emit CONFIG_X definitions in autoconf.h - set them to 0 when they are disabled. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* build: Update kconfig to work outside of kbuild make system.Kevin O'Connor2014-08-231-7/+17
| | | | | | Minor tweaks to the kconfig Makefile to work with local build system. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* build: Add kconfig menu system.Kevin O'Connor2014-08-2343-0/+26868
This is an initial commit of the kconfig system. It is an unmodified copy from Linux v3.16. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>