mirror of
https://github.com/dimalo/klipper-web-control-docker.git
synced 2026-02-10 00:06:50 +01:00
- BREAKING CHANGE: make printer.cfg the main config file, instead of klipper.cfg. existing configs need to be migrated: - copy all include statements from klipper.cfg to printer.cfg - remove klipper.cfg - add run_in_venv script to activate venv correctly, then start klipper/moonraker - add rpi_mcu config file and include in printer.cfg - add cap_add: SYS_NICE to docker-compose to run klipper_mcu - build & run klipper with python3 - precompile klipper C-Code in build stage, remove gcc from run image (https://www.klipper3d.org/Packaging.html) - remove python3 debian packages, globally install with pip instead
13 lines
516 B
INI
13 lines
516 B
INI
# https://github.com/Klipper3d/klipper/blob/master/config/sample-raspberry-pi.cfg
|
|
# This file contains an example configuration with RPi as secondary mcu
|
|
|
|
# See docs/Config_Reference.md for a description of parameters.
|
|
|
|
# The rpi microcontroller is used as secondary.
|
|
# Typically, both the X and Y axes
|
|
# are connected to the main micro-controller. The rpi microcontroller is used
|
|
# on non time-critical functions such as enclosure sensors, additional fan or
|
|
# light sources
|
|
[mcu host]
|
|
serial: /tmp/klipper_host_mcu
|