I2C/IIC working on RPI4 8GB?
Mark Millard
marklmi at yahoo.com
Sat May 1 15:31:44 UTC 2021
On 2021-May-1, at 04:48, Mark Murray <markm at freebsd.org> wrote:
> On 30 Apr 2021, at 15:22, Klaus Küchemann <maciphone2 at googlemail.com> wrote:
>>
>>
>> yet another useful document(at least that's what I hope to fix your usecase) :
>>
>> https://www.raspberrypi.org/documentation/configuration/config-txt/gpio.md
>
> BINGO!!
>
> I added
>
> gpio=2,3=a0
>
> to my config.txt file and after a reboot,
>
> # i2c -f /dev/iic0 -s worked!
Cool.
But it leaves me wondering what the FreeBSD equivalent
for setting the mode of those 2 gpio's to a0 (or other
alternatives) is supposed to look like (even if such
code would not work as things are in the implementation).
(But, for me, it is idle wondering.)
===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
More information about the freebsd-arm
mailing list