From 0e24b0de612ad596103e4e01d250f0be12278783 Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 14 Mar 2011 20:50:46 +0000 Subject: Add apps/poweroff lpc17 hardware handshake git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3380 42af7a65-404d-4744-a932-0658087f49c3 --- apps/hello/Makefile | 4 ++-- apps/hello/README.txt | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 apps/hello/README.txt (limited to 'apps/hello') diff --git a/apps/hello/Makefile b/apps/hello/Makefile index f4267cd4d..b1e13fc71 100644 --- a/apps/hello/Makefile +++ b/apps/hello/Makefile @@ -38,6 +38,7 @@ # sourcing the Make.defs! -include $(TOPDIR)/Make.defs +include ../Make.defs ifeq ($(WINTOOL),y) INCDIROPT = -w @@ -86,9 +87,8 @@ $(BIN): $(OBJS) .depend: Makefile $(SRCS) @$(MKDEP) $(ROOTDEPPATH) \ $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep + $(call REGISTER, $(APPNAME), $(PRIORITY), $(STACKSIZE), $(APPNAME)_main) @touch $@ - echo "{ .name = \""$(APPNAME)"\", .priority = "$(PRIORITY)", .stacksize = "$(STACKSIZE)", .main = "$(APPNAME)"_main }," >> ../exec_nuttapp_list.h - echo "EXTERN int "$(APPNAME)"_main(int argc, char *argv[]);" >> ../exec_nuttapp_proto.h # Register application depend: .depend diff --git a/apps/hello/README.txt b/apps/hello/README.txt new file mode 100644 index 000000000..531c4d193 --- /dev/null +++ b/apps/hello/README.txt @@ -0,0 +1,5 @@ + +This application provides Hello Builtin Application skeleton + + Source: NuttX + Date: 13. March 2011 -- cgit v1.2.3