ODROID-C5: change package name klipper-mcu to klipper-mcu-odroidc5

Change-Id: I070d6991e60e71c96757fae66f0b5e821cea3f2e
This commit is contained in:
2025-06-09 10:32:40 +09:00
parent 35eb38bfde
commit 927aebdce0
4 changed files with 2 additions and 2 deletions

21
debian/klipper-mcu-odroidc5.service vendored Normal file
View File

@@ -0,0 +1,21 @@
#Systemd klipper linux mcu Service
[Unit]
Description=Starts the MCU Linux firmware for klipper on startup
Documentation=https://www.klipper3d.org/RPi_microcontroller.html
Before=klipper.service
ConditionFileIsExecutable=/usr/share/klipper/firmware/LINUX/klipper_mcu
[Install]
WantedBy=multi-user.target
[Service]
Type=simple
Environment=KLIPPER_HOST_MCU_SERIAL=/tmp/klipper_host_mcu
RemainAfterExit=yes
ExecStart=/usr/share/klipper/firmware/LINUX/klipper_mcu -r -I ${KLIPPER_HOST_MCU_SERIAL}
ExecStop=sh -c 'echo "FORCE_SHUTDOWN" > ${KLIPPER_HOST_MCU_SERIAL}'
ExecStop=sleep 1
TimeoutStopSec=2
Restart=always
RestartSec=5