From 44280205c1d8259378ba849b5b30c9169550f4bb Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Sat, 24 Jul 2021 22:30:54 +0900 Subject: [PATCH] enable i2c-dev --- apkovl/etc/apk/world | 1 + apkovl/etc/modules-load.d/i2c-dev.conf | 1 + usercfg.txt | 1 + 3 files changed, 3 insertions(+) create mode 100644 apkovl/etc/modules-load.d/i2c-dev.conf diff --git a/apkovl/etc/apk/world b/apkovl/etc/apk/world index 652e062..5534b63 100644 --- a/apkovl/etc/apk/world +++ b/apkovl/etc/apk/world @@ -1,3 +1,4 @@ alpine-base +i2c-tools openssh wpa_supplicant diff --git a/apkovl/etc/modules-load.d/i2c-dev.conf b/apkovl/etc/modules-load.d/i2c-dev.conf new file mode 100644 index 0000000..0cdf71f --- /dev/null +++ b/apkovl/etc/modules-load.d/i2c-dev.conf @@ -0,0 +1 @@ +i2c-dev diff --git a/usercfg.txt b/usercfg.txt index b35b46f..5ece9f1 100644 --- a/usercfg.txt +++ b/usercfg.txt @@ -1,2 +1,3 @@ dtoverlay=dwc2 force_turbo=1 +dtparam=i2c_arm=on