mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-06 13:45:09 +00:00
Run codespell -w with the latest dictonary again
This commit is contained in:
parent
d660492289
commit
41d88f06e7
261 changed files with 529 additions and 529 deletions
|
|
@ -250,7 +250,7 @@ examples/dhcpd
|
|||
|
||||
CONFIG_EXAMPLES_DHCPD_NOMAC - (May be defined to use software assigned MAC)
|
||||
CONFIG_EXAMPLES_DHCPD_IPADDR - Target IP address
|
||||
CONFIG_EXAMPLES_DHCPD_DRIPADDR - Default router IP addess
|
||||
CONFIG_EXAMPLES_DHCPD_DRIPADDR - Default router IP address
|
||||
CONFIG_EXAMPLES_DHCPD_NETMASK - Network mask
|
||||
|
||||
See also CONFIG_NETUTILS_DHCPD_* settings described elsewhere
|
||||
|
|
@ -300,7 +300,7 @@ examples/djoystick
|
|||
examples/dsptest
|
||||
^^^^^^^^^^^^^^^^^^
|
||||
|
||||
This is a Unit Test for the Nuttx DSP library. It use Unity testing framwork.
|
||||
This is a Unit Test for the Nuttx DSP library. It use Unity testing framework.
|
||||
|
||||
Dependencies:
|
||||
|
||||
|
|
@ -340,7 +340,7 @@ examples/elf
|
|||
|
||||
Similarly for C++ flags which must be provided in CXXELFFLAGS.
|
||||
|
||||
2. Your top-level nuttx/Make.defs file must also include an approproate definition,
|
||||
2. Your top-level nuttx/Make.defs file must also include an appropriate definition,
|
||||
LDELFFLAGS, to generate a relocatable ELF object. With GNU LD, this should
|
||||
include '-r' and '-e main' (or _main on some platforms).
|
||||
|
||||
|
|
@ -414,7 +414,7 @@ examples/ftpc
|
|||
of the FTPC library (apps/netutils/ftpc).
|
||||
|
||||
From NSH, the startup command sequence is as follows. This is only
|
||||
an example, your configration could have different mass storage devices,
|
||||
an example, your configuration could have different mass storage devices,
|
||||
mount paths, and FTP directories:
|
||||
|
||||
nsh> mount -t vfat /dev/mmcsd0 /tmp # Mount the SD card at /tmp
|
||||
|
|
@ -442,7 +442,7 @@ examples/ftpc
|
|||
behaviors are desire-able if Telnet is used.
|
||||
|
||||
You may also want to define the following in your configuration file.
|
||||
Otherwise, you will have not feeback about what is going on:
|
||||
Otherwise, you will have not feedback about what is going on:
|
||||
|
||||
CONFIG_DEBUG_FEATURES=y
|
||||
CONFIG_DEBUG_INFO=y
|
||||
|
|
@ -488,7 +488,7 @@ examples/ftpd
|
|||
|
||||
CONFIG_DISABLE_PTHREAD - pthread support is required
|
||||
|
||||
Other FTPD configuration options thay may be of interest:
|
||||
Other FTPD configuration options they may be of interest:
|
||||
|
||||
CONFIG_FTPD_VENDORID - The vendor name to use in FTP communications.
|
||||
Default: "NuttX"
|
||||
|
|
@ -758,7 +758,7 @@ examples/module
|
|||
|
||||
Similarly for C++ flags which must be provided in CXXMODULEFLAGS.
|
||||
|
||||
2. Your top-level nuttx/Make.defs file must also include an approproate definition,
|
||||
2. Your top-level nuttx/Make.defs file must also include an appropriate definition,
|
||||
LDMODULEFLAGS, to generate a relocatable ELF object. With GNU LD, this should
|
||||
include '-r' and '-e <entry point>'.
|
||||
|
||||
|
|
@ -858,7 +858,7 @@ examples/mtdpart
|
|||
* CONFIG_EXAMPLES_MTDPART_ERASESIZE - This value gives the size of one
|
||||
erase block in the MTD RAM device. This must exactly match the default
|
||||
configuration in drivers/mtd/rammtd.c!
|
||||
* CONFIG_EXAMPLES_MTDPART_NEBLOCKS - This value gives the nubmer of erase
|
||||
* CONFIG_EXAMPLES_MTDPART_NEBLOCKS - This value gives the number of erase
|
||||
blocks in MTD RAM device.
|
||||
|
||||
examples/mtdrwb
|
||||
|
|
@ -882,7 +882,7 @@ examples/mtdrwb
|
|||
* CONFIG_EXAMPLES_MTDRWB_ERASESIZE - This value gives the size of one
|
||||
erase block in the MTD RAM device. This must exactly match the default
|
||||
configuration in drivers/mtd/rammtd.c!
|
||||
* CONFIG_EXAMPLES_MTDRWB_NEBLOCKS - This value gives the nubmer of erase
|
||||
* CONFIG_EXAMPLES_MTDRWB_NEBLOCKS - This value gives the number of erase
|
||||
blocks in MTD RAM device.
|
||||
|
||||
examples/netpkt
|
||||
|
|
@ -902,7 +902,7 @@ examples/netloop
|
|||
|
||||
Dependencies:
|
||||
|
||||
CONFIG_NET_LOOPBACK - Requires local loopback supprt
|
||||
CONFIG_NET_LOOPBACK - Requires local loopback support
|
||||
CONFIG_NET_TCP - Requires TCP support with the following:
|
||||
CONFIG_NET_TCPBACKLOG
|
||||
CONFIG_NET_TCP_WRITE_BUFFERS
|
||||
|
|
@ -1090,7 +1090,7 @@ examples/nximage
|
|||
How was that run-length encoded image produced?
|
||||
|
||||
a. I used GIMP output the image as a .c file.
|
||||
b. I added som C logic to palette-ize the RGB image in the GIMP .c file
|
||||
b. I added some C logic to palette-ize the RGB image in the GIMP .c file
|
||||
c. Then I add some simple run-length encoding to palette-ized image.
|
||||
|
||||
But now there is a tool that can be found in the NxWidgets package at
|
||||
|
|
@ -1141,7 +1141,7 @@ examples/nxtext
|
|||
|
||||
This directory contains another simple test of a subset of the NX APIs
|
||||
defined in include/nuttx/nx/nx.h. This text focuses on text displays on
|
||||
the dispaly background combined with pop-up displays over the text.
|
||||
the display background combined with pop-up displays over the text.
|
||||
The text display will continue to update while the pop-up is visible.
|
||||
|
||||
NOTE: This example will *only* work with FB drivers and with LCD
|
||||
|
|
@ -1174,7 +1174,7 @@ examples/nxtext
|
|||
reading from the display.
|
||||
CONFIG_EXAMPLES_NXTEXT_BMCACHE - The maximum number of characters that
|
||||
can be put in the background window. Default is 128.
|
||||
CONFIG_EXAMPLES_NXTEXT_GLCACHE - The maximum nuber of pre-rendered
|
||||
CONFIG_EXAMPLES_NXTEXT_GLCACHE - The maximum number of pre-rendered
|
||||
fonts that can be retained for the background window.
|
||||
CONFIG_EXAMPLES_NXTEXT_STACKSIZE -- The stacksize to use when creating
|
||||
the NX server. Default 2048
|
||||
|
|
@ -1242,7 +1242,7 @@ examples/poll
|
|||
|
||||
CONFIG_EXAMPLES_POLL_NOMAC - (May be defined to use software assigned MAC)
|
||||
CONFIG_EXAMPLES_POLL_IPADDR - Target IP address
|
||||
CONFIG_EXAMPLES_POLL_DRIPADDR - Default router IP addess
|
||||
CONFIG_EXAMPLES_POLL_DRIPADDR - Default router IP address
|
||||
CONFIG_EXAMPLES_POLL_NETMASK - Network mask
|
||||
|
||||
In order to for select to work with incoming connections, you
|
||||
|
|
@ -1321,7 +1321,7 @@ examples/posix_spawn
|
|||
|
||||
Similarly for C++ flags which must be provided in CXXELFFLAGS.
|
||||
|
||||
2. Your top-level nuttx/Make.defs file must also include an approproate
|
||||
2. Your top-level nuttx/Make.defs file must also include an appropriate
|
||||
definition, LDELFFLAGS, to generate a relocatable ELF object. With GNU
|
||||
LD, this should include '-r' and '-e main' (or _main on some platforms).
|
||||
|
||||
|
|
@ -1443,7 +1443,7 @@ examples/qencoder
|
|||
collected and the program terminates. Default: Samples are collected
|
||||
indefinitely.
|
||||
CONFIG_EXAMPLES_QENCODER_DELAY - This value provides the delay (in
|
||||
milliseonds) between each sample. Default: 100 milliseconds
|
||||
milliseconds) between each sample. Default: 100 milliseconds
|
||||
|
||||
examples/random
|
||||
^^^^^^^^^^^^^^^
|
||||
|
|
@ -1504,7 +1504,7 @@ examples/romfs
|
|||
The ROM disk sector size to use. Default is 64.
|
||||
|
||||
* CONFIG_EXAMPLES_ROMFS_MOUNTPOINT
|
||||
The location to mount the ROM disk. Deafault: "/usr/local/share"
|
||||
The location to mount the ROM disk. Default: "/usr/local/share"
|
||||
|
||||
examples/sendmail
|
||||
^^^^^^^^^^^^^^^^^
|
||||
|
|
@ -1520,7 +1520,7 @@ examples/sendmail
|
|||
|
||||
CONFIG_EXAMPLES_SENDMAIL_NOMAC - May be defined to use software assigned MAC (optional)
|
||||
CONFIG_EXAMPLES_SENDMAIL_IPADDR - Target IP address (required)
|
||||
CONFIG_EXAMPLES_SENDMAIL_DRIPADDR - Default router IP addess (required)
|
||||
CONFIG_EXAMPLES_SENDMAIL_DRIPADDR - Default router IP address (required)
|
||||
CONFIG_EXAMPLES_SENDMAILT_NETMASK - Network mask (required)
|
||||
CONFIG_EXAMPLES_SENDMAIL_RECIPIENT - The recipient of the email (required)
|
||||
CONFIG_EXAMPLES_SENDMAIL_SENDER - Optional. Default: "nuttx-testing@example.com"
|
||||
|
|
@ -1536,7 +1536,7 @@ examples/sendmail
|
|||
unprotected recipients can be used. Most will protect themselves
|
||||
from this test email because it looks like SPAM.
|
||||
|
||||
Applications using this example will need to enble the following
|
||||
Applications using this example will need to enable the following
|
||||
netutils libraries in their defconfig file:
|
||||
|
||||
CONFIG_NETUTILS_NETLIB=y
|
||||
|
|
@ -1605,7 +1605,7 @@ examples/sotest
|
|||
|
||||
Similarly for C++ flags which must be provided in CXXMODULEFLAGS.
|
||||
|
||||
2. Your top-level nuttx/Make.defs file must also include an approproate definition,
|
||||
2. Your top-level nuttx/Make.defs file must also include an appropriate definition,
|
||||
LDMODULEFLAGS, to generate a relocatable ELF object. With GNU LD, this should
|
||||
include '-r' and '-e <entry point>'.
|
||||
|
||||
|
|
@ -1688,7 +1688,7 @@ examples/telnetd
|
|||
^^^^^^^^^^^^^^^^
|
||||
|
||||
This directory contains a functional port of the tiny uIP shell. In
|
||||
the NuttX environment, the NuttShell (at apps/nshlib) supercedes this
|
||||
the NuttX environment, the NuttShell (at apps/nshlib) supersedes this
|
||||
tiny shell and also supports telnetd.
|
||||
|
||||
CONFIG_EXAMPLES_TELNETD - Enable the Telnetd example
|
||||
|
|
@ -1724,7 +1724,7 @@ examples/thttpd
|
|||
In addition to those, this example accepts:
|
||||
|
||||
CONFIG_EXAMPLES_THTTPD_NOMAC - (May be defined to use software assigned MAC)
|
||||
CONFIG_EXAMPLES_THTTPD_DRIPADDR - Default router IP addess
|
||||
CONFIG_EXAMPLES_THTTPD_DRIPADDR - Default router IP address
|
||||
CONFIG_EXAMPLES_THTTPD_NETMASK - Network mask
|
||||
|
||||
Applications using this example will need to enable the following
|
||||
|
|
@ -1740,7 +1740,7 @@ examples/tiff
|
|||
It is configured to work in the Linux user-mode simulation and has not been
|
||||
tested in any other environment.
|
||||
|
||||
At a miniumum, to run in an embedded environment, you will probably have to
|
||||
At a minimum, to run in an embedded environment, you will probably have to
|
||||
change the configured paths to the TIFF files defined in the example.
|
||||
|
||||
CONFIG_EXAMPLES_TIFF_OUTFILE - Name of the resulting TIFF file. Default is
|
||||
|
|
@ -2008,7 +2008,7 @@ examples/webserver
|
|||
|
||||
CONFIG_EXAMPLES_WEBSERVER_NOMAC - (May be defined to use software assigned MAC)
|
||||
CONFIG_EXAMPLES_WEBSERVER_IPADDR - Target IP address
|
||||
CONFIG_EXAMPLES_WEBSERVER_DRIPADDR - Default router IP addess
|
||||
CONFIG_EXAMPLES_WEBSERVER_DRIPADDR - Default router IP address
|
||||
CONFIG_EXAMPLES_WEBSERVER_NETMASK - Network mask
|
||||
CONFIG_EXAMPLES_WEBSERVER_DHCPC - Select to get IP address via DHCP
|
||||
|
||||
|
|
@ -2056,7 +2056,7 @@ examples/wget
|
|||
CONFIG_EXAMPLES_WGET_URL - The URL of the file to get
|
||||
CONFIG_EXAMPLES_WGET_NOMAC - (May be defined to use software assigned MAC)
|
||||
CONFIG_EXAMPLES_WGET_IPADDR - Target IP address
|
||||
CONFIG_EXAMPLES_WGET_DRIPADDR - Default router IP addess
|
||||
CONFIG_EXAMPLES_WGET_DRIPADDR - Default router IP address
|
||||
CONFIG_EXAMPLES_WGET_NETMASK - Network mask
|
||||
|
||||
This example uses netutils/webclient. Additional configuration settings apply
|
||||
|
|
@ -2108,7 +2108,7 @@ examples/xmlrpc
|
|||
CONFIG_EXAMPLES_XMLRPC_BUFFERSIZE - HTTP buffer size. Default 1024
|
||||
CONFIG_EXAMPLES_XMLRPC_DHCPC - Use DHCP Client. Default n. Ignored
|
||||
if CONFIG_NSH_NETINIT is selected.
|
||||
CONFIG_EXAMPLES_XMLRPC_NOMAC - Use Canned MAC Address. Defaul n. Ignored
|
||||
CONFIG_EXAMPLES_XMLRPC_NOMAC - Use Canned MAC Address. Default n. Ignored
|
||||
if CONFIG_NSH_NETINIT is selected.
|
||||
CONFIG_EXAMPLES_XMLRPC_IPADDR - Target IP address. Default 0x0a000002.
|
||||
Ignored if CONFIG_NSH_NETINIT is selected.
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@ static int alarm_daemon(int argc, FAR char *argv[])
|
|||
}
|
||||
|
||||
/* Now wait a little while and poll again. If a signal is received
|
||||
* this should cuase us to awken earlier.
|
||||
* this should cause us to awken earlier.
|
||||
*/
|
||||
|
||||
usleep(500*1000L);
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ config EXAMPLES_CHARGER
|
|||
bool "Battery charger example"
|
||||
default n
|
||||
---help---
|
||||
This application is an example of using charger deivce.
|
||||
This application is an example of using charger device.
|
||||
|
||||
if EXAMPLES_CHARGER
|
||||
|
||||
|
|
|
|||
|
|
@ -212,7 +212,7 @@ int charger_main(int argc, char *argv[])
|
|||
argc--;
|
||||
argv++;
|
||||
|
||||
/* Initialize and create battery charger deivce */
|
||||
/* Initialize and create battery charger device */
|
||||
|
||||
board_charger_initialize(DEVPATH);
|
||||
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ struct chat_app
|
|||
FAR char** argv; /* command-line arguments */
|
||||
char tty[CHAT_TTYNAME_SIZE]; /* modem TTY device node */
|
||||
FAR const char *script; /* raw chat script - input to the parser */
|
||||
bool script_dynalloc; /* true iff the script should be freed */
|
||||
bool script_dynalloc; /* true if the script should be freed */
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
|||
|
|
@ -397,7 +397,7 @@ int main(int argc, FAR char *argv[])
|
|||
|
||||
for (; ; )
|
||||
{
|
||||
/* If the device is reseted, show 00.. and assume it is initial time */
|
||||
/* If the device is reset, show 00.. and assume it is initial time */
|
||||
|
||||
if (priv->state == CHRONO_RESETED)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ config EXAMPLES_CONFIGDATA_NEBLOCKS
|
|||
---help---
|
||||
When EXAMPLES_CONFIGDATA_ARCHINIT is not defined, this test will use
|
||||
the RAM MTD device at drivers/mtd/rammtd.c to simulate FLASH. In
|
||||
this case, this value must be provided to give the nubmer of erase
|
||||
this case, this value must be provided to give the number of erase
|
||||
blocks in the MTD RAM device.
|
||||
|
||||
The size of the allocated RAM drive will be:
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@
|
|||
* Preprocessor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* Configuation Checkes *****************************************************/
|
||||
/* Configuration Checks *****************************************************/
|
||||
|
||||
/* BEWARE:
|
||||
* There are other configuration settings needed in netutils/dhcpd/dhcpdc.c,
|
||||
|
|
|
|||
|
|
@ -604,7 +604,7 @@ void test_misc(void)
|
|||
|
||||
TEST_SEPARATOR();
|
||||
|
||||
/* Test helper funcions */
|
||||
/* Test helper functions */
|
||||
|
||||
RUN_TEST(test_f_saturate);
|
||||
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ static void test_openloop_init(void)
|
|||
TEST_ASSERT_EQUAL_FLOAT(max_speed, op.max);
|
||||
}
|
||||
|
||||
/* Singe step openloop */
|
||||
/* Single step openloop */
|
||||
|
||||
static void test_openloop_one_step(void)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ varlist=`find ${dir} -type f -perm -a=x | xargs nm | fgrep ' U ' | sed -e "s/^[
|
|||
# Now output the symbol table as a structure in a C source file. All
|
||||
# undefined symbols are declared as void* types. If the toolchain does
|
||||
# any kind of checking for function vs. data objects, then this could
|
||||
# faile
|
||||
# failed
|
||||
|
||||
echo "#include <nuttx/compiler.h>"
|
||||
echo "#include <nuttx/symtab.h>"
|
||||
|
|
|
|||
|
|
@ -193,7 +193,7 @@ static void draw_rect1(FAR struct fb_state_s *state,
|
|||
startx = (rect->pt1.x >> 3);
|
||||
endx = ((rect->pt2.x + 7) >> 3);
|
||||
|
||||
/* Caculate a mask on the first and last bytes of the sequence that may
|
||||
/* Calculate a mask on the first and last bytes of the sequence that may
|
||||
* not be completely filled with pixel.
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -72,10 +72,10 @@
|
|||
*
|
||||
* Parameters:
|
||||
* argb - argb8888 color
|
||||
* a - Reference ot 8-bit alpha channel
|
||||
* r - Reference ot 8-bit red channel
|
||||
* g - Reference ot 8-bit green channel
|
||||
* b - Reference ot 8-bit blue channel
|
||||
* a - Reference to 8-bit alpha channel
|
||||
* r - Reference to 8-bit red channel
|
||||
* g - Reference to 8-bit green channel
|
||||
* b - Reference to 8-bit blue channel
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
|
@ -120,7 +120,7 @@ static uint16_t rgb565(uint32_t argb)
|
|||
*
|
||||
* Parameters:
|
||||
* fbmem - Points to framebuffer start address
|
||||
* oinfo - Refence to overlay information
|
||||
* oinfo - Reference to overlay information
|
||||
* area - Area draw
|
||||
* color - cmap color entry
|
||||
*
|
||||
|
|
@ -160,7 +160,7 @@ static void draw_rect8(FAR void *fbmem, FAR struct fb_overlayinfo_s * oinfo,
|
|||
*
|
||||
* Parameters:
|
||||
* fbmem - Points to framebuffer start address
|
||||
* oinfo - Refence to overlay information
|
||||
* oinfo - Reference to overlay information
|
||||
* area - Area draw
|
||||
* rgb - rgb565 color
|
||||
*
|
||||
|
|
@ -198,7 +198,7 @@ static void draw_rect16(FAR void *fbmem, FAR struct fb_overlayinfo_s * oinfo,
|
|||
*
|
||||
* Parameters:
|
||||
* fbmem - Points to framebuffer start address
|
||||
* oinfo - Refence to overlay information
|
||||
* oinfo - Reference to overlay information
|
||||
* area - Area draw
|
||||
* rgb - rgb888 color
|
||||
*
|
||||
|
|
@ -246,7 +246,7 @@ static void draw_rect24(FAR void *fbmem, FAR struct fb_overlayinfo_s * oinfo,
|
|||
*
|
||||
* Parameters:
|
||||
* fbmem - Points to framebuffer start address
|
||||
* oinfo - Refence to overlay information
|
||||
* oinfo - Reference to overlay information
|
||||
* area - Area draw
|
||||
* argb - argb8888 color
|
||||
*
|
||||
|
|
@ -956,7 +956,7 @@ static int fbopen(const char * device)
|
|||
* Commandline info
|
||||
*
|
||||
* Parameters:
|
||||
* progname - Name of the programm
|
||||
* progname - Name of the program
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ int main(int argc, FAR char *argv[])
|
|||
return -1;
|
||||
}
|
||||
|
||||
/* Find the inode of the block driver indentified by 'source' */
|
||||
/* Find the inode of the block driver identified by 'source' */
|
||||
|
||||
ret = open_blockdriver(argv[1], 0, &inode);
|
||||
if (ret < 0)
|
||||
|
|
@ -211,7 +211,7 @@ int main(int argc, FAR char *argv[])
|
|||
goto errout_with_buffers;
|
||||
}
|
||||
|
||||
/* Generate compare string and do the comapre */
|
||||
/* Generate compare string and do the compare */
|
||||
|
||||
printf("\r%d ", sectors[x]);
|
||||
|
||||
|
|
|
|||
|
|
@ -194,7 +194,7 @@ int ftpd_daemon(int s_argc, char **s_argv)
|
|||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
/* Configure acounts */
|
||||
/* Configure accounts */
|
||||
|
||||
ftpd_accounts(handle);
|
||||
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ int main(int argc, FAR char *argv[])
|
|||
minmea_rescale(&frame.speed, 1000));
|
||||
printf("Floating point degree latitude.: %2.6f\n",
|
||||
minmea_tocoord(&frame.latitude));
|
||||
printf("Floating point degree longitute: %2.6f\n",
|
||||
printf("Floating point degree longitude: %2.6f\n",
|
||||
minmea_tocoord(&frame.longitude));
|
||||
printf("Floating point speed...........: %2.6f\n",
|
||||
minmea_tocoord(&frame.speed));
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ config EXAMPLES_MEDIA_DEVPATH
|
|||
ret = bchdev_register(/dev/mtdblock<N>, <path-to-character-driver>,
|
||||
false);
|
||||
|
||||
NOTE: This drivr path can be overridden when the application is
|
||||
NOTE: This driver path can be overridden when the application is
|
||||
executed by providing a differ device path on the 'media' command line.
|
||||
|
||||
config EXAMPLES_MEDIA_BLOCKSIZE
|
||||
|
|
|
|||
|
|
@ -324,7 +324,7 @@ int main(int argc, FAR char *argv[])
|
|||
info.nblocks = blockno;
|
||||
}
|
||||
|
||||
/* Seek to the beginnin of the file */
|
||||
/* Seek to the beginning of the file */
|
||||
|
||||
seekpos = lseek(fd, 0, SEEK_SET);
|
||||
if (seekpos == (off_t)-1)
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ config EXAMPLES_MODULE_BINDIR
|
|||
default "/mnt/moddata"
|
||||
depends on !EXAMPLES_MODULE_BUILTINFS && !EXAMPLES_MODULE_FSMOUNT
|
||||
---help---
|
||||
The full, absolte path to the location for the binaries can be
|
||||
The full, absolute path to the location for the binaries can be
|
||||
located in a pre-mounted external file system.
|
||||
|
||||
config EXAMPLES_MODULE_NOSTRIP
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ varlist=`find ${dir} -type f -perm -a=x | xargs nm | fgrep ' U ' | sed -e "s/^[
|
|||
# Now output the symbol table as a structure in a C source file. All
|
||||
# undefined symbols are declared as void* types. If the toolchain does
|
||||
# any kind of checking for function vs. data objects, then this could
|
||||
# faile
|
||||
# failed
|
||||
|
||||
echo "#include <nuttx/compiler.h>"
|
||||
echo "#include <nuttx/symtab.h>"
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ config EXAMPLES_MTDPART_NEBLOCKS
|
|||
---help---
|
||||
When EXAMPLES_MTDPART_ARCHINIT is not defined, this test will use
|
||||
the RAM MTD device at drivers/mtd/rammtd.c to simulate FLASH. In
|
||||
this case, this value must be provided to give the nubmer of erase
|
||||
this case, this value must be provided to give the number of erase
|
||||
blocks in MTD RAM device.
|
||||
|
||||
The size of the allocated RAM drive will be:
|
||||
|
|
|
|||
|
|
@ -417,7 +417,7 @@ int main(int argc, FAR char *argv[])
|
|||
exit(16);
|
||||
}
|
||||
|
||||
/* Verfy the offsets in the block */
|
||||
/* Verify the offsets in the block */
|
||||
|
||||
for (k = 0; k < geo.blocksize / sizeof(uint32_t); k++)
|
||||
{
|
||||
|
|
@ -488,7 +488,7 @@ int main(int argc, FAR char *argv[])
|
|||
* should on the device.
|
||||
*/
|
||||
|
||||
printf("Verfying media:\n");
|
||||
printf("Verifying media:\n");
|
||||
|
||||
fd = open("/dev/mtd0", O_RDONLY);
|
||||
if (fd < 0)
|
||||
|
|
@ -526,7 +526,7 @@ int main(int argc, FAR char *argv[])
|
|||
exit(26);
|
||||
}
|
||||
|
||||
/* Verfy the values in the block */
|
||||
/* Verify the values in the block */
|
||||
|
||||
for (k = 0; k < geo.blocksize / sizeof(uint32_t); k++)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -449,7 +449,7 @@ config EXAMPLES_NETTEST_SERVERIPv6ADDR_1
|
|||
---help---
|
||||
IP address of the server. If the target is the server, then
|
||||
EXAMPLES_NETTEST_SERVERIP should be the same as
|
||||
EXAMPLES_NETTEST_IPADDR (default). If the target is the cleint,
|
||||
EXAMPLES_NETTEST_IPADDR (default). If the target is the client,
|
||||
then the default value of EXAMPLES_NETTEST_SERVERIP is set to the
|
||||
host PC IP address (possibly the gateway address,
|
||||
EXAMPLES_NETTEST_DRIPADDR?).
|
||||
|
|
|
|||
|
|
@ -235,7 +235,7 @@ struct nxeg_state_s
|
|||
* Public Data
|
||||
****************************************************************************/
|
||||
|
||||
/* The connecton handle */
|
||||
/* The connection handle */
|
||||
|
||||
extern NXHANDLE g_hnx;
|
||||
|
||||
|
|
|
|||
|
|
@ -276,7 +276,7 @@ struct nxtext_state_s
|
|||
* Public Data
|
||||
****************************************************************************/
|
||||
|
||||
/* The connecton handler */
|
||||
/* The connection handler */
|
||||
|
||||
extern NXHANDLE g_hnx;
|
||||
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ static const char *g_bgmsg[BGMSG_LINES] =
|
|||
* Public Data
|
||||
****************************************************************************/
|
||||
|
||||
/* The connecton handler */
|
||||
/* The connection handler */
|
||||
|
||||
NXHANDLE g_hnx = NULL;
|
||||
|
||||
|
|
|
|||
|
|
@ -693,7 +693,7 @@ static void repainteditbox(WINDOW *win, int x, char *buf)
|
|||
*
|
||||
* Description:
|
||||
* The initial value of 'str' with a maximum length of 'field' - 1,
|
||||
* which is supplied by the calling routine, is editted. The user's
|
||||
* which is supplied by the calling routine, is edited. The user's
|
||||
* erase (^H), kill (^U) and delete word (^W) chars are interpreted.
|
||||
* The PC insert or Tab keys toggle between insert and edit mode.
|
||||
* Escape aborts the edit session, leaving 'str' unchanged.
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ typedef struct
|
|||
} menu;
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functin Prototypes
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
void clsbody(void);
|
||||
|
|
|
|||
|
|
@ -310,7 +310,7 @@ void *net_reader(pthread_addr_t pvarg)
|
|||
}
|
||||
#endif
|
||||
|
||||
/* Handle incoming messsages on the connection. */
|
||||
/* Handle incoming messages on the connection. */
|
||||
|
||||
net_receive(acceptsd);
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ varlist=`find ${dir} -type f -perm -a=x | xargs nm | fgrep ' U ' | sed -e "s/^[
|
|||
# Now output the symbol table as a structure in a C source file. All
|
||||
# undefined symbols are declared as void* types. If the toolchain does
|
||||
# any kind of checking for function vs. data objects, then this could
|
||||
# faile
|
||||
# failed
|
||||
|
||||
echo "#include <nuttx/compiler.h>"
|
||||
echo "#include <nuttx/symtab.h>"
|
||||
|
|
|
|||
|
|
@ -434,7 +434,7 @@ int main(int argc, FAR char *argv[])
|
|||
sleep(2);
|
||||
mm_update(&g_mmstep, "after posix_spawn");
|
||||
|
||||
/* Free attibutes and file actions */
|
||||
/* Free attributes and file actions */
|
||||
|
||||
ret = posix_spawn_file_actions_destroy(&file_actions);
|
||||
if (ret != 0)
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@ static void powerled_help(FAR struct args_s *args)
|
|||
{
|
||||
printf("Usage: powerled [OPTIONS]\n\n");
|
||||
printf(" [-m mode] select mode\n");
|
||||
printf(" 0 - demo mode [deafult]\n");
|
||||
printf(" 0 - demo mode [default]\n");
|
||||
printf(" 1 - continuous mode\n");
|
||||
printf(" 2 - flash mode\n");
|
||||
printf(" [-d duty] selects duty cycle for flash mode in %%\n");
|
||||
|
|
@ -444,7 +444,7 @@ int main(int argc, char *argv[])
|
|||
terminate = false;
|
||||
config = true;
|
||||
|
||||
/* Initialize powerled stuctures */
|
||||
/* Initialize powerled structures */
|
||||
|
||||
memset(&powerled_limits, 0, sizeof(struct powerled_limits_s));
|
||||
memset(&powerled_params, 0, sizeof(struct powerled_params_s));
|
||||
|
|
|
|||
|
|
@ -221,7 +221,7 @@ static bool pwfb_state_initialize(FAR struct pwfb_state_s *st)
|
|||
st->color[0] = CONFIG_EXAMPLES_PWFB_TBCOLOR;
|
||||
|
||||
/* Connect each window to the font cache. They cannot share the
|
||||
* font cache becuse of the differing background colors.
|
||||
* font cache because of the differing background colors.
|
||||
*/
|
||||
|
||||
st->wndo[0].fcache = nxf_cache_connect(CONFIG_EXAMPLES_PWFB_FONTID,
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
/* Mount the ROMFS image, Verifty that it contains the
|
||||
/* Mount the ROMFS image, Verify that it contains the
|
||||
* following:
|
||||
*
|
||||
* testdir
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@ static void smps_help(FAR struct args_s *args)
|
|||
printf(" [-p power] output power in W\n");
|
||||
printf(" valid values from 0.0 to output power limit\n");
|
||||
printf(" [-t time] run time in seconds\n");
|
||||
printf(" valid values greather than 0 and\n");
|
||||
printf(" valid values greater than 0 and\n");
|
||||
printf(" -1 for infinity [default]\n");
|
||||
printf("\n");
|
||||
}
|
||||
|
|
@ -445,7 +445,7 @@ int main(int argc, char *argv[])
|
|||
int ret = 0;
|
||||
int fd = 0;
|
||||
|
||||
/* Initialize smps stuctures */
|
||||
/* Initialize smps structures */
|
||||
|
||||
memset(&smps_limits, 0, sizeof(struct smps_limits_s));
|
||||
memset(&smps_params, 0, sizeof(struct smps_params_s));
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ config EXAMPLES_SOTEST_BINDIR
|
|||
string "Path to Test Shared Libraries"
|
||||
default "/mnt/sdcard"
|
||||
---help---
|
||||
The path to the directoy on the mounted volume where the test shared
|
||||
The path to the directory on the mounted volume where the test shared
|
||||
libraries can found at runtime.
|
||||
|
||||
endif # !EXAMPLES_SOTEST_BUILTINFS
|
||||
|
|
|
|||
|
|
@ -459,7 +459,7 @@ config EXAMPLES_TCPBLASTER_SERVERIPv6ADDR_1
|
|||
---help---
|
||||
IP address of the server. If the target is the server, then
|
||||
EXAMPLES_TCPBLASTER_SERVERIP should be the same as
|
||||
EXAMPLES_TCPBLASTER_IPADDR (default). If the target is the cleint,
|
||||
EXAMPLES_TCPBLASTER_IPADDR (default). If the target is the client,
|
||||
then the default value of EXAMPLES_TCPBLASTER_SERVERIP is set to the
|
||||
host PC IP address (possibly the gateway address,
|
||||
EXAMPLES_TCPBLASTER_DRIPADDR?).
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ README.txt
|
|||
^^^^^^^^^^
|
||||
|
||||
This directory contains a functional port of the tiny uIP shell. In the
|
||||
NuttX environment, the NuttShell (at apps/nshlib) supercedes this tiny
|
||||
NuttX environment, the NuttShell (at apps/nshlib) supersedes this tiny
|
||||
shell and also supports telnetd.
|
||||
|
||||
This example is retained here for reference purposes only.
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@
|
|||
* Preprocessor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* Configuation Checks ******************************************************/
|
||||
/* Configuration Checks ******************************************************/
|
||||
/* BEWARE:
|
||||
* There are other configuration settings needed in netutitls/wget/wgetc.s,
|
||||
* but there are default values for those so we cannot check them here.
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY COGITO LLC AND CONTRIBUTORS 'AS IS'
|
||||
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
||||
* TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A
|
||||
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
||||
* PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL COGITO LLC
|
||||
* OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARAY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY COGITO LLC AND CONTRIBUTORS 'AS IS'
|
||||
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
||||
* TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A
|
||||
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
||||
* PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL COGITO LLC
|
||||
* OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARAY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue