palette2: Add support for P2 devices (#4057)

Module which bring support for P2 devices running in connected mode. This enables using a Palette2 directly with Klippy without Octoprint, or without Palette2 plugins for Octoprint which are not functional out of the box with Klipper.

Signed-off-by: Clifford Roche <clifford.roche@gmail.com>
This commit is contained in:
Clifford Roche
2021-03-26 11:21:10 -04:00
committed by GitHub
parent a0307c0e1c
commit e2a3217289
5 changed files with 697 additions and 11 deletions

View File

@@ -3750,3 +3750,37 @@ I2C bus.
# On some micro-controllers changing this value has no effect. The
# default is 100000.
```
# Other Custom Modules
## [palette2]
Palette 2 multimaterial support - provides a tighter integration
supporting Palette 2 devices in connected mode.
This modules also requires `[virtual_sdcard]` and `[pause_resume]`
for full functionality.
If you use this module, do not use the Palette 2 plugin for
Octoprint as they will conflict, and 1 will fail to initialize
properly likely aborting your print.
If you use Octoprint and stream gcode over the serial port instead of
printing from virtual_sd, then remo **M1** and **M0** from *Pausing commands*
in *Settings > Serial Connection > Firmware & protocol* will prevent
the need to start print on the Palette 2 and unpausing in Octoprint
for your print to begin.
```
[palette2]
serial:
# The serial port to connect to the Palette 2.
#baud: 250000
# The baud rate to use. The default is 250000.
#feedrate_splice: 0.8
# The feedrate to use when splicing, default is 0.8
#feedrate_normal: 1.0
# The feedrate to use after splicing, default is 1.0
#auto_load_speed: 2
# Extrude feedrate when autoloading, default is 2 (mm/s)
```