diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-07-20 00:02:43 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-09-20 12:55:28 -0400 |
commit | d851882278644b959d9175d6b303631ddc8cd2c6 (patch) | |
tree | 786412ef59997a3c885c4ee15cf28d2597fa2d77 /klippy/mcu.py | |
parent | 3ccecc568dbfd505fe3bdc46b4d16bf7a4528996 (diff) | |
download | kutter-d851882278644b959d9175d6b303631ddc8cd2c6.tar.gz kutter-d851882278644b959d9175d6b303631ddc8cd2c6.tar.xz kutter-d851882278644b959d9175d6b303631ddc8cd2c6.zip |
linux: Initial support for running Klipper in a Linux real-time process
Add support for compiling the Klipper micro-controller code as a
real-time process capable of running on standard Linux systems.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/mcu.py')
-rw-r--r-- | klippy/mcu.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/klippy/mcu.py b/klippy/mcu.py index f0397f19..390375f2 100644 --- a/klippy/mcu.py +++ b/klippy/mcu.py @@ -399,7 +399,8 @@ class MCU: # Serial port self._serialport = config.get('serial', '/dev/ttyS0') baud = 0 - if not self._serialport.startswith("/dev/rpmsg_"): + if not (self._serialport.startswith("/dev/rpmsg_") + or self._serialport.startswith("/tmp/klipper_host_")): baud = config.getint('baud', 250000, minval=2400) self._serial = serialhdl.SerialReader( printer.reactor, self._serialport, baud) |