source: rtems/testsuites/libtests/i2c01/Makefile.am @ cce46780

4.115
Last change on this file since cce46780 was 41c5f1b7, checked in by Sebastian Huber <sebastian.huber@…>, on 11/07/14 at 12:47:39

Add I2C driver framework

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).
  • Property mode set to 100644
File size: 480 bytes
Line 
1rtems_tests_PROGRAMS = i2c01
2i2c01_SOURCES = init.c
3
4dist_rtems_tests_DATA = i2c01.scn i2c01.doc
5
6include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
7include $(top_srcdir)/../automake/compile.am
8include $(top_srcdir)/../automake/leaf.am
9
10AM_CPPFLAGS += -I$(top_srcdir)/../support/include
11
12LINK_OBJS = $(i2c01_OBJECTS)
13LINK_LIBS = $(i2c01_LDLIBS)
14
15i2c01$(EXEEXT): $(i2c01_OBJECTS) $(i2c01_DEPENDENCIES)
16        @rm -f i2c01$(EXEEXT)
17        $(make-exe)
18
19include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.