forked from Imagelibrary/rtems
This I2C driver framework has some major differences compared to libi2c. * It is compatible to the Linux I2C user-space API. * It uses generic IMFS nodes and thus reduces the levels of indirection. * The drivers don't have to mess around with minor numbers to get their state information. * No arbitrary bus controller model is assumed. The main task of an I2C bus controller driver is to process I2C messages. How this is done is private to the driver. * Scatter/gather operations are supported (I2C_M_NOSTART).
20 lines
480 B
Makefile
20 lines
480 B
Makefile
rtems_tests_PROGRAMS = i2c01
|
|
i2c01_SOURCES = init.c
|
|
|
|
dist_rtems_tests_DATA = i2c01.scn i2c01.doc
|
|
|
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
include $(top_srcdir)/../automake/compile.am
|
|
include $(top_srcdir)/../automake/leaf.am
|
|
|
|
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
|
|
|
|
LINK_OBJS = $(i2c01_OBJECTS)
|
|
LINK_LIBS = $(i2c01_LDLIBS)
|
|
|
|
i2c01$(EXEEXT): $(i2c01_OBJECTS) $(i2c01_DEPENDENCIES)
|
|
@rm -f i2c01$(EXEEXT)
|
|
$(make-exe)
|
|
|
|
include $(top_srcdir)/../automake/local.am
|