mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Add a configuration to begin development of an LM4F120 LaunchPad port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5692 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -2017,16 +2017,33 @@ svn checkout -r5595 http://svn.code.sf.net/p/nuttx/code/trunk nuttx-code
|
|||||||
As of this writing, more device drivers are needed to make this a more complete port.
|
As of this writing, more device drivers are needed to make this a more complete port.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
For a full-featured RTOS such as NuttX, providing support in a usable and meaningful way within the tiny memories of the NUC120 demonstrates the scalability of NuttX (128KB FLASH and 16KB of SRAM in a 48-pin package).
|
<b>Memory Usage</b>.
|
||||||
When running the NSH configuration (a full up application), there is still more than 9KB or SRAM available:
|
For a full-featured RTOS such as NuttX, providing support in a usable and meaningful way within the tiny memories of the NUC120 demonstrates the scalability of NuttX. The NUC120LE2AN comes in a 48-pin package and has 128KB FLASH and 16KB of SRAM.
|
||||||
|
When running the NSH configuration (itself a full up application), there is still more than 90KB of FLASH and 10KB or SRAM available for further application development).
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Static memory usage can be shown with <code>size</code> command:
|
||||||
|
</p>
|
||||||
|
<ul><pre>
|
||||||
|
$ size nuttx
|
||||||
|
text data bss dec hex filename
|
||||||
|
35037 106 1092 36235 8d8b nuttx
|
||||||
|
</pre></ul>
|
||||||
|
<p>
|
||||||
|
NuttX, the NSH application, and GCC libraries use 34.2KB of FLASH leaving 93.8KB of FLASH (72%) free from additional application development.
|
||||||
|
Static SRAM usage is about 1.2KB (<4%) and leaves 13.8KB (86%) available for heap at runtime.
|
||||||
|
SRAM usage at run-time can be shown with the NSH <code>free</code> command:
|
||||||
</p>
|
</p>
|
||||||
<ul><pre>
|
<ul><pre>
|
||||||
NuttShell (NSH) NuttX-6.26
|
NuttShell (NSH) NuttX-6.26
|
||||||
nsh> free
|
nsh> free
|
||||||
total used free largest
|
total used free largest
|
||||||
Mem: 13344 3944 9400 9400
|
Mem: 14160 3944 10216 10216
|
||||||
nsh>
|
nsh>
|
||||||
</ul>
|
</pre></ul>
|
||||||
|
<p>
|
||||||
|
You can see that 10.0KB (62%) is available for further application development.
|
||||||
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<b>Development Environments:</b>
|
<b>Development Environments:</b>
|
||||||
1) Linux with native Linux GNU toolchain, 2) Cygwin/MSYS with Cygwin GNU toolchain, 3) Cygwin/MSYS
|
1) Linux with native Linux GNU toolchain, 2) Cygwin/MSYS with Cygwin GNU toolchain, 3) Cygwin/MSYS
|
||||||
|
|||||||
Reference in New Issue
Block a user