diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-08-30 15:07:21 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-08-30 15:07:21 +0000 |
commit | 6da7839685a296ef4324847306de9be7b0e6722b (patch) | |
tree | 9f94cee3c1c7c9f9af0bde818facefddbe3df440 /apps/system/i2c/Makefile | |
parent | 226c8f246cfc548246c021393aab56b0a8be7968 (diff) | |
download | nuttx-6da7839685a296ef4324847306de9be7b0e6722b.tar.gz nuttx-6da7839685a296ef4324847306de9be7b0e6722b.tar.bz2 nuttx-6da7839685a296ef4324847306de9be7b0e6722b.zip |
First cut at I2C tool
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3927 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/system/i2c/Makefile')
-rw-r--r-- | apps/system/i2c/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/system/i2c/Makefile b/apps/system/i2c/Makefile index 02ca64aa3..9f15f0ce8 100644 --- a/apps/system/i2c/Makefile +++ b/apps/system/i2c/Makefile @@ -40,7 +40,7 @@ include $(APPDIR)/Make.defs # I2C tool ASRCS = -CSRCS = i2c_bus.c i2c_common.c i2c_dev.c i2c_dump.c i2c_get.c i2c_main.c i2c_set.c +CSRCS = i2c_bus.c i2c_common.c i2c_dev.c i2c_get.c i2c_main.c i2c_set.c AOBJS = $(ASRCS:.S=$(OBJEXT)) @@ -58,6 +58,10 @@ endif ROOTDEPPATH = --dep-path . VPATH = +APPNAME = i2c +PRIORITY = SCHED_PRIORITY_DEFAULT +STACKSIZE = 2048 + # Build targets all: .built @@ -76,6 +80,8 @@ $(COBJS): %$(OBJEXT): %.c @touch .built context: + $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) + @touch $@ .depend: Makefile $(SRCS) @$(MKDEP) $(ROOTDEPPATH) \ |