2018-12-28 00:57:17 +01:00
|
|
|
This document covers recent software changes to the config file that
|
|
|
|
are not backwards compatible. It is a good idea to review this
|
|
|
|
document when upgrading the Klipper software.
|
|
|
|
|
|
|
|
All dates in this document are approximate.
|
|
|
|
|
|
|
|
# Changes
|
2020-06-06 18:48:35 +02:00
|
|
|
|
2021-03-19 18:17:49 +01:00
|
|
|
20210325: Support for the `pin_map` config option is deprecated. Use
|
|
|
|
the [sample-aliases.cfg](../config/sample-aliases.cfg) file to
|
|
|
|
translate to the actual micro-controller pin names. The `pin_map`
|
|
|
|
config option will be removed in the near future.
|
|
|
|
|
2021-03-04 18:51:13 +01:00
|
|
|
20210313: Klipper's support for micro-controllers that communicate
|
|
|
|
with CAN bus has changed. If using CAN bus then all micro-controllers
|
|
|
|
must be reflashed and the [Klipper configuration must be
|
|
|
|
updated](CANBUS.md).
|
|
|
|
|
2021-03-10 17:38:05 +01:00
|
|
|
20210310: The TMC2660 default for driver_SFILT has been changed from 1
|
|
|
|
to 0.
|
|
|
|
|
2021-02-21 02:18:40 +01:00
|
|
|
20210227: TMC stepper motor drivers in UART or SPI mode are now
|
|
|
|
queried once per second whenever they are enabled - if the driver can
|
|
|
|
not be contacted or if the driver reports an error, then Klipper will
|
|
|
|
transition to a shutdown state.
|
|
|
|
|
2021-02-17 20:59:57 +01:00
|
|
|
20210219: The `rpi_temperature` module has been renamed to
|
|
|
|
`temperature_host`. Replace any occurrences of `sensor_type:
|
2021-02-20 15:21:51 +01:00
|
|
|
rpi_temperature` with `sensor_type: temperature_host`. The path to
|
|
|
|
the temperature file may be specified in the `sensor_path` config
|
|
|
|
variable. The `rpi_temperature` name is deprecated and will be
|
|
|
|
removed in the near future.
|
2021-02-17 20:59:57 +01:00
|
|
|
|
2021-01-29 20:47:10 +01:00
|
|
|
20210201: The `TEST_RESONANCES` command will now disable input shaping
|
|
|
|
if it was previously enabled (and re-enable it after the test). In order
|
|
|
|
to override this behavior and keep the input shaping enabled, one can
|
|
|
|
pass an additional parameter `INPUT_SHAPING=1` to the command.
|
|
|
|
|
2021-01-29 19:35:33 +01:00
|
|
|
20210201: The `ACCELEROMETER_MEASURE` command will now append the name
|
|
|
|
of the accelerometer chip to the output file name if the chip was given
|
|
|
|
a name in the corresponding adxl345 section of the printer.cfg.
|
|
|
|
|
2020-12-23 01:56:36 +01:00
|
|
|
20201222: The `step_distance` setting in the stepper config sections
|
|
|
|
is deprecated. It is advised to update the config to use the
|
|
|
|
[`rotation_distance`](Rotation_Distance.md) setting. Support for
|
|
|
|
`step_distance` will be removed in the near future.
|
|
|
|
|
2020-01-06 02:42:34 +01:00
|
|
|
20201218: The `endstop_phase` setting in the endstop_phase module has
|
|
|
|
been replaced with `trigger_phase`. If using the endstop phases module
|
2020-12-23 01:56:36 +01:00
|
|
|
then it will be necessary to convert to
|
|
|
|
[`rotation_distance`](Rotation_Distance.md) and recalibrate any
|
|
|
|
endstop phases by running the ENDSTOP_PHASE_CALIBRATE command.
|
2020-01-06 02:42:34 +01:00
|
|
|
|
2020-01-06 02:19:43 +01:00
|
|
|
20201218: Rotary delta and polar printers must now specify a
|
|
|
|
`gear_ratio` for their rotary steppers, and they may no longer specify
|
|
|
|
a `step_distance` parameter. See the
|
|
|
|
[config reference](Config_Reference.md#stepper) for the format of the
|
|
|
|
new gear_ratio paramter.
|
|
|
|
|
2020-12-13 16:18:39 +01:00
|
|
|
20201213: It is not valid to specify a Z "position_endstop" when using
|
|
|
|
"probe:z_virtual_endstop". An error will now be raised if a Z
|
|
|
|
"position_endstop" is specified with "probe:z_virtual_endstop".
|
|
|
|
Remove the Z "position_endstop" definition to fix the error.
|
|
|
|
|
2020-11-20 17:36:36 +01:00
|
|
|
20201120: The `[board_pins]` config section now specifies the mcu name
|
|
|
|
in an explicit `mcu:` parameter. If using board_pins for a secondary
|
|
|
|
mcu, then the config must be updated to specify that name. See the
|
2020-12-13 18:36:14 +01:00
|
|
|
[config reference](Config_Reference.md#board_pins) for further
|
2020-11-20 17:36:36 +01:00
|
|
|
details.
|
|
|
|
|
2020-11-12 13:14:50 +01:00
|
|
|
20201112: The time reported by `print_stats.print_duration` has
|
|
|
|
changed. The duration prior to the first detected extrusion is
|
|
|
|
now excluded.
|
|
|
|
|
2020-10-09 02:06:59 +02:00
|
|
|
20201029: The neopixel `color_order_GRB` config option has been
|
|
|
|
removed. If necessary, update the config to set the new `color_order`
|
|
|
|
option to RGB, GRB, RGBW, or GRBW.
|
|
|
|
|
2020-10-28 17:47:59 +01:00
|
|
|
20201029: The serial option in the mcu config section no longer
|
|
|
|
defaults to /dev/ttyS0. In the rare situation where /dev/ttyS0 is the
|
|
|
|
desired serial port, it must be specified explicitly.
|
|
|
|
|
2020-10-21 01:37:57 +02:00
|
|
|
20201020: Klipper v0.9.0 released.
|
|
|
|
|
2020-09-02 15:32:30 +02:00
|
|
|
20200902: The RTD resistance-to-temperature calculation for MAX31865
|
|
|
|
converters has been corrected to not read low. If you are using such a
|
|
|
|
device, you should recalibrate your print temperature and PID settings.
|
|
|
|
|
2020-08-05 17:43:45 +02:00
|
|
|
20200816: The gcode macro `printer.gcode` object has been renamed to
|
|
|
|
`printer.gcode_move`. Several undocumented variables in
|
|
|
|
`printer.toolhead` and `printer.gcode` have been removed. See
|
|
|
|
docs/Command_Templates.md for a list of available template variables.
|
|
|
|
|
2020-08-16 21:39:30 +02:00
|
|
|
20200816: The gcode macro "action_" system has changed. Replace any
|
|
|
|
calls to `printer.gcode.action_emergency_stop()` with
|
|
|
|
`action_emergency_stop()`, `printer.gcode.action_respond_info()` with
|
|
|
|
`action_respond_info()`, and `printer.gcode.action_respond_error()`
|
|
|
|
with `action_raise_error()`.
|
|
|
|
|
2020-08-09 15:37:54 +02:00
|
|
|
20200809: The menu system has been rewritten. If the menu has been
|
|
|
|
customized then it will be necessary to update to the new
|
|
|
|
configuration. See config/example-menu.cfg for configuration details
|
|
|
|
and see klippy/extras/display/menu.cfg for examples.
|
|
|
|
|
2020-08-01 00:10:31 +02:00
|
|
|
20200731: The behavior of the `progress` attribute reported by
|
|
|
|
the `virtual_sdcard` printer object has changed. Progress is no
|
|
|
|
longer reset to 0 when a print is paused. It will now always report
|
|
|
|
progress based on the internal file position, or 0 if no file is
|
|
|
|
currently loaded.
|
|
|
|
|
2020-07-16 20:45:48 +02:00
|
|
|
20200725: The servo `enable` config parameter and the SET_SERVO
|
|
|
|
`ENABLE` parameter have been removed. Update any macros to use
|
|
|
|
`SET_SERVO SERVO=my_servo WIDTH=0` to disable a servo.
|
|
|
|
|
2020-06-08 22:53:47 +02:00
|
|
|
20200608: The LCD display support has changed the name of some
|
|
|
|
internal "glyphs". If a custom display layout was implemented it may
|
|
|
|
be necessary to update to the latest glyph names (see
|
|
|
|
klippy/extras/display/display.cfg for a list of available glyphs).
|
|
|
|
|
2020-06-06 18:48:35 +02:00
|
|
|
20200606: The pin names on linux mcu have changed. Pins now have names
|
|
|
|
of the form `gpiochip<chipid>/gpio<gpio>`. For gpiochip0 you can also
|
|
|
|
use a short `gpio<gpio>`. For example, what was previously referred
|
|
|
|
to as `P20` now becomes `gpio20` or `gpiochip0/gpio20`.
|
2018-12-28 00:57:17 +01:00
|
|
|
|
2020-06-04 20:53:18 +02:00
|
|
|
20200603: The default 16x4 LCD layout will no longer show the
|
|
|
|
estimated time remaining in a print. (Only the elapsed time will be
|
|
|
|
shown.) If the old behavior is desired one can customize the menu
|
|
|
|
display with that information (see the description of display_data in
|
|
|
|
config/example-extras.cfg for details).
|
|
|
|
|
2020-06-01 02:44:22 +02:00
|
|
|
20200531: The default USB vendor/product id is now 0x1d50/0x614e.
|
|
|
|
These new ids are reserved for Klipper (thanks to the openmoko
|
|
|
|
project). This change should not require any config changes, but the
|
|
|
|
new ids may appear in system logs.
|
|
|
|
|
2020-05-24 17:49:56 +02:00
|
|
|
20200524: The default value for the tmc5160 pwm_freq field is now zero
|
|
|
|
(instead of one).
|
|
|
|
|
2020-04-26 23:30:57 +02:00
|
|
|
20200425: The gcode_macro command template variable `printer.heater`
|
|
|
|
was renamed to `printer.heaters`.
|
|
|
|
|
2020-03-05 01:20:04 +01:00
|
|
|
20200313: The default lcd layout for multi-extruder printers with a
|
|
|
|
16x4 screen has changed. The single extruder screen layout is now the
|
|
|
|
default and it will show the currently active extruder. To use the
|
|
|
|
previous display layout set "display_group: _multiextruder_16x4" in
|
|
|
|
the [display] section of the printer.cfg file.
|
|
|
|
|
2020-04-18 18:08:57 +02:00
|
|
|
20200308: The default `__test` menu item was removed. If the config
|
|
|
|
file has a custom menu then be sure to remove all references to this
|
|
|
|
`__test` menu item.
|
|
|
|
|
2020-03-08 22:42:22 +01:00
|
|
|
20200308: The menu "deck" and "card" options were removed. To
|
2020-03-04 03:09:52 +01:00
|
|
|
customize the layout of an lcd screen use the new display_data config
|
|
|
|
sections (see config/example-extras.cfg for the details).
|
|
|
|
|
2020-01-09 20:17:34 +01:00
|
|
|
20200109: The bed_mesh module now references the probe's location
|
2019-12-20 23:19:43 +01:00
|
|
|
in for the mesh configuration. As such, some configuration options
|
|
|
|
have been renamed to more accurately reflect their intended
|
|
|
|
functionality. For rectangular beds, `min_point` and `max_point`
|
|
|
|
have been renamed to `mesh_min` and `mesh_max` respectively. For
|
|
|
|
round beds, `bed_radius` has been renamed to `mesh_radius`. A new
|
|
|
|
`mesh_origin` option has also been added for round beds. Note that
|
|
|
|
these changes are also incompatible with previously saved mesh profiles.
|
|
|
|
If an incompatible profile is detected it will be ignored and scheduled
|
|
|
|
for removal. The removal process can be completed by issuing the
|
|
|
|
SAVE_CONFIG command. The user will need to re-calibrate each profile.
|
|
|
|
|
2019-12-18 18:23:09 +01:00
|
|
|
20191218: The display config section no longer supports "lcd_type:
|
|
|
|
st7567". Use the "uc1701" display type instead - set "lcd_type:
|
|
|
|
uc1701" and change the "rs_pin: some_pin" to "rst_pin: some_pin". It
|
|
|
|
may also be necessary to add a "contrast: 60" config setting.
|
|
|
|
|
2019-11-25 01:59:36 +01:00
|
|
|
20191210: The builtin T0, T1, T2, ... commands have been removed. The
|
|
|
|
extruder activate_gcode and deactivate_gcode config options have been
|
|
|
|
removed. If these commands (and scripts) are needed then define
|
|
|
|
individual [gcode_macro T0] style macros that call the
|
2019-12-13 18:33:13 +01:00
|
|
|
ACTIVATE_EXTRUDER command. See the config/sample-idex.cfg and
|
|
|
|
sample-multi-extruder.cfg files for examples.
|
2019-11-25 01:59:36 +01:00
|
|
|
|
2019-11-25 03:10:51 +01:00
|
|
|
20191210: Support for the M206 command has been removed. Replace with
|
|
|
|
calls to SET_GCODE_OFFSET. If support for M206 is needed, add a
|
|
|
|
[gcode_macro M206] config section that calls SET_GCODE_OFFSET. (For
|
|
|
|
example "SET_GCODE_OFFSET Z=-{params.Z}".)
|
|
|
|
|
2019-11-25 03:16:53 +01:00
|
|
|
20191202: Support for the undocumented "S" parameter of the "G4"
|
|
|
|
command has been removed. Replace any occurrences of S with the
|
|
|
|
standard "P" parameter (the delay specified in milliseconds).
|
|
|
|
|
2019-11-26 03:08:51 +01:00
|
|
|
20191126: The USB names have changed on micro-controllers with native
|
|
|
|
USB support. They now use a unique chip id by default (where
|
2019-12-01 16:29:15 +01:00
|
|
|
available). If an "mcu" config section uses a "serial" setting that
|
|
|
|
starts with "/dev/serial/by-id/" then it may be necessary to update
|
2019-12-01 20:25:40 +01:00
|
|
|
the config. Run "ls /dev/serial/by-id/*" in an ssh terminal to
|
2019-12-01 16:29:15 +01:00
|
|
|
determine the new id.
|
2019-11-21 17:48:36 +01:00
|
|
|
|
2019-11-05 22:21:06 +01:00
|
|
|
20191121: The pressure_advance_lookahead_time parameter has been
|
|
|
|
removed. See example.cfg for alternate configuration settings.
|
|
|
|
|
2019-11-13 00:18:32 +01:00
|
|
|
20191112: The tmc stepper driver virtual enable capability is now
|
|
|
|
automatically enabled if the stepper does not have a dedicated stepper
|
|
|
|
enable pin. Remove references to tmcXXXX:virtual_enable from the
|
2019-11-13 00:34:32 +01:00
|
|
|
config. The ability to control multiple pins in the stepper
|
|
|
|
enable_pin config has been removed. If multiple pins are needed then
|
|
|
|
use a multi_pin config section.
|
2019-11-13 00:18:32 +01:00
|
|
|
|
2019-11-07 22:24:52 +01:00
|
|
|
20191107: The primary extruder config section must be specified as
|
|
|
|
"extruder" and may no longer be specified as "extruder0". Gcode
|
|
|
|
command templates that query the extruder status are now accessed via
|
|
|
|
"{printer.extruder}".
|
|
|
|
|
|
|
|
20191021: Klipper v0.8.0 released
|
|
|
|
|
2019-10-04 00:09:01 +02:00
|
|
|
20191003: The move_to_previous option in [safe_z_homing] now defaults
|
|
|
|
to False. (It was effectively False prior to 20190918.)
|
|
|
|
|
2019-09-18 15:37:33 +02:00
|
|
|
20190918: The zhop option in [safe_z_homing] is always re-applied
|
|
|
|
after Z axis homing completed. This might need users to update custom
|
|
|
|
scripts based on this module.
|
|
|
|
|
2019-08-07 01:30:48 +02:00
|
|
|
20190806: The SET_NEOPIXEL command has been renamed to SET_LED.
|
|
|
|
|
2019-07-26 16:59:07 +02:00
|
|
|
20190726: The mcp4728 digital-to-analog code has changed. The default
|
|
|
|
i2c_address is now 0x60 and the voltage reference is now relative to
|
|
|
|
the mcp4728's internal 2.048 volt reference.
|
|
|
|
|
2019-07-11 01:25:56 +02:00
|
|
|
20190710: The z_hop option was removed from the [firmware_retract]
|
|
|
|
config section. The z_hop support was incomplete and could cause
|
|
|
|
incorrect behavior with several common slicers.
|
|
|
|
|
2019-07-10 21:11:11 +02:00
|
|
|
20190710: The optional parameters of the PROBE_ACCURACY command have
|
|
|
|
changed. It may be necessary to update any macros or scripts that use
|
|
|
|
that command.
|
|
|
|
|
2019-06-28 21:40:00 +02:00
|
|
|
20190628: All configuration options have been removed from the
|
|
|
|
[skew_correction] section. Configuration for skew_correction
|
|
|
|
is now done via the SET_SKEW gcode. See skew_correction.md
|
|
|
|
for recommended usage.
|
|
|
|
|
2019-06-08 01:30:17 +02:00
|
|
|
20190607: The "variable_X" parameters of gcode_macro (along with the
|
|
|
|
VALUE parameter of SET_GCODE_VARIABLE) are now parsed as Python
|
|
|
|
literals. If a value needs to be assigned a string then wrap the value
|
|
|
|
in quotes so that it is evaluated as a string.
|
|
|
|
|
2019-06-06 16:15:47 +02:00
|
|
|
20190606: The "samples", "samples_result", and "sample_retract_dist"
|
|
|
|
config options have been moved to the "probe" config section. These
|
|
|
|
options are no longer supported in the "delta_calibrate", "bed_tilt",
|
|
|
|
"bed_mesh", "screws_tilt_adjust", "z_tilt", or "quad_gantry_level"
|
|
|
|
config sections.
|
|
|
|
|
2019-05-28 16:59:12 +02:00
|
|
|
20190528: The magic "status" variable in gcode_macro template
|
|
|
|
evaluation has been renamed to "printer".
|
|
|
|
|
2019-05-21 04:36:57 +02:00
|
|
|
20190520: The SET_GCODE_OFFSET command has changed; update any g-code
|
|
|
|
macros accordingly. The command will no longer apply the requested
|
|
|
|
offset to the next G1 command. The old behavior may be approximated by
|
|
|
|
using the new "MOVE=1" parameter.
|
|
|
|
|
2019-04-05 17:18:46 +02:00
|
|
|
20190404: The Python host software packages were updated. Users will
|
|
|
|
need to rerun the ~/klipper/scripts/install-octopi.sh script (or
|
|
|
|
otherwise upgrade the python dependencies if not using a standard
|
|
|
|
OctoPi installation).
|
|
|
|
|
2019-04-01 06:34:01 +02:00
|
|
|
20190404: The i2c_bus and spi_bus parameters (in various config
|
|
|
|
sections) now take a bus name instead of a number.
|
|
|
|
|
2019-04-01 01:08:05 +02:00
|
|
|
20190404: The sx1509 config parameters have changed. The 'address'
|
|
|
|
parameter is now 'i2c_address' and it must be specified as a decimal
|
|
|
|
number. Where 0x3E was previously used, specify 62.
|
|
|
|
|
2019-03-28 19:07:40 +01:00
|
|
|
20190328: The min_speed value in [temperature_fan] config
|
|
|
|
will now be respected and the fan will always run at this
|
|
|
|
speed or higher in PID mode.
|
|
|
|
|
2019-03-23 01:41:32 +01:00
|
|
|
20190322: The default value for "driver_HEND" in [tmc2660] config
|
2019-03-23 03:40:42 +01:00
|
|
|
sections was changed from 6 to 3. The "driver_VSENSE" field was
|
|
|
|
removed (it is now automatically calculated from run_current).
|
2019-03-23 01:41:32 +01:00
|
|
|
|
2019-03-10 18:57:01 +01:00
|
|
|
20190310: The [controller_fan] config section now always takes a name
|
|
|
|
(such as [controller_fan my_controller_fan]).
|
|
|
|
|
2019-03-08 17:25:19 +01:00
|
|
|
20190308: The "driver_BLANK_TIME_SELECT" field in [tmc2130] and
|
|
|
|
[tmc2208] config sections has been renamed to "driver_TBL".
|
|
|
|
|
2019-03-08 17:08:24 +01:00
|
|
|
20190308: The [tmc2660] config section has changed. A new
|
|
|
|
sense_resistor config parameter must now be provided. The meaning of
|
|
|
|
several of the driver_XXX parameters has changed.
|
|
|
|
|
2019-02-19 06:32:37 +01:00
|
|
|
20190228: Users of SPI or I2C on SAMD21 boards must now specify the
|
|
|
|
bus pins via a [samd_sercom] config section.
|
|
|
|
|
2019-02-13 01:50:10 +01:00
|
|
|
20190224: The bed_shape option has been removed from bed_mesh. The
|
|
|
|
radius option has been renamed to bed_radius. Users with round beds
|
|
|
|
should supply the bed_radius and round_probe_count options.
|
|
|
|
|
2018-12-28 01:11:46 +01:00
|
|
|
20190107: The i2c_address parameter in the mcp4451 config section
|
|
|
|
changed. This is a common setting on Smoothieboards. The new value is
|
|
|
|
half the old value (88 should be changed to 44, and 90 should be
|
|
|
|
changed to 45).
|
|
|
|
|
2018-12-28 00:57:17 +01:00
|
|
|
20181220: Klipper v0.7.0 released
|