Commit Graph

473 Commits

Author SHA1 Message Date
Kevin O'Connor 254789f4c5 neopixel: Add support for delaying updates in SET_LED command
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-12-15 23:24:17 -05:00
Kevin O'Connor 1d05a34cd7 docs: Update Kinematics.md document with "smooth pressure advance"
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-12-13 17:52:51 -05:00
Kevin O'Connor 91bade5824 docs: Update Config_Changes.md with pointer to sample multi extruder configs
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-12-13 12:33:13 -05:00
Simon Kühling 2721211456 heater: Add PrinterHeater get_status() function
Provide a list of available heater and sensor names to
gcode macro templates through the printer.heater.available_heaters
and printer.heater.available_sensors variables

Signed-off-by: Simon Kühling <mail@simonkuehling.de>
2019-12-13 10:45:04 -05:00
Kevin O'Connor fcee27fc19 gcode: Remove builtin T0/T1/T2/... command support
The builtin Tn command is not sufficiently flexible to control some
multi-extruder printers.  Remove the command and encourage users to
define individual gcode_macros for each Tn instance.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-12-10 14:24:32 -05:00
Kevin O'Connor c06618193d extruder: Add an ACTIVATE_EXTRUDER command
Add support for an extended g-code command to change the currently
active extruder.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-12-10 14:23:13 -05:00
Kevin O'Connor ab2d302b7e gcode: Remove support for the M206 command
The M206 command isn't particularly standardized and isn't issued by
default from 3rd party software in their standard configurations.
Encourage users to use the more powerful SET_GCODE_OFFSET command.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-12-10 14:23:10 -05:00
Kevin O'Connor 8663bc8192 docs: Update FAQ to emphasize checking Config_Changes.md on an upgrade
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-12-10 13:51:47 -05:00
Kevin O'Connor 205da598fd docs: Move upgrade instructions to the last item in the FAQ
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-12-10 13:39:49 -05:00
Kevin O'Connor 10270dc7ef docs: Fix another typo in Code_Overview.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-12-04 12:26:45 -05:00
Kevin O'Connor f82a85aad0 docs: Fix typo in Code_Overview.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-12-04 12:17:13 -05:00
Kevin O'Connor e17f2bac96 docs: Minor "coordinate system" wording change to Code_Overview.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-12-04 12:05:31 -05:00
Kevin O'Connor e557f2d0c0 docs: Add information on coordinate systems to Code_Overview.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-12-04 11:09:22 -05:00
Kevin O'Connor 8e87ab0939 gcode: Remove support for "G4 S1" style commands
The S parameter is not a standard and was not commonly used.  The P
parameter (delay specified in milliseconds) is the commonly accepted
g-code mechanism for dwelling.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-12-02 19:31:20 -05:00
Kevin O'Connor 43bb45a1d3 docs: Minor update to Config_Changes.md
Use same "ls /dev/serial/by-id/*" command used in Installation.md.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-12-01 14:25:40 -05:00
Kevin O'Connor 935088ddff docs: Clarify recent usb device name change in Config_Changes.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-12-01 10:29:15 -05:00
Kevin O'Connor e80ced5568 usb_cdc: Report MCU type on all boards
Always report the "product id" as the MCU type (instead of as "Klipper
firmware").

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-11-26 08:45:20 -05:00
Kevin O'Connor 401f7a879c atsam: Enable chipid as usb serial number
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-11-26 08:42:14 -05:00
Kevin O'Connor d7ec5505a6 atsamd: Enable chipid as usb serial number
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-11-25 19:30:31 -05:00
Kevin O'Connor 8f6efe5a7b stm32: Enable chipid as usb serial number
Signed-off-by: Matt Baker <baker.matt.j@gmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-11-25 19:30:31 -05:00
Kevin O'Connor 0b0e5a911e docs: Minor wording change in Pressure_Advance.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-11-25 11:48:41 -05:00
Kevin O'Connor 3aad25eab9 docs: Recommend normal slicer settings in Pressure_Advance.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-11-25 11:35:39 -05:00
Kevin O'Connor 3683273936 toolhead: Report which axes are homed via get_status()
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-11-24 20:21:13 -05:00
Kevin O'Connor 282af0220e toolhead: Report the current extruder from the get_status() method
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-11-24 20:21:13 -05:00
Kevin O'Connor 982567a69a config: Rename avrsim.cfg to generic-simulavr.cfg
Rename the file to be more similar to the naming of other files.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-11-24 20:21:13 -05:00
Kevin O'Connor c188aa982f docs: Kinematics.md updates for extruder instantaneous corner velocity
As of commit 5f5896ad Klipper will perform look-ahead between moves
even if they have significant differences in extruder flow rates.
Update Kinematics.md accordingly.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-11-22 17:04:14 -05:00
Kevin O'Connor 6d0c55b6c1 extruder: Initial support for "smoothed pressure advance"
Support averaging the extruder position over a time range to "smooth
out" the velocity changes that occur during pressure advance.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-11-21 13:18:19 -05:00
Kevin O'Connor 430b8d0e52 usb_cdc: Report the MCU name instead of "Klipper firmware"
Change the "product id" from the redundant "Klipper firmware" to the
CONFIG_MCU value.  For now, only make this change on boards that have
CONFIG_HAVE_CHIPID set.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-11-21 11:56:31 -05:00
Kevin O'Connor 9055e9f9b5 docs: Update SAMD51 benchmarks
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-11-18 12:49:05 -05:00
Kevin O'Connor 224574da4a stepper: Add get/set_tag_position() and convert calc_position()
Rename calc_position() to calc_tag_position() and have it calculate
the value of the position from the last stepper set_tag_position()
call.  This enables the calc_tag_position() code to be more flexible
as it can be run with arbitrary positions.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-11-13 19:00:17 -05:00
Kevin O'Connor 0bf4ab66da docs: Add get_status() to list of kinematics methods in Code_Overview.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-11-12 22:47:10 -05:00
Kevin O'Connor 6116a5d48f stepper_enable: Remove ability to use a list of pins in enable_pin
Now that the tmc drivers perform automatic soft stepper enabling,
there is no need to be able to list multiple pins in the enable_pin
config setting.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-11-12 18:45:31 -05:00
Kevin O'Connor 77dff35fae tmc: Remove virtual_enable support and replace with automatic support
Automatically detect if the stepper has a dedicated enable line.  If
it does not, then automatically enable virtual enable support.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-11-12 18:45:31 -05:00
Kevin O'Connor bfb34e0701 stepper_enable: Move motor_off() logic to stepper_enable.py
Directly disable all the stepper motors on a global motor_off() from
the StepperEnable() class in stepper_enable.py.  This simplifies the
toolhead and kinematic classes.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-11-12 17:32:18 -05:00
Kevin O'Connor 0bfb655f66 query_adc: Add a new module to help query and debug analog pins
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-11-07 19:28:27 -05:00
Kevin O'Connor 3665e9fc53 docs: Recommend safe_z_home over homing_override
Update BLTouch.md, FAQ.md, and sample-probe-as-z-endstop.cfg to
recommend using a safe_z_home config section over a homing_override
config section.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-11-07 16:50:52 -05:00
Kevin O'Connor ed610a6600 extruder: Consistently use "extruder" for the primary extruder
No longer allow the primary extruder to be named "extruder0".  This
avoids internal and external confusion between the printer objects and
config section names.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-11-07 16:28:47 -05:00
Kevin O'Connor 29b5961d9f docs: Note gcode_arcs and firmware_retraction commands in G-Codes.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-11-07 15:44:25 -05:00
Kevin O'Connor 72735b4552 docs: Update Code_Overview.md with new trapq system
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-11-07 10:42:12 -05:00
Kevin O'Connor 3f338c08c1 docs: Minor micro-controller updates to Code_Overview.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-11-07 10:08:21 -05:00
Kevin O'Connor e2f5e2871c docs: Recommend OctoPrint v1.3.12 in Installation.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-30 11:02:03 -04:00
Kevin O'Connor d65f2e2861 docs: Minor cleanup to square_tower.scad
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-27 12:16:17 -04:00
Kevin O'Connor 632ff9e55a docs: Update benchmarks for stm32f0
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-23 21:45:07 -04:00
Kevin O'Connor f160a3a824 docs: Reword Pressure_Advance.md paragraph on kinematic impact
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-23 19:50:51 -04:00
Kevin O'Connor ccbdb6c531 docs: Pressure_Advance.md should recommend setting ADVANCE_LOOKAHEAD_TIME
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-23 19:34:59 -04:00
Kevin O'Connor c794e11c67 docs: Update Pressure_Advance.md to use tuning tower
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-23 19:28:03 -04:00
Kevin O'Connor b8a6160646 docs: Update example openocd config in Bootloaders.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-23 19:05:04 -04:00
Kevin O'Connor f07292084b docs: Remove outdated stm32f1.md document
The stm32f103 has become popular in the "skr mini" series of boards.
As a result, the stm32f1.md document is no longer relevant.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-23 18:53:11 -04:00
Kevin O'Connor abdfd92e99 docs: Update release notes for v0.8.0 release
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-21 22:30:04 -04:00
Kevin O'Connor dd9259aaf3 docs: Minor wording changes to Manual_level.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-16 16:48:50 -04:00