Remove unused header files; eliminate warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3731 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
b5c2286ee9
commit
b739f6936c
@ -1627,6 +1627,30 @@
|
||||
<td><br></td>
|
||||
<td><hr></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><br></td>
|
||||
<td>
|
||||
<p><b>AVR-Specific Issues</b>.
|
||||
The basic AVR port is solid and biggest issue for using AVR is its tiny SRAM memory and its Harvard architecture.
|
||||
Because of the Harvard architecture, constant data that resides to flash is inaccessible using "normal" memory reads and writes (only SRAM data can be accessed "normally").
|
||||
Special AVR instructions are available for accessing data in FLASH, but these have not been integrated into the normal, general purpose OS.
|
||||
</p>
|
||||
<p>
|
||||
Most NuttX test applications are console-oriented with lots of strings used for printf and debug output.
|
||||
These strings are all stored in SRAM now due to these data accessing issues and even the smallest console-oriented applications can quickly fill a 4-8Kb memory.
|
||||
So, in order for the AVR port to be useful, one of two things would need to be done:
|
||||
</p>
|
||||
<ol>
|
||||
<li>
|
||||
Don't use console applications that required lots of strings.
|
||||
The basic AVR port is solid and your typical deeply embedded application should work fine.
|
||||
Or,
|
||||
</li>
|
||||
<li>
|
||||
Create a special version of printf that knows how to access strings that reside in FLASH (or EEPROM).
|
||||
</li>
|
||||
</ol>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><br></td>
|
||||
<td>
|
||||
|
Loading…
Reference in New Issue
Block a user