mirror of
https://github.com/apache/nuttx.git
synced 2025-12-16 17:56:38 +08:00
Misc updates (minor)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5014 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -255,7 +255,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li><b>Virtual Vertical Graphics Space</b>.
|
<li><b>Virtual Vertical Graphics Space</b>.
|
||||||
Windows that reside in a virtual, <i>vertical</i> space so that it makes
|
Windows that reside in a virtual, <i>vertical</i> space so that it makes
|
||||||
sense to talk about one window being on top of another and obcuring the
|
sense to talk about one window being on top of another and obscuring the
|
||||||
window below it.
|
window below it.
|
||||||
</li>
|
</li>
|
||||||
<li><b>Client/Server Model</b>.
|
<li><b>Client/Server Model</b>.
|
||||||
|
|||||||
@@ -143,7 +143,8 @@
|
|||||||
This feature is especially attractive when combined with the NuttX ROMFS support:
|
This feature is especially attractive when combined with the NuttX ROMFS support:
|
||||||
ROMFS allows you to execute programs in place (XIP) in flash without copying anything
|
ROMFS allows you to execute programs in place (XIP) in flash without copying anything
|
||||||
other than the .data section to RAM.
|
other than the .data section to RAM.
|
||||||
In fact, the initial NXFLAT release will work only on ROMFS.
|
In fact, the initial NXFLAT release only worked on ROMFS.
|
||||||
|
Later extensions also support execution NXFLAT binaries from an SRAM copy as well.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
This NuttX feature includes:
|
This NuttX feature includes:
|
||||||
|
|||||||
11
TODO
11
TODO
@@ -15,7 +15,7 @@ nuttx/
|
|||||||
(5) Binary loaders (binfmt/)
|
(5) Binary loaders (binfmt/)
|
||||||
(17) Network (net/, drivers/net)
|
(17) Network (net/, drivers/net)
|
||||||
(3) USB (drivers/usbdev, drivers/usbhost)
|
(3) USB (drivers/usbdev, drivers/usbhost)
|
||||||
(10) Libraries (lib/)
|
(11) Libraries (lib/)
|
||||||
(10) File system/Generic drivers (fs/, drivers/)
|
(10) File system/Generic drivers (fs/, drivers/)
|
||||||
(5) Graphics subystem (graphics/)
|
(5) Graphics subystem (graphics/)
|
||||||
(1) Pascal add-on (pcode/)
|
(1) Pascal add-on (pcode/)
|
||||||
@@ -689,7 +689,14 @@ o Libraries (lib/)
|
|||||||
Description: Only the %f floating point format is supported. Others are accepted
|
Description: Only the %f floating point format is supported. Others are accepted
|
||||||
but treated like %f.
|
but treated like %f.
|
||||||
Status: Open
|
Status: Open
|
||||||
Priority: Medium (this might important to someone.
|
Priority: Medium (this might important to someone).
|
||||||
|
|
||||||
|
Title: FLOATING POINT PRECISION
|
||||||
|
Description: A fieldwidth and precision is required with the %f format. If %f
|
||||||
|
is used with no format, than floating numbers will be printed with
|
||||||
|
a precision of 0 (effectively presented as integers).
|
||||||
|
Status: Open
|
||||||
|
Priority: Medium (this might important to someone).
|
||||||
|
|
||||||
o File system / Generic drivers (fs/, drivers/)
|
o File system / Generic drivers (fs/, drivers/)
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|||||||
@@ -132,7 +132,6 @@ static void lib_dtoa(FAR struct lib_outstream_s *obj, int fmt, int prec,
|
|||||||
FAR char *digits; /* String returned by __dtoa */
|
FAR char *digits; /* String returned by __dtoa */
|
||||||
FAR char *digalloc; /* Copy of digits to be freed after usage */
|
FAR char *digalloc; /* Copy of digits to be freed after usage */
|
||||||
FAR char *rve; /* Points to the end of the return value */
|
FAR char *rve; /* Points to the end of the return value */
|
||||||
char sign; /* Temporary negative sign for floats */
|
|
||||||
int expt; /* Integer value of exponent */
|
int expt; /* Integer value of exponent */
|
||||||
int numlen; /* Actual number of digits returned by cvt */
|
int numlen; /* Actual number of digits returned by cvt */
|
||||||
int nchars; /* Number of characters to print */
|
int nchars; /* Number of characters to print */
|
||||||
@@ -144,11 +143,7 @@ static void lib_dtoa(FAR struct lib_outstream_s *obj, int fmt, int prec,
|
|||||||
if (value < 0)
|
if (value < 0)
|
||||||
{
|
{
|
||||||
value = -value;
|
value = -value;
|
||||||
sign = '-';
|
SET_NEGATE(flags);
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
sign = '\0';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Perform the conversion */
|
/* Perform the conversion */
|
||||||
@@ -157,7 +152,7 @@ static void lib_dtoa(FAR struct lib_outstream_s *obj, int fmt, int prec,
|
|||||||
digalloc = digits;
|
digalloc = digits;
|
||||||
numlen = rve - digits;
|
numlen = rve - digits;
|
||||||
|
|
||||||
if (sign)
|
if (IS_NEGATE(flags))
|
||||||
{
|
{
|
||||||
obj->put(obj, '-');
|
obj->put(obj, '-');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user