Move nuttx/examples to apps/examples

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3405 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2011-03-20 18:18:19 +00:00
parent 085c3e7010
commit c9e6a573bb
359 changed files with 4302 additions and 25769 deletions
+1
View File
@@ -1600,5 +1600,6 @@
* apps/Makefile and configs/*/appconfig - Use '=' as the delimiter * apps/Makefile and configs/*/appconfig - Use '=' as the delimiter
instead of '/' so that sub-directories in apps/ can be used. instead of '/' so that sub-directories in apps/ can be used.
* apps/vsn - Move all VSN apps to apps/vsn. * apps/vsn - Move all VSN apps to apps/vsn.
* nuttx/examples moved to apps/examples
+11 -11
View File
@@ -12,7 +12,7 @@
<h1><big><font color="#3c34ec"> <h1><big><font color="#3c34ec">
<i>NX Graphics Subsystem</i> <i>NX Graphics Subsystem</i>
</font></big></h1> </font></big></h1>
<p>Last Updated: July 27, 2010</p> <p>Last Updated: March 20, 2010</p>
</td> </td>
</tr> </tr>
</table> </table>
@@ -212,7 +212,7 @@
</tr> </tr>
<tr> <tr>
<td><small>Figure 1. <td><small>Figure 1.
This scren shot shows the final frame for the NuttX example at <code>examples/nx</code> This scren shot shows the final frame for the NuttX example at <code>apps/examples/nx</code>
running on the simulated, Linux x86 platform with simulated framebuffer output to running on the simulated, Linux x86 platform with simulated framebuffer output to
an X window. an X window.
This picture shows to framed windows with (blank) toolbars. This picture shows to framed windows with (blank) toolbars.
@@ -2499,9 +2499,9 @@ int nxf_convert_32bpp(FAR uint32_t *dest, uint16_t height,
<h2>2.6 <a name="samplecode">Sample Code</a></h2> <h2>2.6 <a name="samplecode">Sample Code</a></h2>
<p><b><code>examples/nx</code></b>. <p><b><code>apps/examples/nx</code></b>.
No sample code is provided in this document. No sample code is provided in this document.
However, an example can be found in the NuttX source tree at <code>examples/nx</code>. However, an example can be found in the NuttX source tree at <code>apps/examples/nx</code>.
That code is intended to test NX. That code is intended to test NX.
Since it is test code, it is designed to exercise functionality and does not necessarily Since it is test code, it is designed to exercise functionality and does not necessarily
represent best NX coding practices. represent best NX coding practices.
@@ -2514,7 +2514,7 @@ int nxf_convert_32bpp(FAR uint32_t *dest, uint16_t height,
be implemented by the NX client code. be implemented by the NX client code.
</p> </p>
<p><b>Building <code>examples/nx</code></b>. <p><b>Building <code>apps/examples/nx</code></b>.
Testing was performed using the Linux/Cygwin-based NuttX simulator. Testing was performed using the Linux/Cygwin-based NuttX simulator.
Instructions are provided for building that simulation are provided in Instructions are provided for building that simulation are provided in
<a href="#testcoverage">Appendix C</a> of this document. <a href="#testcoverage">Appendix C</a> of this document.
@@ -2690,11 +2690,11 @@ int nxf_convert_32bpp(FAR uint32_t *dest, uint16_t height,
</tr> </tr>
</table> </table>
<p><b><code>examples/nx</code></b>. <p><b><code>apps/examples/nx</code></b>.
The primary test tool for debugging NX resides at <code>examples/nx</code>. The primary test tool for debugging NX resides at <code>apps/examples/nx</code>.
</p> </p>
<p><b>Building <code>examples/nx</code></b>. <p><b>Building <code>apps/examples/nx</code></b>.
NX testing was performed using <code>examples/nx</code> with the NX testing was performed using <code>apps/examples/nx</code> with the
Linux/Cygwin-based NuttX simulator. Linux/Cygwin-based NuttX simulator.
Configuration files for building this test can be found in <code>configs/sim/nx</code>. Configuration files for building this test can be found in <code>configs/sim/nx</code>.
There are two alternative configurations for building the simulation: There are two alternative configurations for building the simulation:
@@ -2761,7 +2761,7 @@ make
</p> </p>
<p><b>Test Coverage</b>. <p><b>Test Coverage</b>.
At present, <code>examples/nx</code>t only exercises a subset of NX; At present, <code>apps/examples/nx</code>t only exercises a subset of NX;
the remainder is essentially untested. the remainder is essentially untested.
The following table describes the testing performed on each NX API: The following table describes the testing performed on each NX API:
</p> </p>
@@ -2938,7 +2938,7 @@ make
</tr> </tr>
<tr> <tr>
<td align="left" valign="top"><a href="#nxeventnotify"><code>nx_eventnotify()</code></a></td> <td align="left" valign="top"><a href="#nxeventnotify"><code>nx_eventnotify()</code></a></td>
<td>This is not used in the current version of <code>examples/nx</code>, <td>This is not used in the current version of <code>apps/examples/nx</code>,
was tested in a previous version)</td> was tested in a previous version)</td>
<td align="center" bgcolor="lightgrey">NO</td> <td align="center" bgcolor="lightgrey">NO</td>
</tr> </tr>
+14 -10
View File
@@ -8,7 +8,7 @@
<tr align="center" bgcolor="#e4e4e4"> <tr align="center" bgcolor="#e4e4e4">
<td> <td>
<h1><big><font color="#3c34ec"><i>NuttX RTOS</i></font></big></h1> <h1><big><font color="#3c34ec"><i>NuttX RTOS</i></font></big></h1>
<p>Last Updated: March 19, 2011</p> <p>Last Updated: March 20, 2011</p>
</td> </td>
</tr> </tr>
</table> </table>
@@ -948,7 +948,7 @@
<ul> <ul>
<p> <p>
<b>STATUS:</b> <b>STATUS:</b>
This port boots and passes the OS test (examples/ostest). This port boots and passes the OS test (apps/examples/ostest).
The port is complete and verified. As of NuttX 0.3.17, the port includes: The port is complete and verified. As of NuttX 0.3.17, the port includes:
timer interrupts, serial console, USB driver, and SPI-based MMC/SD card timer interrupts, serial console, USB driver, and SPI-based MMC/SD card
support. A verified NuttShell (<a href="NuttShell.html">NSH</a>) support. A verified NuttShell (<a href="NuttShell.html">NSH</a>)
@@ -982,7 +982,7 @@
<ul> <ul>
<p> <p>
<b>STATUS:</b> <b>STATUS:</b>
This port boots and passes the OS test (examples/ostest) and includes a This port boots and passes the OS test (apps/examples/ostest) and includes a
working implementation of the NuttShell (<a href="NuttShell.html">NSH</a>). working implementation of the NuttShell (<a href="NuttShell.html">NSH</a>).
The port is complete and verified. The port is complete and verified.
As of NuttX 5.3, the port includes only basic timer interrupts and serial console support. As of NuttX 5.3, the port includes only basic timer interrupts and serial console support.
@@ -1161,7 +1161,7 @@
<b>STATUS:</b> <b>STATUS:</b>
This port was released in NuttX 5.5. This port was released in NuttX 5.5.
Features are the same as with the Eagle-100 LM3S6918 described above. Features are the same as with the Eagle-100 LM3S6918 described above.
The examples/ostest configuration has been successfully verified and an The apps/examples/ostest configuration has been successfully verified and an
NSH configuration with telnet support is available. NSH configuration with telnet support is available.
MMC/SD and Networking support was not been thoroughly verified: MMC/SD and Networking support was not been thoroughly verified:
Current development efforts are focused on porting the NuttX window system (NX) Current development efforts are focused on porting the NuttX window system (NX)
@@ -1357,7 +1357,7 @@
</p> </p>
<p> <p>
That initial, 5.6, basic release included <i>timer</i> interrupts and a <i>serial console</i> and was That initial, 5.6, basic release included <i>timer</i> interrupts and a <i>serial console</i> and was
verified using the NuttX OS test (<code>examples/ostest</code>). verified using the NuttX OS test (<code>apps/examples/ostest</code>).
Configurations available include include a verified NuttShell (NSH) configuration Configurations available include include a verified NuttShell (NSH) configuration
(see the <a href="http://www.nuttx.org/NuttShell.html">NSH User Guide</a>). (see the <a href="http://www.nuttx.org/NuttShell.html">NSH User Guide</a>).
The NSH configuration supports the Nucleus2G's microSD slot and additional configurations The NSH configuration supports the Nucleus2G's microSD slot and additional configurations
@@ -1374,7 +1374,7 @@
</ul> </ul>
</p> </p>
<p> <p>
This port includes a NuttX OS test configuration (see <code>examples/ostest</code>). This port includes a NuttX OS test configuration (see <code>apps/examples/ostest</code>).
</p> </p>
<p> <p>
<b>Olimex LPC1766-STK</b>. <b>Olimex LPC1766-STK</b>.
@@ -1524,7 +1524,7 @@
Since then, the basic RTOS port has solidified: Since then, the basic RTOS port has solidified:
<ul> <ul>
<li> <li>
The port successfully passes the NuttX OS test (examples/ostest). The port successfully passes the NuttX OS test (apps/examples/ostest).
</li> </li>
<li> <li>
A NuttShell (NSH) configuration is in place (see the <a href="http://www.nuttx.org/NuttShell.html">NSH User Guide</a>). A NuttShell (NSH) configuration is in place (see the <a href="http://www.nuttx.org/NuttShell.html">NSH User Guide</a>).
@@ -1534,7 +1534,7 @@
At present, I get nothing coming in the serial RXD line (probably because the pins are configured wrong or I have the MAX232 connected wrong). At present, I get nothing coming in the serial RXD line (probably because the pins are configured wrong or I have the MAX232 connected wrong).
</li> </li>
</ul> </ul>
The basic, port (including the verified examples/ostest configuration) was be released in NuttX-5.13. The basic, port (including the verified apps/examples/ostest configuration) was be released in NuttX-5.13.
A complete port will include drivers for additional AVR32 UC3 devices -- like SPI and USB --- and will be available in a later release, A complete port will include drivers for additional AVR32 UC3 devices -- like SPI and USB --- and will be available in a later release,
time permitting. time permitting.
</p> </p>
@@ -1979,7 +1979,7 @@ m68k, m68hc11, m68hc12, and SuperH ports.</blockquote>
This build for the ARM9 target includes a significant subset of OS This build for the ARM9 target includes a significant subset of OS
features, a filesystem, Ethernet driver, full TCP/IP, UDP and (minimal) features, a filesystem, Ethernet driver, full TCP/IP, UDP and (minimal)
ICMP stacks (via uIP) and a small network test application: (11/8/07, ICMP stacks (via uIP) and a small network test application: (11/8/07,
configuration netconfig, examples/nettest) configuration netconfig, apps/examples/nettest)
</p> </p>
<pre> <pre>
text data bss dec hex filename text data bss dec hex filename
@@ -1988,7 +1988,7 @@ m68k, m68hc11, m68hc12, and SuperH ports.</blockquote>
<p> <p>
Another build for the ARM9 target includes a minimal OS feature Another build for the ARM9 target includes a minimal OS feature
set, Ethernet driver, full TCP/IP and (minimal) ICMP stacks, and set, Ethernet driver, full TCP/IP and (minimal) ICMP stacks, and
a small webserver: (11/20/07, configuration uipconfig, examples/uip) a small webserver: (11/20/07, configuration uipconfig, apps/examples/uip)
</p> </p>
<pre> <pre>
text data bss dec hex filename text data bss dec hex filename
@@ -2224,6 +2224,10 @@ nuttx-5.20 2011-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
* examples/nsh and apps/nshlib - Move the core NuttShell (NSH) logic * examples/nsh and apps/nshlib - Move the core NuttShell (NSH) logic
out of the exemples directory and into the apps/directory where out of the exemples directory and into the apps/directory where
it belongs. it belongs.
* apps/Makefile and configs/*/appconfig - Use '=' as the delimiter
instead of '/' so that sub-directories in apps/ can be used.
* apps/vsn - Move all VSN apps to apps/vsn.
* nuttx/examples moved to apps/examples
apps-5.20 2011-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt; apps-5.20 2011-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
+3 -3
View File
@@ -10,7 +10,7 @@
<td> <td>
<h1><big><font color="#3c34ec"><i>NXFLAT</i></font></big></h1> <h1><big><font color="#3c34ec"><i>NXFLAT</i></font></big></h1>
<h2><font color="#dc143c">&gt;&gt;&gt; Under Construction &lt;&lt;&lt;</font></h2> <h2><font color="#dc143c">&gt;&gt;&gt; Under Construction &lt;&lt;&lt;</font></h2>
<p>Last Updated: June 26, 2009</p> <p>Last Updated: March 20, 2011</p>
</td> </td>
</tr> </tr>
</table> </table>
@@ -253,7 +253,7 @@
<p> <p>
The initial release of NXFLAT was made in NuttX version 0.4.9. The initial release of NXFLAT was made in NuttX version 0.4.9.
Testing is limited to the tests found under <code>examples/nxflat</code> in the source tree. Testing is limited to the tests found under <code>apps/examples/nxflat</code> in the source tree.
Some known problems exist Some known problems exist
(see the <a href="http://nuttx.svn.sourceforge.net/viewvc/nuttx/trunk/nuttx/TODO?view=log">TODO</a> list). (see the <a href="http://nuttx.svn.sourceforge.net/viewvc/nuttx/trunk/nuttx/TODO?view=log">TODO</a> list).
As such, NXFLAT is currently in an early alpha phase. As such, NXFLAT is currently in an early alpha phase.
@@ -366,7 +366,7 @@ any following arguments.
<p> <p>
Below is a snippet from an NXFLAT make file (simplified from NuttX Below is a snippet from an NXFLAT make file (simplified from NuttX
<a href="http://nuttx.svn.sourceforge.net/viewvc/nuttx/trunk/nuttx/examples/nxflat/tests/hello/Makefile?view=log"> <a href="http://nuttx.svn.sourceforge.net/viewvc/nuttx/trunk/apps/examples/nxflat/tests/hello/Makefile?view=log">
Hello, World!</a> example. Hello, World!</a> example.
<p> <p>
<ul><table width="50%"> <ul><table width="50%">
+89 -85
View File
@@ -12,7 +12,7 @@
<h1><big><font color="#3c34ec"> <h1><big><font color="#3c34ec">
<i>NuttX RTOS Porting Guide</i> <i>NuttX RTOS Porting Guide</i>
</font></big></h1> </font></big></h1>
<p>Last Updated: March 19, 2011</p> <p>Last Updated: March 20, 2011</p>
</td> </td>
</tr> </tr>
</table> </table>
@@ -37,30 +37,31 @@
<a href="#summaryofarchfiles">2.2.2 Summary of Files</a><br> <a href="#summaryofarchfiles">2.2.2 Summary of Files</a><br>
<a href="#supportedarchitectures">2.2.3 Supported Architectures</a> <a href="#supportedarchitectures">2.2.3 Supported Architectures</a>
</ul> </ul>
<a href="#DirStructBinFmt">2.2 binfmt/</a><br> <a href="#DirStructBinFmt">2.3 binfmt/</a><br>
<a href="#DirStructConfigs">2.4 configs/</a> <a href="#DirStructConfigs">2.4 configs/</a>
<ul> <ul>
<a href="#configsdirectorystructure">2.3.1 Subdirectory Structure</a><br> <a href="#configsdirectorystructure">2.4.1 Subdirectory Structure</a><br>
<a href="#summaryofconfigfiles">2.3.2 Summary of Files</a> <a href="#summaryofconfigfiles">2.4.2 Summary of Files</a>
<ul> <ul>
<a href="#boardlogic">2.4.2.1 Board Specific Logic</a><br> <a href="#boardlogic">2.4.2.1 Board Specific Logic</a><br>
<a href="#boardconfigsubdirs">2.3.2.2 Board Specific Configuration Sub-Directories</a> <a href="#boardconfigsubdirs">2.4.2.2 Board Specific Configuration Sub-Directories</a>
</ul> </ul>
<a href="#supportedboards">2.4.3 Supported Boards</a> <a href="#supportedboards">2.4.3 Supported Boards</a>
</ul> </ul>
<a href="#DirStructDrivers">2.5 drivers/</a><br> <a href="#DirStructDrivers">2.5 nuttx/drivers/</a><br>
<a href="#DirStructExamples">2.6 examples/</a><br> <a href="#DirStructFs">2.6 nuttx/fs/</a><br>
<a href="#DirStructFs">2.7 fs/</a><br> <a href="#DirStructGraphics">2.7 nuttx/graphics/</a><br>
<a href="#DirStructGraphics">2.8 graphics/</a><br> <a href="#DirStructInclude">2.8 nuttx/include/</a><br>
<a href="#DirStructInclude">2.9 include/</a><br> <a href="#DirStructLib">2.9 nuttx/lib/</a><br>
<a href="#DirStructLib">2.10 lib/</a><br> <a href="#DirStructLibXX">2.10 nuttx/libxx/</a><br>
<a href="#DirStructLibXX">2.11 libxx/</a><br> <a href="#DirStructMm">2.11 nuttx/mm/</a><br>
<a href="#DirStructMm">2.12 mm/</a><br> <a href="#DirStructNet">2.12 nuttx/net</a><br>
<a href="#DirStructNet">2.13 net</a><br> <a href="#DirStructSched">2.13 nuttx/sched/</a><br>
<a href="#DirStructNetUtils">2.14 netutils</a><br> <a href="#DirStructTools">2.14 nuttx/tools/</a><br>
<a href="#DirStructSched">2.15 sched/</a><br> <a href="#topmakefile">2.15 nuttx/Makefile</a>
<a href="#DirStructTools">2.16 tools/</a><br> <a href="#DirStructNetUtils">2.16 apps/netutils</a><br>
<a href="#topmakefile">2.17 Makefile</a> <a href="#DirStructNshLib">2.17 apps/nshlib</a><br>
<a href="#DirStructExamples">2.18 apps/examples/</a><br>
</ul> </ul>
<a href="#configandbuild">3.0 Configuring and Building</a> <a href="#configandbuild">3.0 Configuring and Building</a>
<ul> <ul>
@@ -200,10 +201,6 @@
| | |-- <i>(driver-specific sub-directories)/</i> | | |-- <i>(driver-specific sub-directories)/</i>
| | | `-- <i>(driver-specific source files)</i> | | | `-- <i>(driver-specific source files)</i>
| | `-- <i>(common driver source files)</i> | | `-- <i>(common driver source files)</i>
| |-- <a href="#DirStructExamples">examples</a>/
| | `-- <i>(example)</i>/
| | |-- Makefile
| | `-- <i>(example source files)</i>
| |-- <a href="#DirStructFs">fs</a>/ | |-- <a href="#DirStructFs">fs</a>/
| | |-- Makefile | | |-- Makefile
| | |-- <i>(file system-specific sub-directories)</i>/ | | |-- <i>(file system-specific sub-directories)</i>/
@@ -245,14 +242,18 @@
| |-- <i>(network feature sub-directories)</i>/ | |-- <i>(network feature sub-directories)</i>/
| | `-- <i>(network feature source files)</i> | | `-- <i>(network feature source files)</i>
| `-- <i>(netutils common files)</i> | `-- <i>(netutils common files)</i>
|-- nshlib/ |-- <a href="#DirStructNshLib">nshlib</a>/
| |-- Makefile | |-- Makefile
| `-- <i>NuttShell (NSH) files</i> | `-- <i>NuttShell (NSH) files</i>
`-- <i>(Board-specific applications)</i>/ |-- <i>(Board-specific applications)</i>/
|-- Makefile | |-- Makefile
|-- <i>(Board-specific application sub-directories)</i>/ | |-- <i>(Board-specific application sub-directories)</i>/
| `-- <i>(Board-specific application source files)</i> | | `-- <i>(Board-specific application source files)</i>
`-- <i>(Board-specific common files)</i> | `-- <i>(Board-specific common files)</i>
`-- <a href="#DirStructExamples">examples</a>/
`-- <i>(example)</i>/
|-- Makefile
`-- <i>(example source files)</i>
</pre></ul> </pre></ul>
<p> <p>
@@ -295,7 +296,7 @@
General documentation for the NuttX OS resides in this directory. General documentation for the NuttX OS resides in this directory.
</p> </p>
<h2>2.2 <a name="DirStructArch">arch</a></h2> <h2>2.2 <a name="DirStructArch">nuttx/arch</a></h2>
<h3><a name="archdirectorystructure">2.2.1 Subdirectory Structure</a></h3> <h3><a name="archdirectorystructure">2.2.1 Subdirectory Structure</a></h3>
<p> <p>
@@ -460,7 +461,7 @@
<li><code>arch/arm/include/lpc214x</code> and <code>arch/arm/src/lpc214x</code>: <li><code>arch/arm/include/lpc214x</code> and <code>arch/arm/src/lpc214x</code>:
These directories provide support for NXP LPC214x family of These directories provide support for NXP LPC214x family of
processors. processors.
STATUS: This port boots and passes the OS test (examples/ostest). STATUS: This port boots and passes the OS test (apps/examples/ostest).
The port is complete and verified. As of NuttX 0.3.17, the port includes: The port is complete and verified. As of NuttX 0.3.17, the port includes:
timer interrupts, serial console, USB driver, and SPI-based MMC/SD card timer interrupts, serial console, USB driver, and SPI-based MMC/SD card
support. A verified NuttShell configuration is also available. support. A verified NuttShell configuration is also available.
@@ -544,21 +545,21 @@
of progress of progress
</p> </p>
<h2>2.3 <a name="DirStructBinFmt">binfmt</a></h2> <h2>2.3 <a name="DirStructBinFmt">nuttx/binfmt</a></h2>
<p> <p>
The <code>binfmt/</code> subdirectory contains logic for loading binaries in the file The <code>binfmt/</code> subdirectory contains logic for loading binaries in the file
system into memory in a form that can be used to execute them. system into memory in a form that can be used to execute them.
</p> </p>
<h2>2.4 <a name="DirStructConfigs">configs</a></h2> <h2>2.4 <a name="DirStructConfigs">nuttx/configs</a></h2>
<p> <p>
The <code>configs/</code> subdirectory contains configuration data for each board. The <code>configs/</code> subdirectory contains configuration data for each board.
These board-specific configurations plus the architecture-specific configurations in These board-specific configurations plus the architecture-specific configurations in
the <code>arch/</code> subdirectory complete define a customized port of NuttX. the <code>arch/</code> subdirectory complete define a customized port of NuttX.
</p> </p>
<h3><a name="configsdirectorystructure">2.3.1 Subdirectory Structure</a></h3> <h3><a name="configsdirectorystructure">2.4.1 Subdirectory Structure</a></h3>
<p> <p>
The configs directory contains board specific configuration files. Each board must The configs directory contains board specific configuration files. Each board must
provide a subdirectory &lt;board-name&gt; under <code>configs/</code> with the following characteristics: provide a subdirectory &lt;board-name&gt; under <code>configs/</code> with the following characteristics:
@@ -589,8 +590,8 @@
</small></p> </small></p>
</ul> </ul>
<h3><a name="summaryofconfigfiles">2.3.2 Summary of Files</a></h3> <h3><a name="summaryofconfigfiles">2.4.2 Summary of Files</a></h3>
<h4><a name="boardlogic">2.3.2.1 Board Specific Logic</a></h4> <h4><a name="boardlogic">2.4.2.1 Board Specific Logic</a></h4>
<ul> <ul>
<li> <li>
<code>include/</code>: <code>include/</code>:
@@ -612,7 +613,7 @@
It must support the following targets: <code>libext$(LIBEXT)</code>, <code>clean</code>, and <code>distclean</code>. It must support the following targets: <code>libext$(LIBEXT)</code>, <code>clean</code>, and <code>distclean</code>.
</li> </li>
</ul> </ul>
<h4><a name="boardconfigsubdirs">2.3.2.2 Board Specific Configuration Sub-Directories</a></h4> <h4><a name="boardconfigsubdirs">2.4.2.2 Board Specific Configuration Sub-Directories</a></h4>
<p> <p>
The <code>configs/</code><i>&lt;board-name&gt;</i><code>/</code> sub-directory holds all of the The <code>configs/</code><i>&lt;board-name&gt;</i><code>/</code> sub-directory holds all of the
files that are necessary to configure NuttX for the particular board. files that are necessary to configure NuttX for the particular board.
@@ -676,7 +677,7 @@
</li> </li>
</ul> </ul>
<h3><a name="supportedboards">2.3.3 Supported Boards</a></h3> <h3><a name="supportedboards">2.4.3 Supported Boards</a></h3>
<p> <p>
All of the specific boards supported by NuttX are identified below. All of the specific boards supported by NuttX are identified below.
These are the specific <i>&lt;board-name&gt;</i>'s that may be used to configure NuttX These are the specific <i>&lt;board-name&gt;</i>'s that may be used to configure NuttX
@@ -790,7 +791,7 @@
is available to build these toolchains under Linux or Cygwin. is available to build these toolchains under Linux or Cygwin.
</blockquote></small></p> </blockquote></small></p>
<h2>2.5 <a name="DirStructDrivers">drivers</a></h2> <h2>2.5 <a name="DirStructDrivers">nuttx/drivers</a></h2>
<p> <p>
This directory holds architecture-independent device drivers. This directory holds architecture-independent device drivers.
@@ -816,13 +817,7 @@ drivers/
`-- <i>(common driver source files)</i> `-- <i>(common driver source files)</i>
</pre></ul> </pre></ul>
<h2>2.6 <a name="DirStructExamples">examples</a></h2> <h2>2.6 <a name="DirStructFs">nuttx/fs</a></h2>
<p>
Example and test programs to build against.
</p>
<h2>2.7 <a name="DirStructFs">fs</a></h2>
<p> <p>
This directory contains the NuttX file system. This directory contains the NuttX file system.
@@ -840,7 +835,7 @@ fs/
`-- <i>(common file system source files)</i> `-- <i>(common file system source files)</i>
</pre></ul> </pre></ul>
<h2>2.8 <a name="DirStructGraphics">graphics</a></h2> <h2>2.7 <a name="DirStructGraphics">nuttx/graphics</a></h2>
<p> <p>
This directory contains files for graphics/video support under NuttX. This directory contains files for graphics/video support under NuttX.
@@ -857,7 +852,7 @@ graphics/
`-- <i>(common file system source files)</i> `-- <i>(common file system source files)</i>
</pre></ul> </pre></ul>
<h2>2.9 <a name="DirStructInclude">include</a></h2> <h2>2.8 <a name="DirStructInclude">nuttx/include</a></h2>
<p> <p>
This directory holds NuttX header files. This directory holds NuttX header files.
Standard header files file retained in can be included in the <i>normal</i> fashion: Standard header files file retained in can be included in the <i>normal</i> fashion:
@@ -886,30 +881,64 @@ include/
`-- <i>(more standard header files)</i> `-- <i>(more standard header files)</i>
</per></ul> </per></ul>
<h2>2.10 <a name="DirStructLib">lib</a></h2> <h2>2.9 <a name="DirStructLib">nuttx/lib</a></h2>
<p> <p>
This directory holds a collection of standard libc-like functions with custom This directory holds a collection of standard libc-like functions with custom
interfaces into NuttX. interfaces into NuttX.
</p> </p>
<h2>2.11 <a name="DirStructLibXX">libxx</a></h2> <h2>2.10 <a name="DirStructLibXX">nuttx/libxx</a></h2>
<p> <p>
This directory holds a tiny, minimal standard std C++ that can be used to This directory holds a tiny, minimal standard std C++ that can be used to
build some, simple C++ applications in NuttX. build some, simple C++ applications in NuttX.
</p> </p>
<h2>2.12 <a name="DirStructMm">mm</a></h2> <h2>2.11 <a name="DirStructMm">nuttx/mm</a></h2>
<p> <p>
This is the NuttX memory manager. This is the NuttX memory manager.
</p> </p>
<h2>2.13 <a name="DirStructNet">net</a></h2> <h2>2.12 <a name="DirStructNet">nuttx/net</a></h2>
<p> <p>
This directory contains the implementation of the socket APIs. This directory contains the implementation of the socket APIs.
The subdirectory, <code>uip</code> contains the uIP port. The subdirectory, <code>uip</code> contains the uIP port.
</P> </P>
<h2>2.14 <a name="DirStructNetUtils">netutils</a></h2> <h2>2.13 <a name="DirStructSched">nuttx/sched</a></h2>
<p>
The files forming core of the NuttX RTOS reside here.
</p>
<h2>2.14 <a name="DirStructTools">nuttx/tools</a></h2>
<p>
This directory holds a collection of tools and scripts to simplify
configuring, building and maintaining NuttX.
</p>
<ul><pre>
tools/
|-- Makefile.mkconfig
|-- configure.sh
|-- incdir.sh
|-- indent.sh
|-- link.sh
|-- mkconfig.c
|-- mkdeps.sh
|-- mkimage.sh
|-- mknulldeps.sh
|-- mkromfsimg.sh
|-- unlink.sh
|-- winlink.sh
`-- zipme
</pre></ul>
<h2>2.15 <a name="topmakefile">nuttx/Makefile</a></h2>
<p>
The top-level <code>Makefile</code> in the <code>${TOPDIR}</code> directory contains all of the top-level control
logic to build NuttX.
Use of this <code>Makefile</code> to build NuttX is described <a href="#buildingnuttx">below</a>.
</p>
<h2>2.16 <a name="DirStructNetUtils">apps/netutils</a></h2>
<p> <p>
This directory contains most of the network applications. This directory contains most of the network applications.
Some of these are original with NuttX (like tftpc and dhcpd) and others were leveraged from the uIP-1.0 apps directory. Some of these are original with NuttX (like tftpc and dhcpd) and others were leveraged from the uIP-1.0 apps directory.
@@ -951,38 +980,14 @@ netutils/
`-- <i>(netutils common files)</i> `-- <i>(netutils common files)</i>
</pre></ul> </pre></ul>
<h2>2.15 <a name="DirStructSched">sched</a></h2> <h2>2.17 <a name="DirStructNshLib">apps/nshlib</a></h2>
<p> <p>
The files forming core of the NuttX RTOS reside here. This directory contains for the core of the NuttShell (NSH) application.
</p> </p>
<h2>2.16 <a name="DirStructTools">tools</a></h2> <h2>2.18 <a name="DirStructExamples">apps/examples</a></h2>
<p> <p>
This directory holds a collection of tools and scripts to simplify Example and test programs to build against.
configuring, building and maintaining NuttX.
</p>
<ul><pre>
tools/
|-- Makefile.mkconfig
|-- configure.sh
|-- incdir.sh
|-- indent.sh
|-- link.sh
|-- mkconfig.c
|-- mkdeps.sh
|-- mkimage.sh
|-- mknulldeps.sh
|-- mkromfsimg.sh
|-- unlink.sh
|-- winlink.sh
`-- zipme
</pre></ul>
<h2>2.17 <a name="topmakefile">Makefile</a></h2>
<p>
The top-level <code>Makefile</code> in the <code>${TOPDIR}</code> directory contains all of the top-level control
logic to build NuttX.
Use of this <code>Makefile</code> to build NuttX is described <a href="#buildingnuttx">below</a>.
</p> </p>
<table width ="100%"> <table width ="100%">
@@ -2663,10 +2668,9 @@ extern void up_ledoff(int led);
<ul> <ul>
<li> <li>
<p> <p>
<code>CONFIG_APP_DIR</code>: Ldentifies the directory that builds the application to link with NuttX. <code>CONFIG_APP_DIR</code>: Identifies the directory that builds the application to link with NuttX.
This symbol must be assigned to the path to the application build directory <i>relative</i> to the NuttX top build direcory. This symbol must be assigned to the path to the application build directory <i>relative</i> to the NuttX top build directory.
As an an example, there are several example applicatins in the NuttX <code>examples/</code> sub-directory. If the application resides in the top-level <code>apps</code> directory, it is not necessary to define <code>CONFIG_APP_DIR</code>.
To use one of these example applications, say <code>nsh</code>, you would set <code>CONFIG_APP_DIR=examples/nsh</code>.
If you had an application directory and the NuttX directory both within another directory like this: If you had an application directory and the NuttX directory both within another directory like this:
<ul><pre> <ul><pre>
build build
@@ -2874,7 +2878,7 @@ build
<li> <li>
<code>CONFIG_NXFLAT</code>: Enable support for the NXFLAT binary format. <code>CONFIG_NXFLAT</code>: Enable support for the NXFLAT binary format.
This format will support execution of NuttX binaries located This format will support execution of NuttX binaries located
in a ROMFS filesystem (see <code>examples/nxflat</code>). in a ROMFS filesystem (see <code>apps/examples/nxflat</code>).
</li> </li>
<li> <li>
<code>CONFIG_SCHED_WORKQUEUE</code>: Create a dedicated "worker" thread to <code>CONFIG_SCHED_WORKQUEUE</code>: Create a dedicated "worker" thread to
+3 -3
View File
@@ -165,9 +165,6 @@
| | `- <a href="nuttx/configs/README.txt?view=log"><b><i>README.txt</i></b></a> | | `- <a href="nuttx/configs/README.txt?view=log"><b><i>README.txt</i></b></a>
| |- drivers/ | |- drivers/
| | `- <a href="nuttx/drivers/README.txt?view=log"><b><i>README.txt</i></b></a> | | `- <a href="nuttx/drivers/README.txt?view=log"><b><i>README.txt</i></b></a>
| |- examples/
| | |- <a href="nuttx/examples/pashello/README.txt?view=log">pashello/README.txt</a>
| | `- <a href="nuttx/examples/README.txt?view=log"><b><i>README.txt</i></b></a>
| |- graphics/ | |- graphics/
| | `- <a href="nuttx/graphics/README.txt?view=log"><b><i>README.txt</i></b></a> | | `- <a href="nuttx/graphics/README.txt?view=log"><b><i>README.txt</i></b></a>
| |- libxx/ | |- libxx/
@@ -180,6 +177,9 @@
| `- <a href="apps/netutils/README?view=log"><b><i>README</i></b></a> | `- <a href="apps/netutils/README?view=log"><b><i>README</i></b></a>
|- nshlib/ |- nshlib/
| |- <a href="apps/nshlib/README.txt?view=log"><b><i>README.txt</i></b></a> | |- <a href="apps/nshlib/README.txt?view=log"><b><i>README.txt</i></b></a>
|- examples/
| |- <a href="apps/examples/pashello/README.txt?view=log">pashello/README.txt</a>
| `- <a href="apps/examples/README.txt?view=log"><b><i>README.txt</i></b></a>
`- vsn/ `- vsn/
|- <a href="apps/vsn/free/README.txt?view=log">free/README.txt</a> |- <a href="apps/vsn/free/README.txt?view=log">free/README.txt</a>
|- <a href="apps/vsn/hello/README.txt?view=log">hello/README.txt</a> |- <a href="apps/vsn/hello/README.txt?view=log">hello/README.txt</a>
+2 -2
View File
@@ -9,7 +9,7 @@
<tr align="center" bgcolor="#e4e4e4"> <tr align="center" bgcolor="#e4e4e4">
<td> <td>
<h1><big><font color="#3c34ec"><i>NuttX USB Device Trace</i></font></big></h1> <h1><big><font color="#3c34ec"><i>NuttX USB Device Trace</i></font></big></h1>
<p>Last Updated: February 25, 2010</p> <p>Last Updated: March 20, 2011</p>
</td> </td>
</tr> </tr>
</table> </table>
@@ -134,7 +134,7 @@
Otherwise, the trace data goes to console. Otherwise, the trace data goes to console.
<p> <p>
<p><b>Example</b>. <p><b>Example</b>.
Here is an example of USB trace output using <code>examples/usbserial</code> for an LPC1768 platform with the following NuttX configuration settings: Here is an example of USB trace output using <code>apps/examples/usbserial</code> for an LPC1768 platform with the following NuttX configuration settings:
</p> </p>
<ul> <ul>
<li><code>CONFIG_DEBUG</code>, <code>CONFIG_DEBUG_VERBOSE</code>, <code>CONFIG_USB</code> <li><code>CONFIG_DEBUG</code>, <code>CONFIG_DEBUG_VERBOSE</code>, <code>CONFIG_USB</code>
+21 -11
View File
@@ -62,23 +62,23 @@ BOARD_DIR = configs/$(CONFIG_ARCH_BOARD)
# Add-on directories. These may or may not be in place in the # Add-on directories. These may or may not be in place in the
# NuttX source tree (they must be specifically installed) # NuttX source tree (they must be specifically installed)
# #
# APPS_LOC can be over-ridden from the command line: # APPLOC can be over-ridden from the command line or in the .config file:
ifeq ($(CONFIG_BUILTIN_APPS),y) ifeq ($(CONFIG_BUILTIN_APPS),y)
ifeq ($(APPS_LOC),) ifeq ($(APPLOC),)
APPS_LOC = ../apps APPLOC = ../apps
endif endif
APPS_DIR := ${shell if [ -r $(APPS_LOC)/Makefile ]; then echo "$(APPS_LOC)"; fi} APPDIR := ${shell if [ -r $(APPLOC)/Makefile ]; then echo "$(APPLOC)"; fi}
endif endif
PCODE_DIR := ${shell if [ -r pcode/Makefile ]; then echo "pcode"; fi} PCODE_DIR := ${shell if [ -r pcode/Makefile ]; then echo "pcode"; fi}
ADDON_DIRS := $(PCODE_DIR) $(NX_DIR) $(APPS_DIR) ADDON_DIRS := $(PCODE_DIR) $(NX_DIR) $(APPDIR)
# FSDIRS depend on file descriptor support; NONFSDIRS do not # FSDIRS depend on file descriptor support; NONFSDIRS do not
# (except for parts of FSDIRS). We will exclude FSDIRS # (except for parts of FSDIRS). We will exclude FSDIRS
# from the build if file descriptor support is disabled # from the build if file descriptor support is disabled
NONFSDIRS = sched lib $(ARCH_SRC) mm $(CONFIG_APP_DIR) $(ADDON_DIRS) NONFSDIRS = sched lib $(ARCH_SRC) mm $(ADDON_DIRS)
FSDIRS = fs drivers binfmt FSDIRS = fs drivers binfmt
CONTEXTDIRS = CONTEXTDIRS =
@@ -87,6 +87,10 @@ NONFSDIRS += graphics
CONTEXTDIRS += graphics CONTEXTDIRS += graphics
endif endif
ifneq ($(CONFIG_APP_DIR),)
NONFSDIRS = $(CONFIG_APP_DIR)
endif
# CLEANDIRS are the directories that will clean in. These are # CLEANDIRS are the directories that will clean in. These are
# all directories that we know about. # all directories that we know about.
# MAKEDIRS are the directories in which we will build targets # MAKEDIRS are the directories in which we will build targets
@@ -99,7 +103,7 @@ ifneq ($(CONFIG_NSOCKET_DESCRIPTORS),0)
MAKEDIRS += fs MAKEDIRS += fs
endif endif
ifeq ($(CONFIG_NET),y) ifeq ($(CONFIG_NET),y)
MAKEDIRS += drivers MAKEDIRS += net
endif endif
else else
MAKEDIRS += $(FSDIRS) MAKEDIRS += $(FSDIRS)
@@ -123,7 +127,7 @@ endif
# is disabled. # is disabled.
LINKLIBS = sched/libsched$(LIBEXT) $(ARCH_SRC)/libarch$(LIBEXT) mm/libmm$(LIBEXT) \ LINKLIBS = sched/libsched$(LIBEXT) $(ARCH_SRC)/libarch$(LIBEXT) mm/libmm$(LIBEXT) \
lib/liblib$(LIBEXT) $(CONFIG_APP_DIR)/libapp$(LIBEXT) lib/liblib$(LIBEXT)
# Add libraries for network support. CXX, CXXFLAGS, and COMPILEXX must # Add libraries for network support. CXX, CXXFLAGS, and COMPILEXX must
# be defined in Make.defs for this to work! # be defined in Make.defs for this to work!
@@ -132,12 +136,18 @@ ifeq ($(CONFIG_HAVE_CXX),y)
LINKLIBS += libxx/liblibxx$(LIBEXT) LINKLIBS += libxx/liblibxx$(LIBEXT)
endif endif
# Add application-specific library
ifneq ($(CONFIG_APP_DIR),)
LINKLIBS = $(CONFIG_APP_DIR)/libapp$(LIBEXT)
endif
# Add library for application support # Add library for application support
# Always compile the framework which includes exec_nuttapp if users # Always compile the framework which includes exec_nuttapp if users
# or nuttX applications are to be included. # or nuttX applications are to be included.
ifeq ($(CONFIG_BUILTIN_APPS),y) ifeq ($(CONFIG_BUILTIN_APPS),y)
LINKLIBS += $(APPS_DIR)/libapps$(LIBEXT) LINKLIBS += $(APPDIR)/libapps$(LIBEXT)
endif endif
# Add libraries for network support # Add libraries for network support
@@ -259,8 +269,8 @@ fs/libfs$(LIBEXT): context
drivers/libdrivers$(LIBEXT): context drivers/libdrivers$(LIBEXT): context
@$(MAKE) -C drivers TOPDIR="$(TOPDIR)" libdrivers$(LIBEXT) @$(MAKE) -C drivers TOPDIR="$(TOPDIR)" libdrivers$(LIBEXT)
$(APPS_DIR)/libapps$(LIBEXT): context $(APPDIR)/libapps$(LIBEXT): context
@$(MAKE) -C $(APPS_DIR) TOPDIR="$(TOPDIR)" libapps$(LIBEXT) @$(MAKE) -C $(APPDIR) TOPDIR="$(TOPDIR)" libapps$(LIBEXT)
binfmt/libbinfmt$(LIBEXT): context binfmt/libbinfmt$(LIBEXT): context
@$(MAKE) -C binfmt TOPDIR="$(TOPDIR)" libbinfmt$(LIBEXT) @$(MAKE) -C binfmt TOPDIR="$(TOPDIR)" libbinfmt$(LIBEXT)
+27 -28
View File
@@ -18,7 +18,6 @@ nuttx/
(1) Pascal add-on (pcode/) (1) Pascal add-on (pcode/)
(1) Documentation (Documentation/) (1) Documentation (Documentation/)
(5) Build system / Toolchains (5) Build system / Toolchains
(3) Other Applications & Tests (examples/)
(7) Linux/Cywgin simulation (arch/sim) (7) Linux/Cywgin simulation (arch/sim)
(3) ARM (arch/arm/) (3) ARM (arch/arm/)
(1) ARM/C5471 (arch/arm/src/c5471/) (1) ARM/C5471 (arch/arm/src/c5471/)
@@ -42,6 +41,7 @@ apps/
(5) Network Utilities (apps/netutils/) (5) Network Utilities (apps/netutils/)
(4) NuttShell (NSH) (apps/nshlib) (4) NuttShell (NSH) (apps/nshlib)
(3) Other Applications & Tests (apps/examples/)
o Task/Scheduler (sched/) o Task/Scheduler (sched/)
^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^
@@ -152,7 +152,7 @@ o C++ Support
o Binary loaders (binfmt/) o Binary loaders (binfmt/)
^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^
Description: Not all of the NXFLAT test under examples/nxflat are working. Description: Not all of the NXFLAT test under apps/examples/nxflat are working.
Most simply do not compile yet. tests/mutex runs okay but Most simply do not compile yet. tests/mutex runs okay but
outputs garbage on completion. outputs garbage on completion.
Status: Open Status: Open
@@ -454,7 +454,7 @@ o Graphics subystem (graphics/)
Status: Open Status: Open
Priority: Medium Priority: Medium
Description: The examples/nx test using lcd/p14201.c and the configs/lm3s6965-ek Description: The apps/examples/nx test using lcd/p14201.c and the configs/lm3s6965-ek
configuration shows two single pixel-wide anomalies. One along configuration shows two single pixel-wide anomalies. One along
column zero is clearly caused by the NX windowing logic. It is column zero is clearly caused by the NX windowing logic. It is
not certain if these are consequences of the 4bpp logic or if these not certain if these are consequences of the 4bpp logic or if these
@@ -516,26 +516,6 @@ o Build system
Priority: High if you are using NX and a newer compiler. Priority: High if you are using NX and a newer compiler.
o Other Applications & Tests (examples/)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Description: The redirection test (part of examples/pipe) terminates
incorrectly on the Cywgin-based simulation platform (but works
fine on the Linux-based simulation platform).
Status: Open
Priority: Low
Description: examples/wget is untested on the target (it has been tested
on the host, but not in the target using the uIP resolv logic).
Status: Open
Priority: Med
Description: examples/sendmail is untested on the target (it has been tested
on the host, but not on the target.
Status: Open
Priority: Med
o Linux/Cywgin simulation (arch/sim) o Linux/Cywgin simulation (arch/sim)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -840,7 +820,7 @@ o ARM/STM32 (arch/arm/src/stm32/)
Priority: Low Priority: Low
Description A USB device-side driver is in place but not well tested. At Description A USB device-side driver is in place but not well tested. At
present, the examples/usbserial test sometimes fails. The situation present, the apps/examples/usbserial test sometimes fails. The situation
that causes the failure is: that causes the failure is:
- Host-side of the test started after the target side sends the - Host-side of the test started after the target side sends the
@@ -897,8 +877,8 @@ o 8051 / MCS51 (arch/8051/)
sched/gmtime_r.c aroud lines 184 and 185 sched/gmtime_r.c aroud lines 184 and 185
sched/clock_initialize.c at line 107 sched/clock_initialize.c at line 107
sched/pthread_create.c at 330 sched/pthread_create.c at 330
examples/ostest/barrier.c around lines 53 and 74 apps/examples/ostest/barrier.c around lines 53 and 74
examples/ostest/sighand.c at 225 and 244 apps/examples/ostest/sighand.c at 225 and 244
driver/serial.c in usleep calls around 347 and 354 driver/serial.c in usleep calls around 347 and 354
Status: Open. Update: These were reviewed during the hcs12 port. The Status: Open. Update: These were reviewed during the hcs12 port. The
hcs12 also has 16-bit integer types (if -mshort is in the CFLAGS). hcs12 also has 16-bit integer types (if -mshort is in the CFLAGS).
@@ -1075,7 +1055,7 @@ o z16 (arch/z16)
interim for system testing. interim for system testing.
Description: The system delays do not appear to be correct with the Description: The system delays do not appear to be correct with the
examples/ostest/timedmqueue.c test. apps/examples/ostest/timedmqueue.c test.
Status: Open Status: Open
Priority: Medium-High Priority: Medium-High
@@ -1178,7 +1158,7 @@ o Network Utilities (apps/netutils/)
Description: Not all THTTPD features/options have been verified. In particular, there is no Description: Not all THTTPD features/options have been verified. In particular, there is no
test case of a CGI program receiving POST input. Only the configuration of test case of a CGI program receiving POST input. Only the configuration of
examples/thttpd has been tested. apps/examples/thttpd has been tested.
Status: Open Status: Open
Priority: Medium Priority: Medium
@@ -1221,4 +1201,23 @@ o NuttShell (NSH) (apps/nshlib)
Status: Open Status: Open
Priority: Low (enhancement) Priority: Low (enhancement)
o Other Applications & Tests (apps/examples/)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Description: The redirection test (part of examples/pipe) terminates
incorrectly on the Cywgin-based simulation platform (but works
fine on the Linux-based simulation platform).
Status: Open
Priority: Low
Description: examples/wget is untested on the target (it has been tested
on the host, but not in the target using the uIP resolv logic).
Status: Open
Priority: Med
Description: examples/sendmail is untested on the target (it has been tested
on the host, but not on the target.
Status: Open
Priority: Med
+43 -36
View File
@@ -1,36 +1,43 @@
############################################################################ ############################################################################
# avrdev1/nsh/appconfig # configs/avr32dev1/nsh/appconfig
# #
# Copyright (C) 2011 Gregory Nutt. All rights reserved. # Copyright (C) 2011 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
# modification, are permitted provided that the following conditions # modification, are permitted provided that the following conditions
# are met: # are met:
# #
# 1. Redistributions of source code must retain the above copyright # 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright # 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in # notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the # the documentation and/or other materials provided with the
# distribution. # distribution.
# 3. Neither the name NuttX nor the names of its contributors may be # 3. Neither the name NuttX nor the names of its contributors may be
# used to endorse or promote products derived from this software # used to endorse or promote products derived from this software
# without specific prior written permission. # without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, # COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE. # POSSIBILITY OF SUCH DAMAGE.
# #
############################################################################ ############################################################################
CONFIGURED_APPS += nshlib=.built_always # Path to example in apps/examples containing the user_start entry point
CONFIGURED_APPS += examples/nsh=.built_always
# The NSH Library
CONFIGURED_APPS += nshlib=.built_always
+1 -1
View File
@@ -305,7 +305,7 @@ CONFIG_HAVE_LIBM=n
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up # CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
# the worker thread. Default: 4 # the worker thread. Default: 4
# #
CONFIG_APP_DIR=examples/nsh #CONFIG_APP_DIR=
CONFIG_DEBUG=n CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n CONFIG_DEBUG_SYMBOLS=n
@@ -1,7 +1,7 @@
############################################################################ ############################################################################
# examples/dhcpd/Makefile.host # configs/avr32dev1/ostest/appconfig
# #
# Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. # Copyright (C) 2011 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
@@ -33,30 +33,7 @@
# #
############################################################################ ############################################################################
WD = ${shell pwd} # Path to example in apps/examples containing the user_start entry point
TOPDIR = $(WD)/../..
include $(TOPDIR)/Make.defs
OBJS = host.o1 dhcpd.o1
BIN = dhcpd
HOSTCFLAGS += -DCONFIG_NETUTILS_DHCPD_HOST=1
HOSTCFLAGS += -DCONFIG_NETUTILS_DHCPD_INTERFACE=\"eth1\"
HOSTCFLAGS += -DHAVE_SO_REUSEADDR=1
HOSTCFLAGS += -DHAVE_SO_BROADCAST=1
VPATH = $(TOPDIR)/netutils/dhcpd:.
all: $(BIN)
.PHONY: clean context clean_context distclean
$(OBJS): %.o1: %.c
$(HOSTCC) -c $(HOSTCFLAGS) $< -o $@
$(BIN): $(OBJS)
$(HOSTCC) $(HOSTLDFLAGS) $^ -o $@
clean:
@rm -f $(BIN).* *.o1 *~
CONFIGURED_APPS += examples/ostest=.built_always
+1 -1
View File
@@ -305,7 +305,7 @@ CONFIG_HAVE_LIBM=n
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up # CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
# the worker thread. Default: 4 # the worker thread. Default: 4
# #
CONFIG_APP_DIR=examples/ostest #CONFIG_APP_DIR=
CONFIG_DEBUG=n CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n CONFIG_DEBUG_SYMBOLS=n
+46 -41
View File
@@ -1,41 +1,46 @@
############################################################################ ############################################################################
# c5471evm/httpd/appconfig # configs/c5471evm/httpd/appconfig
# #
# Copyright (C) 2011 Gregory Nutt. All rights reserved. # Copyright (C) 2011 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
# modification, are permitted provided that the following conditions # modification, are permitted provided that the following conditions
# are met: # are met:
# #
# 1. Redistributions of source code must retain the above copyright # 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright # 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in # notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the # the documentation and/or other materials provided with the
# distribution. # distribution.
# 3. Neither the name NuttX nor the names of its contributors may be # 3. Neither the name NuttX nor the names of its contributors may be
# used to endorse or promote products derived from this software # used to endorse or promote products derived from this software
# without specific prior written permission. # without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, # COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE. # POSSIBILITY OF SUCH DAMAGE.
# #
############################################################################ ############################################################################
# Networking support # Path to example in apps/examples containing the user_start entry point
CONFIGURED_APPS += netutils/uiplib=.built_always CONFIGURED_APPS += examples/uip=.built_always
CONFIGURED_APPS += netutils/dhcpc=.built_always
CONFIGURED_APPS += netutils/resolv=.built_always
CONFIGURED_APPS += netutils/webserver=.built_always # Networking support
CONFIGURED_APPS += netutils/uiplib=.built_always
CONFIGURED_APPS += netutils/dhcpc=.built_always
CONFIGURED_APPS += netutils/resolv=.built_always
CONFIGURED_APPS += netutils/webserver=.built_always
+1 -1
View File
@@ -200,7 +200,7 @@ CONFIG_HAVE_LIBM=n
# This format will support execution of NuttX binaries located # This format will support execution of NuttX binaries located
# in a ROMFS filesystem (see examples/nxflat). # in a ROMFS filesystem (see examples/nxflat).
# #
CONFIG_APP_DIR=examples/uip #CONFIG_APP_DIR=
CONFIG_DEBUG=n CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n CONFIG_DEBUG_SYMBOLS=n
+43 -38
View File
@@ -1,38 +1,43 @@
############################################################################ ############################################################################
# c5471evm/nettest/appconfig # configs/c5471evm/nettest/appconfig
# #
# Copyright (C) 2011 Gregory Nutt. All rights reserved. # Copyright (C) 2011 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
# modification, are permitted provided that the following conditions # modification, are permitted provided that the following conditions
# are met: # are met:
# #
# 1. Redistributions of source code must retain the above copyright # 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright # 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in # notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the # the documentation and/or other materials provided with the
# distribution. # distribution.
# 3. Neither the name NuttX nor the names of its contributors may be # 3. Neither the name NuttX nor the names of its contributors may be
# used to endorse or promote products derived from this software # used to endorse or promote products derived from this software
# without specific prior written permission. # without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, # COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE. # POSSIBILITY OF SUCH DAMAGE.
# #
############################################################################ ############################################################################
# Networking support # Path to example in apps/examples containing the user_start entry point
CONFIGURED_APPS += netutils/uiplib=.built_always CONFIGURED_APPS += examples/nettest=.built_always
# Networking support
CONFIGURED_APPS += netutils/uiplib=.built_always
+1 -1
View File
@@ -200,7 +200,7 @@ CONFIG_NET_C5471_BASET10=n
# This format will support execution of NuttX binaries located # This format will support execution of NuttX binaries located
# in a ROMFS filesystem (see examples/nxflat). # in a ROMFS filesystem (see examples/nxflat).
# #
CONFIG_APP_DIR=examples/nettest #CONFIG_APP_DIR=
CONFIG_DEBUG=n CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n CONFIG_DEBUG_SYMBOLS=n
+54 -48
View File
@@ -1,48 +1,54 @@
############################################################################ ############################################################################
# c5471evm/nsh/appconfig # configs/c5471evm/nsh/appconfig
# #
# Copyright (C) 2011 Gregory Nutt. All rights reserved. # Copyright (C) 2011 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
# modification, are permitted provided that the following conditions # modification, are permitted provided that the following conditions
# are met: # are met:
# #
# 1. Redistributions of source code must retain the above copyright # 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright # 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in # notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the # the documentation and/or other materials provided with the
# distribution. # distribution.
# 3. Neither the name NuttX nor the names of its contributors may be # 3. Neither the name NuttX nor the names of its contributors may be
# used to endorse or promote products derived from this software # used to endorse or promote products derived from this software
# without specific prior written permission. # without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, # COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE. # POSSIBILITY OF SUCH DAMAGE.
# #
############################################################################ ############################################################################
# NSH library # Path to example in apps/examples containing the user_start entry point
CONFIGURED_APPS += nshlib=.built_always CONFIGURED_APPS += examples/nsh=.built_always
# Networking support # NSH library
ifeq ($(CONFIG_NET),y) CONFIGURED_APPS += nshlib=.built_always
CONFIGURED_APPS += netutils/uiplib=.built_always
CONFIGURED_APPS += netutils/dhcpc=.built_always # Networking support
CONFIGURED_APPS += netutils/resolv=.built_always
CONFIGURED_APPS += netutils/tftp=.built_always ifeq ($(CONFIG_NET),y)
CONFIGURED_APPS += netutils/webclient=.built_always CONFIGURED_APPS += netutils/uiplib=.built_always
endif CONFIGURED_APPS += netutils/dhcpc=.built_always
CONFIGURED_APPS += netutils/resolv=.built_always
CONFIGURED_APPS += netutils/tftpc=.built_always
CONFIGURED_APPS += netutils/webclient=.built_always
endif
+1 -1
View File
@@ -200,7 +200,7 @@ CONFIG_HAVE_LIBM=n
# This format will support execution of NuttX binaries located # This format will support execution of NuttX binaries located
# in a ROMFS filesystem (see examples/nxflat). # in a ROMFS filesystem (see examples/nxflat).
# #
CONFIG_APP_DIR=examples/nsh #CONFIG_APP_DIR=
CONFIG_DEBUG=n CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n CONFIG_DEBUG_SYMBOLS=n
@@ -1,5 +1,5 @@
############################################################################ ############################################################################
# examples/mm/Makefile # configs/c5471evm/ostest/appconfig
# #
# Copyright (C) 2011 Gregory Nutt. All rights reserved. # Copyright (C) 2011 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr> # Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -33,43 +33,7 @@
# #
############################################################################ ############################################################################
-include $(TOPDIR)/.config # Path to example in apps/examples containing the user_start entry point
-include $(TOPDIR)/Make.defs
ASRCS = CONFIGURED_APPS += examples/ostest=.built_always
AOBJS = $(ASRCS:.S=$(OBJEXT))
CSRCS = mm_main.c
COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS)
OBJS = $(AOBJS) $(COBJS)
BIN = libapp$(LIBEXT)
all: $(BIN)
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
$(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
$(BIN): $(OBJS)
@( for obj in $(OBJS) ; do \
$(call ARCHIVE, $@, $${obj}); \
done ; )
.depend: Makefile $(SRCS)
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
clean:
@rm -f $(BIN) *~ .*.swp
$(call CLEAN)
distclean: clean
@rm -f Make.dep .depend
-include Make.dep
+1 -1
View File
@@ -200,7 +200,7 @@ CONFIG_HAVE_LIBM=n
# This format will support execution of NuttX binaries located # This format will support execution of NuttX binaries located
# in a ROMFS filesystem (see examples/nxflat). # in a ROMFS filesystem (see examples/nxflat).
# #
CONFIG_APP_DIR=examples/ostest #CONFIG_APP_DIR=
CONFIG_DEBUG=n CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n CONFIG_DEBUG_SYMBOLS=n
@@ -1,5 +1,5 @@
############################################################################ ############################################################################
# examples/hidkbd/Makefile # configs/demo9s12ne64/ostest/appconfig
# #
# Copyright (C) 2011 Gregory Nutt. All rights reserved. # Copyright (C) 2011 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr> # Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -33,43 +33,7 @@
# #
############################################################################ ############################################################################
-include $(TOPDIR)/.config # Path to example in apps/examples containing the user_start entry point
-include $(TOPDIR)/Make.defs
ASRCS = CONFIGURED_APPS += examples/ostest=.built_always
AOBJS = $(ASRCS:.S=$(OBJEXT))
CSRCS = hidkbd_main.c
COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS)
OBJS = $(AOBJS) $(COBJS)
BIN = libapp$(LIBEXT)
all: $(BIN)
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
$(COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
$(BIN): $(OBJS)
@( for obj in $(OBJS) ; do \
$(call ARCHIVE, $@, $${obj}); \
done ; )
.depend: Makefile $(SRCS)
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
clean:
@rm -f $(BIN) *~ .*.swp
$(call CLEAN)
distclean: clean
@rm -f Make.dep .depend
-include Make.dep
+1 -1
View File
@@ -283,7 +283,7 @@ CONFIG_PASS1_OBJECT=init.r
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up # CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
# the worker thread. Default: 4 # the worker thread. Default: 4
# #
CONFIG_APP_DIR=examples/ostest #CONFIG_APP_DIR=
CONFIG_DEBUG=n CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n CONFIG_DEBUG_SYMBOLS=n
+39
View File
@@ -0,0 +1,39 @@
############################################################################
# configs/detron/hidkbd/appconfig
#
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the
# distribution.
# 3. Neither the name NuttX nor the names of its contributors may be
# used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
############################################################################
# Path to example in apps/examples containing the user_start entry point
CONFIGURED_APPS += examples/hidkbd=.built_always
+1 -1
View File
@@ -323,7 +323,7 @@ CONFIG_HAVE_LIBM=n
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up # CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
# the worker thread. Default: 4 # the worker thread. Default: 4
# #
CONFIG_APP_DIR=examples/hidkbd #CONFIG_APP_DIR=
CONFIG_DEBUG=n CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n CONFIG_DEBUG_SYMBOLS=n
+54 -48
View File
@@ -1,48 +1,54 @@
############################################################################ ############################################################################
# detron/nsh/appconfig # configs/detron/nsh/appconfig
# #
# Copyright (C) 2011 Gregory Nutt. All rights reserved. # Copyright (C) 2011 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
# modification, are permitted provided that the following conditions # modification, are permitted provided that the following conditions
# are met: # are met:
# #
# 1. Redistributions of source code must retain the above copyright # 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright # 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in # notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the # the documentation and/or other materials provided with the
# distribution. # distribution.
# 3. Neither the name NuttX nor the names of its contributors may be # 3. Neither the name NuttX nor the names of its contributors may be
# used to endorse or promote products derived from this software # used to endorse or promote products derived from this software
# without specific prior written permission. # without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, # COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE. # POSSIBILITY OF SUCH DAMAGE.
# #
############################################################################ ############################################################################
# NSH library # Path to example in apps/examples containing the user_start entry point
CONFIGURED_APPS += nshlib=.built_always CONFIGURED_APPS += examples/nsh=.built_always
# Networking support # NSH library
ifeq ($(CONFIG_NET),y) CONFIGURED_APPS += nshlib=.built_always
CONFIGURED_APPS += netutils/uiplib=.built_always
CONFIGURED_APPS += netutils/dhcpc=.built_always # Networking support
CONFIGURED_APPS += netutils/resolv=.built_always
CONFIGURED_APPS += netutils/tftp=.built_always ifeq ($(CONFIG_NET),y)
CONFIGURED_APPS += netutils/webclient=.built_always CONFIGURED_APPS += netutils/uiplib=.built_always
endif CONFIGURED_APPS += netutils/dhcpc=.built_always
CONFIGURED_APPS += netutils/resolv=.built_always
CONFIGURED_APPS += netutils/tftpc=.built_always
CONFIGURED_APPS += netutils/webclient=.built_always
endif
+1 -1
View File
@@ -327,7 +327,7 @@ CONFIG_HAVE_LIBM=n
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up # CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
# the worker thread. Default: 4 # the worker thread. Default: 4
# #
CONFIG_APP_DIR=examples/nsh #CONFIG_APP_DIR=
CONFIG_DEBUG=n CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n CONFIG_DEBUG_SYMBOLS=n
+39
View File
@@ -0,0 +1,39 @@
############################################################################
# configs/detron/ostest/appconfig
#
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the
# distribution.
# 3. Neither the name NuttX nor the names of its contributors may be
# used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
############################################################################
# Path to example in apps/examples containing the user_start entry point
CONFIGURED_APPS += examples/ostest=.built_always
+1 -1
View File
@@ -319,7 +319,7 @@ CONFIG_HAVE_LIBM=n
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up # CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
# the worker thread. Default: 4 # the worker thread. Default: 4
# #
CONFIG_APP_DIR=examples/ostest #CONFIG_APP_DIR=
CONFIG_DEBUG=n CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n CONFIG_DEBUG_SYMBOLS=n
+39
View File
@@ -0,0 +1,39 @@
############################################################################
# configs/detron/wlan/appconfig
#
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the
# distribution.
# 3. Neither the name NuttX nor the names of its contributors may be
# used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
############################################################################
# Path to example in apps/examples containing the user_start entry point
CONFIGURED_APPS += examples/wlan=.built_always
+1 -1
View File
@@ -326,7 +326,7 @@ CONFIG_HAVE_LIBM=n
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up # CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
# the worker thread. Default: 4 # the worker thread. Default: 4
# #
CONFIG_APP_DIR=examples/wlan #CONFIG_APP_DIR=
CONFIG_DEBUG=n CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n CONFIG_DEBUG_SYMBOLS=n
+43 -36
View File
@@ -1,36 +1,43 @@
############################################################################ ############################################################################
# ea3131/nsh/appconfig # configs/ea3131/nsh/appconfig
# #
# Copyright (C) 2011 Gregory Nutt. All rights reserved. # Copyright (C) 2011 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
# modification, are permitted provided that the following conditions # modification, are permitted provided that the following conditions
# are met: # are met:
# #
# 1. Redistributions of source code must retain the above copyright # 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright # 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in # notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the # the documentation and/or other materials provided with the
# distribution. # distribution.
# 3. Neither the name NuttX nor the names of its contributors may be # 3. Neither the name NuttX nor the names of its contributors may be
# used to endorse or promote products derived from this software # used to endorse or promote products derived from this software
# without specific prior written permission. # without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, # COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE. # POSSIBILITY OF SUCH DAMAGE.
# #
############################################################################ ############################################################################
CONFIGURED_APPS += nshlib=.built_always # Path to example in apps/examples containing the user_start entry point
CONFIGURED_APPS += examples/nsh=.built_always
# The NSH library
CONFIGURED_APPS += nshlib=.built_always
+1 -1
View File
@@ -290,7 +290,7 @@ CONFIG_HAVE_LIBM=n
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up # CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
# the worker thread. Default: 4 # the worker thread. Default: 4
# #
CONFIG_APP_DIR=examples/nsh #CONFIG_APP_DIR=
CONFIG_DEBUG=n CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n CONFIG_DEBUG_SYMBOLS=n
+39
View File
@@ -0,0 +1,39 @@
############################################################################
# configs/ea3131/ostest/appconfig
#
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the
# distribution.
# 3. Neither the name NuttX nor the names of its contributors may be
# used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
############################################################################
# Path to example in apps/examples containing the user_start entry point
CONFIGURED_APPS += examples/ostest=.built_always
+1 -1
View File
@@ -290,7 +290,7 @@ CONFIG_HAVE_LIBM=n
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up # CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
# the worker thread. Default: 4 # the worker thread. Default: 4
# #
CONFIG_APP_DIR=examples/ostest #CONFIG_APP_DIR=
CONFIG_DEBUG=n CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n CONFIG_DEBUG_SYMBOLS=n
@@ -1,7 +1,7 @@
############################################################################ ############################################################################
# examples/poll/Makefile.host # configs/ea3131/pgnsh/appconfig
# #
# Copyright (C) 2008, 2009 Gregory Nutt. All rights reserved. # Copyright (C) 2011 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
@@ -33,19 +33,12 @@
# #
############################################################################ ############################################################################
include $(TOPDIR)/.config # Path to example in apps/examples containing the user_start entry point
include $(TOPDIR)/Make.defs
SRC = host.c CONFIGURED_APPS += examples/nsh=.built_always
BIN = host
DEFINES = -DTARGETIP=\"$(TARGETIP)\" # The NSH library
all: $(BIN) CONFIGURED_APPS += nshlib=.built_always
$(BIN): $(SRC)
$(HOSTCC) $(HOSTCFLAGS) $(DEFINES) $^ -o $@
clean:
@rm -f $(BIN) *~ .*.swp *.o
$(call CLEAN)
+1 -1
View File
@@ -297,7 +297,7 @@ CONFIG_PASS1_OBJECT=locked.r
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up # CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
# the worker thread. Default: 4 # the worker thread. Default: 4
# #
CONFIG_APP_DIR=examples/nsh #CONFIG_APP_DIR=
CONFIG_DEBUG=n CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n CONFIG_DEBUG_SYMBOLS=n
+39
View File
@@ -0,0 +1,39 @@
############################################################################
# configs/ea3131/usbserial/appconfig
#
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the
# distribution.
# 3. Neither the name NuttX nor the names of its contributors may be
# used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
############################################################################
# Path to example in apps/examples containing the user_start entry point
CONFIGURED_APPS += examples/usbserial=.built_always
+1 -1
View File
@@ -290,7 +290,7 @@ CONFIG_HAVE_LIBM=n
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up # CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
# the worker thread. Default: 4 # the worker thread. Default: 4
# #
CONFIG_APP_DIR=examples/usbserial #CONFIG_APP_DIR=
CONFIG_DEBUG=n CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_FS=n CONFIG_DEBUG_FS=n
+39
View File
@@ -0,0 +1,39 @@
############################################################################
# configs/ea3131/usbstorage/appconfig
#
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the
# distribution.
# 3. Neither the name NuttX nor the names of its contributors may be
# used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
############################################################################
# Path to example in apps/examples containing the user_start entry point
CONFIGURED_APPS += examples/usbstorage=.built_always
+1 -1
View File
@@ -290,7 +290,7 @@ CONFIG_HAVE_LIBM=n
# CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up # CONFIG_SIG_SIGWORK - The signal number that will be used to wake-up
# the worker thread. Default: 4 # the worker thread. Default: 4
# #
CONFIG_APP_DIR=examples/usbstorage #CONFIG_APP_DIR=
CONFIG_DEBUG=n CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_FS=n CONFIG_DEBUG_FS=n
+46 -41
View File
@@ -1,41 +1,46 @@
############################################################################ ############################################################################
# eagle100/httpd/appconfig # configs/eagle100/httpd/appconfig
# #
# Copyright (C) 2011 Gregory Nutt. All rights reserved. # Copyright (C) 2011 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
# modification, are permitted provided that the following conditions # modification, are permitted provided that the following conditions
# are met: # are met:
# #
# 1. Redistributions of source code must retain the above copyright # 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright # 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in # notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the # the documentation and/or other materials provided with the
# distribution. # distribution.
# 3. Neither the name NuttX nor the names of its contributors may be # 3. Neither the name NuttX nor the names of its contributors may be
# used to endorse or promote products derived from this software # used to endorse or promote products derived from this software
# without specific prior written permission. # without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, # COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE. # POSSIBILITY OF SUCH DAMAGE.
# #
############################################################################ ############################################################################
# Networking support # Path to example in apps/examples containing the user_start entry point
CONFIGURED_APPS += netutils/uiplib=.built_always CONFIGURED_APPS += examples/uip=.built_always
CONFIGURED_APPS += netutils/dhcpc=.built_always
CONFIGURED_APPS += netutils/resolv=.built_always
CONFIGURED_APPS += netutils/webserver=.built_always # Networking support
CONFIGURED_APPS += netutils/uiplib=.built_always
CONFIGURED_APPS += netutils/dhcpc=.built_always
CONFIGURED_APPS += netutils/resolv=.built_always
CONFIGURED_APPS += netutils/webserver=.built_always
+1 -1
View File
@@ -268,7 +268,7 @@ CONFIG_HAVE_LIBM=n
# This format will support execution of NuttX binaries located # This format will support execution of NuttX binaries located
# in a ROMFS filesystem (see examples/nxflat). # in a ROMFS filesystem (see examples/nxflat).
# #
CONFIG_APP_DIR=examples/uip #CONFIG_APP_DIR=
CONFIG_DEBUG=n CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n CONFIG_DEBUG_SYMBOLS=n
+43 -38
View File
@@ -1,38 +1,43 @@
############################################################################ ############################################################################
# eagle100/nettest/appconfig # configs/eagle100/nettest/appconfig
# #
# Copyright (C) 2011 Gregory Nutt. All rights reserved. # Copyright (C) 2011 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
# modification, are permitted provided that the following conditions # modification, are permitted provided that the following conditions
# are met: # are met:
# #
# 1. Redistributions of source code must retain the above copyright # 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright # 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in # notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the # the documentation and/or other materials provided with the
# distribution. # distribution.
# 3. Neither the name NuttX nor the names of its contributors may be # 3. Neither the name NuttX nor the names of its contributors may be
# used to endorse or promote products derived from this software # used to endorse or promote products derived from this software
# without specific prior written permission. # without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, # COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE. # POSSIBILITY OF SUCH DAMAGE.
# #
############################################################################ ############################################################################
# Networking support # Path to example in apps/examples containing the user_start entry point
CONFIGURED_APPS += netutils/uiplib=.built_always CONFIGURED_APPS += examples/nettest=.built_always
# Networking support
CONFIGURED_APPS += netutils/uiplib=.built_always
+1 -1
View File
@@ -268,7 +268,7 @@ CONFIG_HAVE_LIBM=n
# This format will support execution of NuttX binaries located # This format will support execution of NuttX binaries located
# in a ROMFS filesystem (see examples/nxflat). # in a ROMFS filesystem (see examples/nxflat).
# #
CONFIG_APP_DIR=examples/nettest #CONFIG_APP_DIR=
CONFIG_DEBUG=y CONFIG_DEBUG=y
CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n CONFIG_DEBUG_SYMBOLS=n
+43 -36
View File
@@ -1,36 +1,43 @@
############################################################################ ############################################################################
# eagle100/nsh/appconfig # configs/eagle100/nsh/appconfig
# #
# Copyright (C) 2011 Gregory Nutt. All rights reserved. # Copyright (C) 2011 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
# modification, are permitted provided that the following conditions # modification, are permitted provided that the following conditions
# are met: # are met:
# #
# 1. Redistributions of source code must retain the above copyright # 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer. # notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright # 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in # notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the # the documentation and/or other materials provided with the
# distribution. # distribution.
# 3. Neither the name NuttX nor the names of its contributors may be # 3. Neither the name NuttX nor the names of its contributors may be
# used to endorse or promote products derived from this software # used to endorse or promote products derived from this software
# without specific prior written permission. # without specific prior written permission.
# #
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, # COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE. # POSSIBILITY OF SUCH DAMAGE.
# #
############################################################################ ############################################################################
CONFIGURED_APPS += nshlib=.built_always # Path to example in apps/examples containing the user_start entry point
CONFIGURED_APPS += examples/nsh=.built_always
# The NSH Library
CONFIGURED_APPS += nshlib=.built_always
+1 -1
View File
@@ -268,7 +268,7 @@ CONFIG_HAVE_LIBM=n
# This format will support execution of NuttX binaries located # This format will support execution of NuttX binaries located
# in a ROMFS filesystem (see examples/nxflat). # in a ROMFS filesystem (see examples/nxflat).
# #
CONFIG_APP_DIR=examples/nsh #CONFIG_APP_DIR=
CONFIG_DEBUG=n CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n CONFIG_DEBUG_SYMBOLS=n
+39
View File
@@ -0,0 +1,39 @@
############################################################################
# configs/eagle100/nxflat/appconfig
#
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the
# distribution.
# 3. Neither the name NuttX nor the names of its contributors may be
# used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
############################################################################
# Path to example in apps/examples containing the user_start entry point
CONFIGURED_APPS += examples/nxflat=.built_always
+1 -1
View File
@@ -265,7 +265,7 @@ CONFIG_HAVE_LIBM=n
# desciptors by task_create() when a new task is started. If # desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task. # set, all sockets will appear to be closed in the new task.
# #
CONFIG_APP_DIR=examples/nxflat #CONFIG_APP_DIR=
CONFIG_DEBUG=n CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n CONFIG_DEBUG_SYMBOLS=n
+39
View File
@@ -0,0 +1,39 @@
############################################################################
# configs/eagle100/ostest/appconfig
#
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the
# distribution.
# 3. Neither the name NuttX nor the names of its contributors may be
# used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
############################################################################
# Path to example in apps/examples containing the user_start entry point
CONFIGURED_APPS += examples/ostest=.built_always

Some files were not shown because too many files have changed in this diff Show More