aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* docs: Minor update to Code_Overview.md with further kinematics infoKevin O'Connor2018-11-171-18/+20
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Fix typo in command dispatch benchmarksKevin O'Connor2018-11-161-4/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Round pru command parsing benchmarkKevin O'Connor2018-11-161-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Add information on command parsing benchmarksKevin O'Connor2018-11-161-0/+28
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Update benchmarksKevin O'Connor2018-11-162-17/+19
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* timer_irq: Increase maximum busy wait time to 2usKevin O'Connor2018-11-161-1/+1
| | | | | | | | | Increase the amount of time to "busy wait" in the timer dispatch loop to 2 micro-seconds. This, in practice, causes stepper step and unstep events to occur within a single hardware interrupt. Doing that helps stabilize the single active stepper performance benchmarks. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* console: Try to improve the description of the SUPPRESS commandKevin O'Connor2018-11-161-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lpc176x: Convert i2c code to use standard i2ccmds.cKevin O'Connor2018-11-144-13/+38
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Minor rewording in Endstop_Phase.mdKevin O'Connor2018-11-141-7/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* servo: This patch create ability to enable/disable attached servo. (#880)Jiri Dobry2018-11-143-7/+21
| | | | | | | | | | | | | | | | | | | Cheap mechanical servos have small flickering. When this servo stay on one position, this flickering slowly destroy internal potentiometer and make servo unusable. Many mechanisms need servo only to change position. Therefore I create this minor path to enable/disable servo. It stop pulses for this servo, that's all. Corresponding G-code is: SET_SERVO SERVO=config_name [WIDTH=] [ENABLE=<0|1>] SET_SERVO SERVO=config_name [ANGLE=] [ENABLE=<0|1>] For example: SET_SERVO SERVO=touch ANGLE=80 ENABLE=1 ; enable servo and set position G4 P200 ; wait 200ms SET_SERVO SERVO=touch ENABLE=0 ; disable servo This patch add one option to servo configuration: enable: <False/True> # default True It not have impact to user code existing already because it is optional parameter and default value is same as original behavior. Signed-off-by: Jiri Dobry <jdobry@centrum.cz>
* docs: Minor wording change to Endstop_Phase.mdKevin O'Connor2018-11-131-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Note when endstop phases are useful in Endstop_Phase.mdKevin O'Connor2018-11-131-0/+11
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Fix typo in Bootloaders.mdKevin O'Connor2018-11-131-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Fix link in FAQ documentKevin O'Connor2018-11-131-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Use consistent advice on flashing the Melzi boardKevin O'Connor2018-11-137-53/+49
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Be more clear that a baud of 250000 is recommendedKevin O'Connor2018-11-132-12/+18
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: sample-macros.cfg creation and M300ndupont-net2018-11-131-0/+36
| | | | | | | Implementation of M300 "Play Tone" Signed-off-by: Nicolas Dupont <ndupont@ndupont.net> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Add printer-velleman-k8200-2013.cfg example configKevin O'Connor2018-11-132-0/+96
| | | | | | Based on config from @PerLangkjaer. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* display: FR icon changed to "Feed Rate" (#860)James2018-11-131-13/+13
| | | Signed-off-by: James Wood <j@j-w.co>
* bed_mesh: Fix some fragile identity comparisonsLucas Fink2018-10-311-2/+2
| | | | Signed-off-by: Lucas Fink <software@lfcode.ca>
* config: Add generic duet2 config and tests (#834)Florian Heilmann2018-10-312-0/+366
| | | | | This adds a generic duet config with quad-z and quad extruders which also tests TMC2660 and SX1509 extras Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
* sx1509: Relax restrictions on SX1509 pins (#836)Florian Heilmann2018-10-301-6/+6
| | | | | This allows SX1509 pins to be used as temperature fans and heater fans. Heaters are still disallowed. Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
* tmc2660: Fix typo in TMC2660 extra (#830)Florian Heilmann2018-10-291-1/+1
| | | Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
* avr: Add support for atmega328pKevin O'Connor2018-10-293-6/+11
| | | | | | | The atmega328p is basically the same as the atmega328 - add explicit support for it so that avrdude doesn't complain while flashing. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Add DUMP_TMC capabilities to the TMC2660 extraFlorian Heilmann2018-10-281-1/+19
| | | | Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
* Implement idle event support in the TMC2660 extraFlorian Heilmann2018-10-282-64/+38
| | | | Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
* idle_timeout: Add printing/ready/idle trackingKevin O'Connor2018-10-282-22/+73
| | | | | | | Internally track the overall printer state. Generate events on state transitions. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: process_batch() should execute commands atomicallyKevin O'Connor2018-10-283-23/+26
| | | | | | | Update the process_batch() method so that it will not interleave commands read from the input fd with the batched commands. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Add lcd encoder pins to generic-rumba.cfgKevin O'Connor2018-10-281-0/+4
| | | | | | Reported by @elJosho. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Clarify M109/M190 in G-Code documentationKevin O'Connor2018-10-281-0/+4
| | | | | Signed-off-by: Lucas Fink <software@lfcode.ca> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Add a Slicers.md documentKevin O'Connor2018-10-283-5/+78
| | | | | | Add some information on configuring a slicer for use with Klipper. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Note the use of gcode_macro in G-Codes.mdKevin O'Connor2018-10-281-0/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* sx1509: Raise an error if a pin max_duration is not zeroKevin O'Connor2018-10-271-1/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* delta: Make sure to clear limit_xy2 after a homing moveKevin O'Connor2018-10-271-0/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* delta: Make sure to also exempt the homing retract move from boundary checksKevin O'Connor2018-10-271-8/+11
| | | | | | | | | Commit 459e5219 added a special case to the boundary checks to permit homing moves. In some cases, the second home retract could also be outside the normal boundary checks - extend the special case to also permit that move. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* util: Fix versioning when gitdir is absent (#809)lf2018-10-274-11/+87
| | | | | | | | | | | | | 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>
* Add SX1509 extraFlorian Heilmann2018-10-272-0/+218
| | | | Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
* Implement I2C support in the SAM4E8E portFlorian.Heilmann2018-10-275-1/+198
| | | | Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
* Add generic i2c interfaceFlorian.Heilmann2018-10-273-0/+80
| | | | Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
* config: Add encoder pins to printer-anycubic-kossel-plus-2017.cfgKevin O'Connor2018-10-251-0/+3
| | | | | | Reported by @obalado. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* extruder: Don't use max_extrude_cross_section in max_extrude_only defaultsKevin O'Connor2018-10-252-5/+6
| | | | | | | | | | Some users increase max_extrude_cross_section to avoid issues with some slicers. However, increasing that value also increases the defaults for the max_extrude_only parameters which is not obvious. Base the max_extrude_only defaults only on the configured nozzle diameter. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Update wording of extruder parameters in example.cfgKevin O'Connor2018-10-251-18/+17
| | | | | | Try to improve the description of the extruder config limits. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Update pressure advance doc to note it only impacts the extruderKevin O'Connor2018-10-251-0/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>