forked from Archive/PX4-Autopilot
Rename all apps/examples/-/main.c to something unique
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5141 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
parent
024e115d09
commit
a033a25dbf
|
@ -323,3 +323,6 @@
|
|||
by Max Holtzberg.
|
||||
* apps/examples/discover: A test example for the UDP network discovery
|
||||
utility (also contribed by Max Holtzberg).
|
||||
* apps/examples/*/main.c: Too many files called main.c. Each renamed
|
||||
to something unique so that they will not collide in the archive.
|
||||
|
||||
|
|
|
@ -1133,7 +1133,7 @@ examples/rgmp
|
|||
|
||||
See http://rgmp.sourceforge.net/wiki/index.php/Main_Page for further
|
||||
|
||||
At present, the RGMP example folder contains only an empty main.c file.
|
||||
At present, the RGMP example folder contains only an empty rgmp_main.c file.
|
||||
|
||||
examples/romfs
|
||||
^^^^^^^^^^^^^^
|
||||
|
|
|
@ -40,7 +40,7 @@ include $(APPDIR)/Make.defs
|
|||
# Hello, World! Example
|
||||
|
||||
ASRCS =
|
||||
CSRCS = main.c
|
||||
CSRCS = buttons_main.c
|
||||
|
||||
AOBJS = $(ASRCS:.S=$(OBJEXT))
|
||||
COBJS = $(CSRCS:.c=$(OBJEXT))
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/****************************************************************************
|
||||
* examples/buttons/main.c
|
||||
* examples/buttons/buttons_main.c
|
||||
*
|
||||
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
|
@ -47,7 +47,7 @@ PRIORITY = SCHED_PRIORITY_DEFAULT
|
|||
STACKSIZE = 2048
|
||||
|
||||
ASRCS =
|
||||
CSRCS = main.c
|
||||
CSRCS = discover_main.c
|
||||
|
||||
AOBJS = $(ASRCS:.S=$(OBJEXT))
|
||||
COBJS = $(CSRCS:.c=$(OBJEXT))
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/****************************************************************************
|
||||
* examples/discover/main.c
|
||||
* examples/discover/discover_main.c
|
||||
*
|
||||
* Copyright (C) 2012 Max Holtzberg. All rights reserved.
|
||||
* Copyright (C) 2008, 2011-2012 Gregory Nutt. All rights reserved.
|
|
@ -46,7 +46,7 @@ STACKSIZE = 2048
|
|||
# Hello, World! Example
|
||||
|
||||
ASRCS =
|
||||
CSRCS = main.c
|
||||
CSRCS = hello_main.c
|
||||
|
||||
AOBJS = $(ASRCS:.S=$(OBJEXT))
|
||||
COBJS = $(CSRCS:.c=$(OBJEXT))
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/****************************************************************************
|
||||
* examples/hello/main.c
|
||||
* examples/hello/hello_main.c
|
||||
*
|
||||
* Copyright (C) 2008, 2011-2012 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
|
@ -41,7 +41,7 @@ include $(APPDIR)/Make.defs
|
|||
|
||||
ASRCS =
|
||||
CSRCS =
|
||||
CXXSRCS = main.cxx
|
||||
CXXSRCS = helloxx_main.cxx
|
||||
|
||||
AOBJS = $(ASRCS:.S=$(OBJEXT))
|
||||
COBJS = $(CSRCS:.c=$(OBJEXT))
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
//***************************************************************************
|
||||
// examples/helloxx/main.cxx
|
||||
// examples/helloxx/helloxx_main.cxx
|
||||
//
|
||||
// Copyright (C) 2009, 2011-2012 Gregory Nutt. All rights reserved.
|
||||
// Author: Gregory Nutt <gnutt@nuttx.org>
|
|
@ -46,7 +46,7 @@ STACKSIZE = 2048
|
|||
# NuttX OS Test
|
||||
|
||||
ASRCS =
|
||||
CSRCS = main.c dev_null.c
|
||||
CSRCS = ostest_main.c dev_null.c
|
||||
|
||||
ifeq ($(CONFIG_ARCH_FPU),y)
|
||||
CSRCS += fpu.c
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/****************************************************************************
|
||||
* apps/examples/ostest/main.c
|
||||
* apps/examples/ostest/ostest_main.c
|
||||
*
|
||||
* Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
|
@ -40,7 +40,7 @@ include $(APPDIR)/Make.defs
|
|||
# The smallest thing you can build -- the NULL example.
|
||||
|
||||
ASRCS =
|
||||
CSRCS = main.c
|
||||
CSRCS = rgmp_main.c
|
||||
|
||||
AOBJS = $(ASRCS:.S=$(OBJEXT))
|
||||
COBJS = $(CSRCS:.c=$(OBJEXT))
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/****************************************************************************
|
||||
* examples/rgmp/main.c
|
||||
* examples/rgmp/rgmp_main.c
|
||||
*
|
||||
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
|
@ -40,7 +40,7 @@ include $(APPDIR)/Make.defs
|
|||
# Mindlessly simple console loopack test
|
||||
|
||||
ASRCS =
|
||||
CSRCS = main.c
|
||||
CSRCS = serloop_main.c
|
||||
|
||||
AOBJS = $(ASRCS:.S=$(OBJEXT))
|
||||
COBJS = $(CSRCS:.c=$(OBJEXT))
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/****************************************************************************
|
||||
* examples/serloop/main.c
|
||||
* examples/serloop/serloop_main.c
|
||||
*
|
||||
* Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
|
@ -40,7 +40,7 @@ include $(APPDIR)/Make.defs
|
|||
# THTTPD Web Server Example
|
||||
|
||||
ASRCS =
|
||||
CSRCS = main.c
|
||||
CSRCS = thttpd_main.c
|
||||
|
||||
AOBJS = $(ASRCS:.S=$(OBJEXT))
|
||||
COBJS = $(CSRCS:.c=$(OBJEXT))
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/****************************************************************************
|
||||
* examples/thttpd/main.c
|
||||
* examples/thttpd/thttpd_main.c
|
||||
*
|
||||
* Copyright (C) 2009-2012 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
|
@ -40,7 +40,7 @@ include $(APPDIR)/Make.defs
|
|||
# uIP very tiny web server example
|
||||
|
||||
ASRCS =
|
||||
CSRCS = main.c cgi.c httpd_fsdata.c
|
||||
CSRCS = uip_main.c cgi.c httpd_fsdata.c
|
||||
|
||||
AOBJS = $(ASRCS:.S=$(OBJEXT))
|
||||
COBJS = $(CSRCS:.c=$(OBJEXT))
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/****************************************************************************
|
||||
* examples/uip/main.c
|
||||
* examples/uip/uip_main.c
|
||||
*
|
||||
* Copyright (C) 2007, 2009-2012 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
|
@ -201,7 +201,7 @@ int uip_main(int argc, char *argv[])
|
|||
while(1)
|
||||
{
|
||||
sleep(3);
|
||||
printf("main: Still running\n");
|
||||
printf("uip_main: Still running\n");
|
||||
#if CONFIG_NFILE_DESCRIPTORS > 0
|
||||
fflush(stdout);
|
||||
#endif
|
|
@ -40,7 +40,7 @@ include $(APPDIR)/Make.defs
|
|||
# USB serial device example
|
||||
|
||||
ASRCS =
|
||||
CSRCS = main.c
|
||||
CSRCS = usbserial_main.c
|
||||
|
||||
AOBJS = $(ASRCS:.S=$(OBJEXT))
|
||||
COBJS = $(CSRCS:.c=$(OBJEXT))
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/****************************************************************************
|
||||
* examples/usbserial/main.c
|
||||
* examples/usbserial/usbserial_main.c
|
||||
*
|
||||
* Copyright (C) 2008, 2010-2012 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
|
@ -1,5 +1,5 @@
|
|||
/****************************************************************************
|
||||
* examples/discover/main.c
|
||||
* netutils/discover/discover.c
|
||||
*
|
||||
* Copyright (C) 2012 Max Holtzberg. All rights reserved.
|
||||
* Copyright (C) 2008, 2011-2012 Gregory Nutt. All rights reserved.
|
||||
|
|
|
@ -211,7 +211,7 @@ COMMAND SUMMARY
|
|||
===============
|
||||
|
||||
We have already seen the I2C help (or ?) commands above. This section will
|
||||
discusse the remaining commands.
|
||||
discuss the remaining commands.
|
||||
|
||||
List buses: bus [OPTIONS]
|
||||
--------------------------
|
||||
|
|
Loading…
Reference in New Issue