Add apps/poweroff lpc17 hardware handshake

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3380 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2011-03-14 20:50:46 +00:00
parent 901d085151
commit 5a0ff44cc3
8 changed files with 235 additions and 12 deletions

View file

@ -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

5
hello/README.txt Normal file
View file

@ -0,0 +1,5 @@
This application provides Hello Builtin Application skeleton
Source: NuttX
Date: 13. March 2011