10 lines
114 B
Makefile
10 lines
114 B
Makefile
all:
|
|
gcc -O2 -Wall i2c-test.c -o i2c-test
|
|
|
|
driver:
|
|
sudo modprobe i2c-dev
|
|
|
|
perm:
|
|
sudo chgrp dialout /dev/i2c-0
|
|
|