Skip to content

Commit

Permalink
Merge pull request #99 from zkasmi/i2c
Browse files Browse the repository at this point in the history
full abstracted i2c driver for LPC2387
  • Loading branch information
OlegHahm committed Sep 26, 2013
2 parents b749e59 + 86818f5 commit 1acfee5
Show file tree
Hide file tree
Showing 4 changed files with 1,290 additions and 2 deletions.
7 changes: 5 additions & 2 deletions cpu/lpc2387/Makefile
Expand Up @@ -11,12 +11,15 @@ endif
ifneq (,$(findstring rtc,$(USEMODULE)))
DIRS += rtc
endif
ifneq (,$(findstring i2c,$(USEMODULE)))
DIRS += i2c
endif

all: $(BINDIR)$(MODULE).a
@for i in $(DIRS) ; do $(MAKE) -C $$i ; done ;
@for i in $(DIRS) ; do "$(MAKE)" -C $$i ; done ;

include $(RIOTBASE)/Makefile.base

clean::
@for i in $(DIRS) ; do $(MAKE) -C $$i clean ; done ;
@for i in $(DIRS) ; do "$(MAKE)" -C $$i clean ; done ;

6 changes: 6 additions & 0 deletions cpu/lpc2387/i2c/Makefile
@@ -0,0 +1,6 @@
INCLUDES = -I$(RIOTBASE)/drivers/include -I$(RIOTBASE)/sys/include -I../../net -I../include -I../../lib -I../../../.. -I../../../cpu/ -I../../../core/include -I../../

MODULE =i2c

include $(MAKEBASE)/Makefile.base

0 comments on commit 1acfee5

Please sign in to comment.