mirror of
https://gitlab.com/manzerbredes/ina260-sysfs-driver.git
synced 2025-06-05 22:27:40 +00:00
Update
This commit is contained in:
parent
cdcc342c2e
commit
93fdebd96d
2 changed files with 783 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -1,13 +1,13 @@
|
|||
# Linux Makefile Location:
|
||||
#LML="/usr/src/linux-headers-$(shell uname -r)/"
|
||||
LML="/lib/modules/$(shell uname -r)/build/" # Change if required on your system
|
||||
obj-m += ina260_hwmon.o ina260.o
|
||||
obj-m += ina2xx.o ina260.o
|
||||
|
||||
TEST_BUS=i2c-2
|
||||
TEST_DEV_ADDR=0x41
|
||||
TEST_DRV=ina260_hwmon
|
||||
|
||||
all: ina260_hwmon.c ina260.c
|
||||
all: ina2xx.c ina260.c
|
||||
make -C $(LML) M=$(PWD) modules
|
||||
|
||||
run: $(TEST_DRV).ko
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue