Клиппер
Go to file
Dr. Matthew Swabey 9d77f44995
linux: Fast Linux MCU i2c_read() with I2C_RDRW (#6101)
Reading an I2C device from the Linux MCU used a separate write(2)
to select the target register & read(2) to get the value(s). This
implementation uses ioctl(file, I2C_RDWR, ...) to skip a large bus idle
period and extra process sleep by combining them like the stm32.

I2C_RDRW requires I2C_FUNC_I2C flag in the I2C driver. I2C_FUNC_I2C
is defined in:

BCM2835: Pi 1 Models A, A+, B, B+, the Raspberry Pi Zero, the
    Raspberry Pi Zero W, and the Raspberry Pi Compute Module 1
BCM2836: Pi 2 Model B
    Identical to BCM2835 except Cortex
BCM2837: Pi 3 Model B, later models of the Raspberry Pi 2 Model B,
    and the Raspberry Pi Compute Module 3
BCM2837B0: Pi 3 Models A+, B+, and the Raspberry Pi Compute Module 3+
BCM2711: Pi 4 Model B, the Raspberry Pi 400, and the Raspberry Pi
    Compute Module 4
RK3xxx: Rockchips SoCs NanoPi, RockPi, Tinker, etc.
SUNXI: H2, H3, etc. Orange Pi
AMLOGIC: S905x, Banana Pi, Odroid, etc.
TEGRA: NVidia Jetson etc.
MediaTek: Several SBCs in other ranges

Signed-off-by: Matthew Swabey <matthew@swabey.org>
2023-03-14 21:03:07 -04:00
.github workflows: Convert to Ubuntu 20.04 for build test 2023-02-09 20:57:53 -05:00
config config: Add Anycubic Kobra Plus (#6084) 2023-03-14 20:58:42 -04:00
docs probe: Allow overriding horizontal_move_z on gcode 2023-03-14 21:01:40 -04:00
klippy probe: Allow overriding horizontal_move_z on gcode 2023-03-14 21:01:40 -04:00
lib ar100: Support for ar100 (#6054) 2023-02-20 20:15:01 -05:00
scripts scripts: Update flash-linux.sh to restart new systemd service (#6049) 2023-02-23 11:44:58 -05:00
src linux: Fast Linux MCU i2c_read() with I2C_RDRW (#6101) 2023-03-14 21:03:07 -04:00
test config: Add Anycubic Kobra Plus (#6084) 2023-03-14 20:58:42 -04:00
.gitignore util: Fix versioning when gitdir is absent (#809) 2018-10-27 10:44:38 -04:00
COPYING COPYING: Update GPLv3 license to latest text (uses https instead of http) 2022-06-03 11:28:44 -04:00
Makefile makefile: disable null pointer checks 2022-06-08 12:17:12 -04:00
README.md docs: Add a Sponsors.md file 2022-07-16 10:48:10 -04:00

README.md

Welcome to the Klipper project!

Klipper

https://www.klipper3d.org/

Klipper is a 3d-Printer firmware. It combines the power of a general purpose computer with one or more micro-controllers. See the features document for more information on why you should use Klipper.

To begin using Klipper start by installing it.

Klipper is Free Software. See the license or read the documentation. We depend on the generous support from our sponsors.