From 9cebd0c8545fa41a826112658dfe401b4306a2bd Mon Sep 17 00:00:00 2001 From: Stephan Wendel <43513802+KwadFan@users.noreply.github.com> Date: Sat, 28 Jan 2023 12:59:21 +0100 Subject: [PATCH] feat: enable I2C by default (#196) * feat: enable I2C by default Signed-off-by: Stephan Wendel Signed-off-by: Stephan Wendel --- src/modules/piconfig/filesystem/tmp/msos_config.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/modules/piconfig/filesystem/tmp/msos_config.txt b/src/modules/piconfig/filesystem/tmp/msos_config.txt index dfc17571e..e784214cc 100644 --- a/src/modules/piconfig/filesystem/tmp/msos_config.txt +++ b/src/modules/piconfig/filesystem/tmp/msos_config.txt @@ -44,6 +44,13 @@ dtparam=spi=on enable_uart=1 dtoverlay=disable-bt +## Enable I2C by default. +## This is used by Klipper's Host MCU +## See https://www.klipper3d.org/RPi_microcontroller.html#optional-enabling-i2c +## for destails. +## For MPU Accelrometer please use +## dtparam=i2c_arm=on,i2c_arm_baudrate=400000 +dtparam=i2c_arm=on ## Disable libcamera (interferes with ustreamer, when using raspicams) camera_auto_detect=0