diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-10-23 08:25:40 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-10-23 08:25:40 -0600 |
commit | 29df6e51371045a3f4b32603e6d0da3fa9f7f6ff (patch) | |
tree | b03d68cd4f4b70b86e0f0ccabf41ff81387dd233 /apps/examples/cc3000/Makefile | |
parent | 64aa8aa31a0c9c425996e1f6a1d6c4137ff5cb23 (diff) | |
download | nuttx-29df6e51371045a3f4b32603e6d0da3fa9f7f6ff.tar.gz nuttx-29df6e51371045a3f4b32603e6d0da3fa9f7f6ff.tar.bz2 nuttx-29df6e51371045a3f4b32603e6d0da3fa9f7f6ff.zip |
apps/examples/cc3000: Extensions and enhancements from David Sidrane
Diffstat (limited to 'apps/examples/cc3000/Makefile')
-rw-r--r-- | apps/examples/cc3000/Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/apps/examples/cc3000/Makefile b/apps/examples/cc3000/Makefile index 41d8c4acb..524c4f4f6 100644 --- a/apps/examples/cc3000/Makefile +++ b/apps/examples/cc3000/Makefile @@ -1,5 +1,5 @@ ############################################################################ -# apps/examples/hello/Makefile +# apps/examples/cc3000/Makefile # # Copyright (C) 2008, 2010-2013 Gregory Nutt. All rights reserved. # Author: Gregory Nutt <gnutt@nuttx.org> @@ -41,12 +41,16 @@ include $(APPDIR)/Make.defs APPNAME = c3b PRIORITY = SCHED_PRIORITY_DEFAULT -STACKSIZE = 4096 +STACKSIZE = 2048 + +APPNAME1 = shell +PRIORITY1 = SCHED_PRIORITY_DEFAULT +STACKSIZE1 = 2048 # Hello, World! Example ASRCS = -CSRCS = cc3000basic.c board.c +CSRCS = cc3000basic.c board.c shell.c telnetd_driver.c AOBJS = $(ASRCS:.S=$(OBJEXT)) COBJS = $(CSRCS:.c=$(OBJEXT)) @@ -68,7 +72,7 @@ ROOTDEPPATH = --dep-path . # Common build -VPATH = +VPATH = all: .built .PHONY: clean depend distclean @@ -86,8 +90,9 @@ $(COBJS): %$(OBJEXT): %.c ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) + $(call REGISTER,$(APPNAME1),$(PRIORITY1),$(STACKSIZE1),$(APPNAME1)_main) -context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat +context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat else context: endif |