Add USB serial/storage examples

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2563 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2010-03-28 21:28:12 +00:00
parent a9302530f3
commit e1e0bd3cad
+4 -1
View File
@@ -1,7 +1,7 @@
############################################################################ ############################################################################
# configs/ea3131/src/Makefile # configs/ea3131/src/Makefile
# #
# Copyright (C) 2009 Gregory Nutt. All rights reserved. # Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr> # Author: Gregory Nutt <spudmonkey@racsa.co.cr>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@@ -44,6 +44,9 @@ CSRCS = up_boot.c up_buttons.c up_clkinit.c up_leds.c up_mem.c up_spi.c
ifeq ($(CONFIG_EXAMPLES_NSH_ARCHINIT),y) ifeq ($(CONFIG_EXAMPLES_NSH_ARCHINIT),y)
CSRCS += up_nsh.c CSRCS += up_nsh.c
endif endif
ifeq ($(CONFIG_EXAMPLE),usbstorage)
CSRCS += up_usbstrg.c
endif
COBJS = $(CSRCS:.c=$(OBJEXT)) COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS) SRCS = $(ASRCS) $(CSRCS)