Use const storage class on a few declarations to save SRAM

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4523 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo 2012-03-25 21:05:02 +00:00
parent 6d7a2956eb
commit 4bbb82261c
4 changed files with 6 additions and 4 deletions

View File

@ -2594,5 +2594,7 @@
* configs/compal_e88 and configs/compal_e99: Support for Compal e88 and e99 phones
Contributed by Denis Carilki and includes the work of Denis, Alan Carvalho de
Assis, and Stefan Richter.
* arch/arm/src/lpc17xx: Several fixes for error that have crept in for the LPC17xx
DAC. Contriburted by by Lzzy.

View File

@ -15,7 +15,7 @@
<h1>NXWidgets</h1>
<p>
In order to better support NuttX based platforms, a special graphical userinterface has been created called NXWidgets.
NXWidgets is written in C++ and integrates seamlessly with the NuttX NX graphics subsystem in order to provide graphic objects, or &quot;widgets,&quot; in the NX Graphics Subsystem
NXWidgets is written in C++ and integrates seamlessly with the NuttX <a href="NXGraphicsSubsystem.html">NX graphics subsystem</a> in order to provide graphic objects, or &quot;widgets,&quot; in the NX Graphics Subsystem
</p>
<p>
Some of the features of NXWidgets include:
@ -26,7 +26,7 @@
No additional C++ support libraries are required.
</li>
<li><b>NX Integration</b>.
NXWidgets integrate seamlessly with the NX graphics system.
NXWidgets integrate seamlessly with the <a href="NXGraphicsSubsystem.html">NX graphics subsystem</a>.
Think of the X server under Linux … the NX graphics system is like a tiny X server that provides windowing under NuttX.
By adding NXWidgets, you can support graphics objects like buttons and text boxes in the NX windows and toolbars.
</li>

View File

@ -163,7 +163,7 @@ static int up_interrupt_usart6(int irq, void *context);
* Private Variables
****************************************************************************/
struct uart_ops_s g_uart_ops =
static const struct uart_ops_s g_uart_ops =
{
.setup = up_setup,
.shutdown = up_shutdown,

View File

@ -208,7 +208,7 @@ static FAR _TCB g_idletcb;
/* This is the name of the idle task */
static FAR char g_idlename[] = "Idle Task";
static FAR const char g_idlename[] = "Idle Task";
/****************************************************************************
* Private Function Prototypes