Run codespell -w with the latest dictonary again

This commit is contained in:
Xiang Xiao 2020-02-23 12:51:44 +08:00 committed by Gregory Nutt
parent d660492289
commit 41d88f06e7
261 changed files with 529 additions and 529 deletions

View File

@ -2,7 +2,7 @@ COPYING -- Describes the terms under which Nuttx is distributed. A
copy of the BSD-style licensing is included in this file. In my
words -- I believe that you should free to use NuttX in any
environment, private, private, commercial, open, closed, etc.
provided only that you repect the modest copyright notices as
provided only that you respect the modest copyright notices as
described in license (below). Please feel free to contact me if you
have any licensing concerns.

View File

@ -107,7 +107,7 @@
6.10 2011-10-06 Gregory Nutt <gnutt@nuttx.org>
* apps/system/i2c: Add repitition and address auto-incrementing so that
* apps/system/i2c: Add repetition and address auto-incrementing so that
and command can be executed numerous times. Add a new verify command
that will write to a register, read from register, and verify that
returned value.
@ -1133,7 +1133,7 @@
if DHCP is enabled. That can't be right???? (2014-11-17).
* apps/examples/bridge: Add a simple UDP relay bridge for testing
configurations with multiple networks. Initial checkin is not
very usuable because it lacks a host-side test driver for the
very usable because it lacks a host-side test driver for the
bridge (2014-11-17).
* apps/netutils/codecs/md5.c: Fix md5 hashing when digest[$i] lower
that 16. From Sergey (2015-11-20).
@ -1233,7 +1233,7 @@
called to perform these test operations on the touchscreen driver
(2015-03-31).
* apps/examples/adc: Change apps/examples/adc to that is now calls
boardctl() instead of adc_devinit() in order to initalize the ADC
boardctl() instead of adc_devinit() in order to initialize the ADC
device(2015-03-31).
* apps/examples/pwm/: Replace calls to pwm_devinit() in
apps/examples/pwm with calls to boardctl() (2015-03-31).
@ -1242,7 +1242,7 @@
(2015-04-04).
* apps/examples/nxlines/: Add the new 'capped' parameter to nx_drawline()
calls (2015-04-05).
* apps/modbus/tcp: Fix some complile problems when TCP is enabled
* apps/modbus/tcp: Fix some compile problems when TCP is enabled
(2015-04-06).
* apps/system: Clean up Kconfig menus. The way it worked before, it was
difficult to see what was enabled and what was not. menus replaced
@ -1336,7 +1336,7 @@
* apps/nshlib: Add support for a uname command (2015-07-04).
* apps/system/sysinfo: Remove the system sysinfo command. This is
replaced with the NSH uname command (2015-07-04).
* apps/syste/netdb: Add a command to access the network database
* apps/system/netdb: Add a command to access the network database
(2015-07-08).
* apps/netutils/dnsclient and include/netutils/dnsclient.h: Move the
DNS client logic into the NuttX C library. It is a necessary part
@ -1365,7 +1365,7 @@
do start at the same time (2015-07-24).
* apps/examples/ostest: Add a test for the sporadic scheduler. This
test is failing as of this commit (2015-07-24).
* apps/system/readline: Add support for Unix-style tab complete toi
* apps/system/readline: Add support for Unix-style tab complete to
readline. This currently works only for built-in functions.
Contributed by Nghia Ho (2015-07-28).
* apps/system/readline and apps/nshlib: Extended the tab-completion
@ -1687,7 +1687,7 @@
configured to support Cortex-M4F and the hard float ABI, target files
are compiles with: -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16
-mfloat-abi=hard. Im not sure the best way to address this, but the
this chage is the first that comes to mind. Note, I added the float
this change is the first that comes to mind. Note, I added the float
qualifier F after a few constants to prevent the compiler from
promoting the multiplication and division to double (expensive on
M4F) then demoting to single float for the store. From David
@ -1749,7 +1749,7 @@
* nshlib/: Add logic to support an NSH-specific system command
(2016-08-25).
* apps/system/system: Add a generic system command. Current
implentation cannot use /bin/sh and spawns the custom NSH system
implementation cannot use /bin/sh and spawns the custom NSH system
command directly (2016-08-25).
* apps/examples/system: Add a simple test of the system command. Fix
the first bug discovered by the test (2016-08-25).
@ -1783,18 +1783,18 @@
Cygwin (2016-11-17).
* apps/examples/timer: Should detach signal handler before exiting
(2016-11-18).
* Fixed bug that didn't free ftpd ressources on exit. From Pascal
* Fixed bug that didn't free ftpd resources on exit. From Pascal
Speck (2016-11-21).
* The examples/qencoder app was trying to init the encoder by a direct
call into the board, cheating in a local header to declare the
normally unavailable function prototype. From Sebastien Lorquet
(2016-11-22).
* apps/examples/archbuttons: Removed becaue it violates OS interface
* apps/examples/archbuttons: Removed because it violates OS interface
principles (2016-11-22).
* apps/system/sched_note: Extend to include additions to instumentation
for SMP (2016-11-27).
* apps/system/sched_lock: Add support for spinlock notes (2016-12-01).
* Graphics: Remove all NX server taks. Instead, call boardctl() to the
* Graphics: Remove all NX server tasks. Instead, call boardctl() to the
NX server kernel thread (2016-12-01).
* Remove RGMP example (2016-12-02).
* Remove some garbage characters added by error. From Pierre-Noel
@ -1844,7 +1844,7 @@
#ifndef instead of #ifdef. Noted by Oleg Evseev (2017-01-30).
* NSH: Add support for the 'ln' command (2017-02-02).
* NSH ls command: if node is a symobolic link, use readlink() to get and
the display the target of the symblic link (2017-02-03).
the display the target of the symbolic link (2017-02-03).
* NSH: Add readlink command (2017-02-05).
* examples/ostest: Add a test of setvbuf() (2017-02-09).
* apps/examples/stat: Add a simple test for stat(), fstat(), and
@ -1948,7 +1948,7 @@
* wireless/wapi: Quick port of Wapi wireless services. No build
support yet. This also depends on features not supported by NuttX.
This is a work in progress (2017-04-10).
* wireless/wapi: Remove logic that depnds on Linux netlink. Add
* wireless/wapi: Remove logic that depends on Linux netlink. Add
(untested) build support (2017-04-10).
* wireless/wapi: Remove functionality that depends on the Linux
procfs: This includes only 1) listing of available interfaces and 2)
@ -1995,8 +1995,8 @@
eth0 for network device name (2017-05-02).
* wireless/wext: Add drivers_wext from the WPA supplicant; Integrate
into NSH. From Simon Piriou (2017-05-02).
* 6LoWPAN: Replace some Rime address naming with more consistent
short/exended address terminology (2017-05-04).
* 6LoWPAN: Replace some rime address naming with more consistent
short/extended address terminology (2017-05-04).
* wireless/ieee802154: Removes libradio to coincide with removal of
ioctl with radio. Moves all functionality from libradio to libmac.
From Anthony Merlino (2017-05-05).
@ -2049,7 +2049,7 @@
* wireless/ieee802154: i8sak adds event handling from MAC char driver.
From Anthony Merlino (2017-05-16).
* apps/examples/mtdpart: Prevent part array overflow. mtdpart examples
create partions and allocate from 1 index not a 0 index to part[]
create partitions and allocate from 1 index not a 0 index to part[]
array. This cause buffer overflow for part array. This change fixes
this problem. From EunBong Song (2017-05-17).
* apps/examples/can: Fix can example app to print data when
@ -2082,7 +2082,7 @@
7.22 2017-09-06 Gregory Nutt <gnutt@nuttx.org>
* apps/system/composite: Update to apps/system/composite assocated with
* apps/system/composite: Update to apps/system/composite associated with
big changes to the composite device logic. From Frank Benkert
(2017-06-01).
* wireless/ieee802154: Modifies i8 to support running various routines.
@ -2132,7 +2132,7 @@
test. Separate out network initialization so that it may,
eventually, be used by both a target server and a target client. Fix
client/server naming confusion; add command line option to select the
server address on the target. Add support for both enpoints on
server address on the target. Add support for both endpoints on
target boards vs. one on a target and one on the host PC
(2017-06-23).
* system/dhcpc: The DHCPC renew command did not build correctly due to
@ -2150,7 +2150,7 @@
* ieee802154: start of scan/beacon-enabled network. From Anthony
Merlino (2017-06-26).
* netutils/telnetc: This a port of libtelnet to NuttX (2017-06-26).
* system/telnet: Add Telnet Chat deamon and and client from libtelent
* system/telnet: Add Telnet Chat daemon and and client from libtelent
(2017-06-26).
* NSH library: Add a Telnetd command. This is needed when network
initialization is deferred. In that case, telnet daemon cannot be
@ -2189,7 +2189,7 @@
* apps/examples/keypadtest: REMOVED and warehoused in the Obsoleted
repository. This was just a bad clone of apps/examples/hidkbd for a
keypad driver that was removed years ago. It also uses illegal
function calls into the OS. So it has no purpse: It is
function calls into the OS. So it has no purpose: It is
redundant, it uses illegal interfaces, and is a test for non-existent
code (2017-07-04).
* tools/mkkconfig.bat: Use %cd% instead of %~dp0 for usage of APPSDIR
@ -2244,7 +2244,7 @@
* apps/netutils/netlib: Add support for PktRadio IOCTL commands
(2017-08-02).
* NSH library: Extend ifconfig command so that it can set variable
length packet radio addresss (2017-08-02).
length packet radio address (2017-08-02).
* netutils/netlib: Fix netlib_nodaddrconv() so that its return type is
the same as other address conversion functions. NSH: Correct parsing
of ifconfig so that you can specify the HW address without specifying
@ -2345,7 +2345,7 @@
SENSORS_QENCODER fix it here. From Alan Carvalho de Assis (2017-09-24).
* nshlib/nsh_parse.c: Avoid truncating the strcmp result into a unsigned
char variable. nshlib/nsh_netcmds.c: Check for valid hostip before
using it. nshlib/nsh_ddcmd.c: Fix resouce leak when 'if=' or 'of='
using it. nshlib/nsh_ddcmd.c: Fix resource leak when 'if=' or 'of='
params are repeated in the command line. For example:
- dd if=/dev/null if=/dev/zero of=/dev/null or
- dd if=/dev/zero of=/dev/zero of=/dev/null
@ -2493,7 +2493,7 @@
/proc/meminfo (2017-11-13).
* apps/graphics/pdcurs34: This commit brings the basic public domain
pdcurses library into NuttX. This library is complete but not yet
usuable because it still requires the NuttX interfacing code needed hook
usable because it still requires the NuttX interfacing code needed hook
pdcurses into the NuttX graphics drivers. Also test cases are needed to
verify the pdcurses integration (2017-11-17).
* apps/examples/pdcurses: Bring in pdcurses demos and make them conform
@ -2541,7 +2541,7 @@
* apps/graphics/pdcurs34: Correct logic that sets the font buffer to
the background color for the case of BPP < 8 (2017-11-29).
* apps/examples/pdcurses: Clean up charset example so that the display
geomtry is better on very wide displays (wide with respect to the width
geometry is better on very wide displays (wide with respect to the width
of a character) (2017-11-30).
7.24 2018-03-02 Gregory Nutt <gnutt@nuttx.org>
@ -2588,7 +2588,7 @@
* examples/bmp180: Add BMP180 application example. From Alan Carvalho
de Assis (2018-02-04).
* apps/graphics/ft80x: Add the FTDU FT80x GUI support library.
Consists of some dispaly list helpers, audio helpers, touch helpers, RAM
Consists of some display list helpers, audio helpers, touch helpers, RAM
access, register access etc. From Gregory Nutt (2018-02-18).
* apps/examples/ft80x: Add a test of the FT80x based on FTDI
SampleApp. Includes tests of GPU primitives and graphics co-processor
@ -2629,7 +2629,7 @@
* apps/examples/lzf: Add the test case from Marc Alexander Lehmann's
LIBLZF3.6 librrary From Boris Astardzhiev (2018-03-14).
* apps/examples/lzf: lzf_compress() now expects the hash table as user
allocated input parmeter rather than declaring the huge array on the
allocated input parameter rather than declaring the huge array on the
stack. From Gregory Nutt (2018-03-15).
* apps/examples/lzf: unlzf and lzcat are not supported. From Gregory Nutt
(2018-03-15).
@ -2686,7 +2686,7 @@
CONFIG_EXAMPLES_OSTEST_AIO From Juha Niskanen (2018-04-11).
* apps/examples/nxdemo: Add nxdemo application From Alan Carvalho de
Assis (2018-04-28).
* apps/system/embedlog: Support for embedlog data loggin package from
* apps/system/embedlog: Support for embedlog data logging package from
https://embedlog.kurwinet.pl/ From Michal Lyszczek (2018-05-06).
* nshlib/nsh_fscmds.c: Add the mkfatfs -r option which can be used to
specify the number of entries in the FAT12/FAT16 root directory. From
@ -2817,7 +2817,7 @@
remove unnecessary usleep(). From Masayuki Ishikawa (2018-07-31).
* apps/system/i2c: Adapt to rename I2C_M_RESTART->i2C_M_START.
I2C_M_NOSTOP should be in flags of first message in every write-read
and write-write mesage sequence. From Gregory Nutt (2018-08-03).
and write-write message sequence. From Gregory Nutt (2018-08-03).
* include/netutils/netlib.h: Eliminate a warning about AF_UNSPEC and
AF_INET not defined. From Gregory Nutt (2018-08-03).
* Introduce a build system for loadable apps for nsh.
@ -2936,7 +2936,7 @@
order. From Xiang Xiao (2018-08-23).
* apps/system/ping and ping6: Change dependency in ping and ping6
Kconfig. These may be implemented in users sockets and, hence, may
need to be avaiable even if ICMP and ICMPv6 sockets are not support.
need to be available even if ICMP and ICMPv6 sockets are not support.
From Xiang Xiao (2018-08-23).
* apps/system/cu/cu_main.c: (1) Protect from possible re-definition of
signal values, (2) Fix CU ctrl-C hand when remote core hang. From
@ -3443,7 +3443,7 @@
and 'i'nsert. Fixed.
5. The 'vi_shrinkpos' position didn't take the end of file pointer into
account when calculating 'curpos', 'prevpos' variables causing
wierdness when deleting things near the end of the file. Fixed.
weirdness when deleting things near the end of the file. Fixed.
6. The 'yy'ank command was improperly deleting the text from the
document instead of simply yanking to the paste buffer. Fixed.
7. The 'dd'elete line function was not copying the deleted line to the
@ -3534,7 +3534,7 @@
18. Support for '?' reverse search mode.
19. Support for 'J'oin next line with current line command.
20. Printing of current row,col in status line of display.
21. Command repeat '.' support for commands that modifiy text.
21. Command repeat '.' support for commands that modify text.
22. Support in replace / insert mode for arrow keys, PGUP / PGDN, HOME,
and END. Using these will cause the command repeat buffer to
reset such that only the last text addition after a cursor movement
@ -3600,7 +3600,7 @@
* apps/netutils/dhcpc/dhcpc.c: Fix an error for DHCP REQUEST receiving a
NAK.In DHCP Request operation, no need to update ciaddr to the client
address and keep it as 0. From Kevin Liu (2019-01-30).
* apps/eamples/modbusmaster: Add Simple Modbus master example. This
* apps/examples/modbusmaster: Add Simple Modbus master example. This
example only supports Read/Write HoldingRegisters, but it is easy to
extend it to support Read/Write Input/Coils/etc. Originally creatd bey
Vytautas in 2016 and updated with minor fixes for this commit. From
@ -3808,7 +3808,7 @@
3. Revist Icons. They are windows now, but need to be compound widgets
lying on the background.
4. Widget events are only partially integrated. A lot more needs to be
done. A partial change to thoe event system that hints at the
done. A partial change to those event system that hints at the
redesign is in place but it is far from complete. From Gregory Nutt
(2019-04-25).
* graphics/twm4nx/src/cwindow.cxx: Finishes first cut at window event
@ -3825,7 +3825,7 @@
toolbar, it is necessary to get the CWidgetControl instance from the
window we want to use, not to create a new instance. From Gregory Nutt
(2019-04-26).
* apps/graphics/twm4nx: Finsh menu-related event handling. Extended menu
* apps/graphics/twm4nx: Finish menu-related event handling. Extended menu
handling. Allow external application event handling using a new base
class (CTwm4NxEvent). From Gregory Nutt (2019-04-27).
* apps/graphics/twm4nx: Flesh out some of the Resize logic. Still missing
@ -4143,7 +4143,7 @@
initial calibration screen optional. From Gregory Nutt (2019-05-20).
* apps/nshlib: Fix all places where cle() and readline() are used.
readline() returns EOF on a failure. cle() returns a negated errno
value. Checking only for EOF causes failues to be missed (and infinite
value. Checking only for EOF causes failures to be missed (and infinite
loops ensuing). From Valmantas Paliksa (2019-05-21).
* Add an alternative COMPONTEMPORARY theme. Still has some artifacts on
the display. From Gregory Nutt (2019-05-21).
@ -4184,7 +4184,7 @@
simulated segments of an SLCD display. From Gregory Nutt (2019-05-31).
* apps/graphics/tmw4nx and apps/graphics/slcd: Add a CClock class that
implements the Twm4Nx digital clock based on the CSLcd simulated SLCD
segements. From Gregory Nutt (2019-06-01).
segments. From Gregory Nutt (2019-06-01).
* apps/graphics/slcd: Improve the representation of '1', 'l', and 'I'.
From Gregory Nutt (2019-06-01).
* netutils/telnetd/telnetd_daemon.c: Fix another C89 violation that caused
@ -4319,7 +4319,7 @@
AT24CS0x, FLASH chips with a UUID that appears as a 2nd I2C slave at
(address+8), report their serial number at Reg[80]-Reg[8F] and will
NAK a read of Reg[0].
- modify get/set to prevent write of reg index if not specifed From
- modify get/set to prevent write of reg index if not specified From
David Alessio (2019-08-20).
* Move apps/builtins/builtin_forindex.c to nuttx/libs/libc/builtin since
it is required by kernel logic as well. Other changes account for
@ -4433,7 +4433,7 @@
slaves with register files that start from a higher index, i.e. the AT24CS0x,
FLASH chips with a UUID that appears as a 2nd I2C slave at (address+8),
report their serial number at Reg[80]-Reg[8F] and will NAK a read of Reg[0].
- modify get/set to prevent write of reg index if not specifed
- modify get/set to prevent write of reg index if not specified
- add 'dump' command to issue a single transaction to retrieve multiple bytes
from an I2C slave and register/offset.
- use NuttX' isprint()
@ -4522,7 +4522,7 @@
* apps/nshlib/README.txt: Update README to at least mention the new pmconfig
command. From Gregory Nutt (2019-11-04).
* netutils/netlib/netlib_getarptab.c: Do not initialize response buffer, it is
write-only. Also add a check to assue that the sequence number in the response
write-only. Also add a check to assure that the sequence number in the response
is the same as the sequence number in the request. From Gregory Nutt
(2019-11-04).
* apps/system/cle/cle.c: This change modifies the cle to use the streams file
@ -4534,7 +4534,7 @@
* apps/system/cu/cu_main.c: (1) Fix early exit. getc(stdin) can return 0 the
first time around. (2) Set optind to zero. getopt() was being left in a bad
state, causing parsing errors on second use. (3) Fix priority of cu_listen().
(4) Add suppor for -h. From David Alessio (2019-11-05).
(4) Add support for -h. From David Alessio (2019-11-05).
* netutils/netlib/netlib_getarptab.c: Per an old Linux Journal article, the
nl_pid fild of struct sockaddr_nl should be set to the PID of the task that
created the Netlink socket. Also fixes a warning. From Gregory Nutt

View File

@ -57,7 +57,7 @@
*
* Input Parameter:
* fd - file descriptor of an opened can device
* loopback - wether to use loopback mode.
* loopback - whether to use loopback mode.
*
* Returned Value:
* Zero (OK) is returned on success. Otherwise -1 (ERROR)

View File

@ -57,7 +57,7 @@
*
* Input Parameter:
* fd - file descriptor of an opened can device
* loopback - wether to use loopback mode.
* loopback - whether to use loopback mode.
*
* Returned Value:
* Zero (OK) is returned on success. Otherwise -1 (ERROR)

View File

@ -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.

View File

@ -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);

View File

@ -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

View File

@ -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);

View File

@ -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 */
};
/****************************************************************************

View File

@ -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)
{

View File

@ -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:

View File

@ -52,7 +52,7 @@
* Preprocessor Definitions
****************************************************************************/
/* Configuation Checkes *****************************************************/
/* Configuration Checks *****************************************************/
/* BEWARE:
* There are other configuration settings needed in netutils/dhcpd/dhcpdc.c,

View File

@ -604,7 +604,7 @@ void test_misc(void)
TEST_SEPARATOR();
/* Test helper funcions */
/* Test helper functions */
RUN_TEST(test_f_saturate);

View File

@ -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)
{

View File

@ -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>"

View File

@ -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.
*/

View File

@ -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
*
****************************************************************************/

View File

@ -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]);

View File

@ -194,7 +194,7 @@ int ftpd_daemon(int s_argc, char **s_argv)
return EXIT_FAILURE;
}
/* Configure acounts */
/* Configure accounts */
ftpd_accounts(handle);

View File

@ -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));

View File

@ -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

View File

@ -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)

View File

@ -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

View File

@ -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>"

View File

@ -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:

View File

@ -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++)
{

View File

@ -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?).

View File

@ -235,7 +235,7 @@ struct nxeg_state_s
* Public Data
****************************************************************************/
/* The connecton handle */
/* The connection handle */
extern NXHANDLE g_hnx;

View File

@ -276,7 +276,7 @@ struct nxtext_state_s
* Public Data
****************************************************************************/
/* The connecton handler */
/* The connection handler */
extern NXHANDLE g_hnx;

View File

@ -136,7 +136,7 @@ static const char *g_bgmsg[BGMSG_LINES] =
* Public Data
****************************************************************************/
/* The connecton handler */
/* The connection handler */
NXHANDLE g_hnx = NULL;

View File

@ -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.

View File

@ -86,7 +86,7 @@ typedef struct
} menu;
/****************************************************************************
* Public Functin Prototypes
* Public Function Prototypes
****************************************************************************/
void clsbody(void);

View File

@ -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);

View File

@ -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>"

View File

@ -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)

View File

@ -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));

View File

@ -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,

View File

@ -33,7 +33,7 @@
*
****************************************************************************/
/* Mount the ROMFS image, Verifty that it contains the
/* Mount the ROMFS image, Verify that it contains the
* following:
*
* testdir

View File

@ -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));

View File

@ -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

View File

@ -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?).

View File

@ -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.

View File

@ -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.

View File

@ -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

View File

@ -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

View File

@ -135,10 +135,10 @@ mkfatfs_nfatsect12(FAR struct fat_format_s *fmt, FAR struct fat_var_s *var,
{
#ifdef CONFIG_HAVE_LONG_LONG
uint64_t denom;
uint64_t numer;
uint64_t number;
#else
uint32_t denom;
uint32_t numer;
uint32_t number;
#endif
/* For FAT12, the cluster number is held in a 12-bit number or 1.5 bytes per
@ -174,9 +174,9 @@ mkfatfs_nfatsect12(FAR struct fat_format_s *fmt, FAR struct fat_var_s *var,
denom = (fmt->ff_nfats << 1) + fmt->ff_nfats
+ (var->fv_sectorsize << (fmt->ff_clustshift + 1));
numer = (navailsects << 1) + navailsects
number = (navailsects << 1) + navailsects
+ (1 << (fmt->ff_clustshift + 2)) + (1 << (fmt->ff_clustshift + 1));
return (uint32_t)((numer + denom - 1) / denom);
return (uint32_t)((number + denom - 1) / denom);
#ifndef CONFIG_HAVE_LONG_LONG
}
@ -213,10 +213,10 @@ mkfatfs_nfatsect16(FAR struct fat_format_s *fmt, FAR struct fat_var_s *var,
{
#ifdef CONFIG_HAVE_LONG_LONG
uint64_t denom;
uint64_t numer;
uint64_t number;
#else
uint32_t denom;
uint32_t numer;
uint32_t number;
#endif
/* For FAT16, the cluster number is held in a 16-bit number or 2 bytes per
@ -244,15 +244,15 @@ mkfatfs_nfatsect16(FAR struct fat_format_s *fmt, FAR struct fat_var_s *var,
if (fmt->ff_clustshift == 0)
{
denom = fmt->ff_nfats + (var->fv_sectorsize >> 1);
numer = navailsects + 2;
number = navailsects + 2;
}
else
{
denom = fmt->ff_nfats + (var->fv_sectorsize << (fmt->ff_clustshift - 1));
numer = navailsects + (1 << (fmt->ff_clustshift + 1));
number = navailsects + (1 << (fmt->ff_clustshift + 1));
}
return (uint32_t)((numer + denom - 1) / denom);
return (uint32_t)((number + denom - 1) / denom);
}
/****************************************************************************
@ -281,10 +281,10 @@ mkfatfs_nfatsect32(FAR struct fat_format_s *fmt, FAR struct fat_var_s *var,
{
#ifdef CONFIG_HAVE_LONG_LONG
uint64_t denom;
uint64_t numer;
uint64_t number;
#else
uint32_t denom;
uint32_t numer;
uint32_t number;
#endif
/* For FAT32, the cluster number is held in a 32-bit number or 4 bytes per
@ -312,20 +312,20 @@ mkfatfs_nfatsect32(FAR struct fat_format_s *fmt, FAR struct fat_var_s *var,
if (fmt->ff_clustshift == 0)
{
denom = fmt->ff_nfats + (var->fv_sectorsize >> 2);
numer = navailsects + 3;
number = navailsects + 3;
}
else if (fmt->ff_clustshift == 1)
{
denom = fmt->ff_nfats + (var->fv_sectorsize >> 1);
numer = navailsects + 6;
number = navailsects + 6;
}
else
{
denom = fmt->ff_nfats + (var->fv_sectorsize << (fmt->ff_clustshift - 2));
numer = navailsects + (1 << (fmt->ff_clustshift + 1)) + (1 << fmt->ff_clustshift);
number = navailsects + (1 << (fmt->ff_clustshift + 1)) + (1 << fmt->ff_clustshift);
}
return (uint32_t)((numer + denom - 1) / denom);
return (uint32_t)((number + denom - 1) / denom);
}
/****************************************************************************
@ -361,7 +361,7 @@ mkfatfs_clustersearchlimits(FAR struct fat_format_s *fmt, FAR struct fat_var_s *
if (fmt->ff_nsectors < 2048)
{
/* 2k sectors, start wit 1 sector/cluster. */
/* 2k sectors, start with 1 sector/cluster. */
fmt->ff_clustshift = 0;
}
else if (fmt->ff_nsectors < 4096)
@ -399,7 +399,7 @@ mkfatfs_clustersearchlimits(FAR struct fat_format_s *fmt, FAR struct fat_var_s *
else
{
/* The caller has selected a cluster size. There will be no search!
* Just set the maximum to the caller specificed value.
* Just set the maximum to the caller specified value.
*/
mxclustshift = fmt->ff_clustshift;
@ -861,7 +861,7 @@ mkfatfs_clustersearch(FAR struct fat_format_s *fmt, FAR struct fat_var_s *var)
*
* Input:
* fmt - Caller specified format parameters
* var - Holds disk geomtry data. Also, the location to return FAT
* var - Holds disk geometry data. Also, the location to return FAT
* configuration data
*
* Return:

View File

@ -236,7 +236,7 @@
*/
#define DIR_NAME 0 /* 11@ 0: NAME: 8 bytes + 3 byte extension */
#define DIR_ATTRIBUTES 11 /* 1@11: File attibutes (see below) */
#define DIR_ATTRIBUTES 11 /* 1@11: File attributes (see below) */
#define DIR_NTRES 12 /* 1@12: Reserved for use by NT */
#define DIR_CRTTIMETENTH 13 /* 1@13: Tenth sec creation timestamp */
#define DIR_CRTIME 14 /* 2@14: Time file created */
@ -354,7 +354,7 @@
#define FAT_BAD 0x0ffffff7
/****************************************************************************
* Maximum cluster by FAT type. This is the key value used to distinquish
* Maximum cluster by FAT type. This is the key value used to distinguish
* between FAT12, 16, and 32.
*/

View File

@ -322,7 +322,7 @@ int mkfatfs(FAR const char *pathname, FAR struct fat_format_s *fmt)
}
#endif
/* Find the inode of the block driver indentified by 'source' */
/* Find the inode of the block driver identified by 'source' */
var.fv_fd = open(pathname, O_RDWR);
if (var.fv_fd < 0)

View File

@ -114,7 +114,7 @@ struct fat_format_s; /* Forward reference */
*
* Input:
* fmt - Caller specified format parameters
* var - Holds disk geomtry data. Also, the location to return FAT
* var - Holds disk geometry data. Also, the location to return FAT
* configuration data
*
* Return:

View File

@ -172,7 +172,7 @@ int mksmartfs(FAR const char *pathname, uint16_t sectorsize)
int x;
int ret;
/* Find the inode of the block driver indentified by 'source' */
/* Find the inode of the block driver identified by 'source' */
fd = open(pathname, O_RDWR);
if (fd < 0)
@ -198,7 +198,7 @@ int mksmartfs(FAR const char *pathname, uint16_t sectorsize)
ret = ioctl(fd, BIOC_GETFORMAT, (unsigned long) &fmt);
/* Now Write the filesystem to media. Loop for each root dir entry and
* allocate the reserved Root Dir Enty, then write a blank root dir for it.
* allocate the reserved Root Dir Entry, then write a blank root dir for it.
*/
type = SMARTFS_SECTOR_TYPE_DIR;

View File

@ -61,7 +61,7 @@
#ifndef CONFIG_FS_NAMED_SEMAPHORES
/* In the FLAT and PROTECTED build modes, we do not need to bother with a
* named semaphore. We use a single global semaphore in theses cases.
* named semaphore. We use a single global semaphore in these cases.
*/
static sem_t g_passwd_sem = SEM_INITIALIZER(1);

View File

@ -52,7 +52,7 @@
*
* Description:
* Return true if the username exists in the /etc/passwd file and if the
* password matches the user password in that faile.
* password matches the user password in that failed.
*
* Input Parameters:
*

View File

@ -89,7 +89,7 @@ uint8_t minmea_checksum(FAR const char *sentence)
{
uint8_t checksum = 0x00;
/* Support senteces with or without the starting dollar sign. */
/* Support sentences with or without the starting dollar sign. */
if (*sentence == '$')
{

View File

@ -58,12 +58,12 @@
* Name: ft80x_touch_gettransform
*
* Description:
* Read the touch transfrom matrix
* Read the touch transform matrix
*
* Input Parameters:
* fd - The file descriptor of the FT80x device. Opened by the caller
* with write access.
* matrix - The location to return the transfrom matrix
* matrix - The location to return the transform matrix
*
* Returned Value:
* Zero (OK) on success. A negated errno value on failure.

View File

@ -7,7 +7,7 @@ menuconfig GRAPHICS_LVGL
bool "Littlev Graphic Library (LVGL)"
default n
---help---
Enable support for the LVGL GUI libray.
Enable support for the LVGL GUI library.
if GRAPHICS_LVGL
@ -59,7 +59,7 @@ config LV_VDB_DOUBLE
---help---
Enable to use one buffer for rendering an other to flush the
ready content to the frame buffer.
The flushing should be done by a hardware modul (e.g. DMA) to
The flushing should be done by a hardware module (e.g. DMA) to
make rendering and flushing parallel
if LV_VDB_DOUBLE

View File

@ -43,7 +43,7 @@
# Output is to stdout, but may be re-directed to a file.
PROGNAME=$0
USAGE="USAGE: $PROGNAME [-d] -f <input-file> [-bg <backgrond color>] -[f1 <color1>] [-f2 <color2>] [-f3 <color3>] -o <output-file>"
USAGE="USAGE: $PROGNAME [-d] -f <input-file> [-bg <background color>] -[f1 <color1>] [-f2 <color2>] [-f3 <color3>] -o <output-file>"
CFILE=mkcursor.c
TMPFILE1=_tmpfile1.c

View File

@ -127,7 +127,7 @@ static const nxgl_mxpixel_t g_calculatorBrightLut[BITMAP_NLUTCODES] =
# endif /* CONFIG_NXWIDGETS_GREYSCALE */
#else
# error "Unsupport pixel format"
# error "Unsupported pixel format"
#endif
static const struct SRlePaletteBitmapEntry g_calculatorRleEntries[] =

View File

@ -138,7 +138,7 @@ static const nxgl_mxpixel_t g_calibrationSelectedLut[BITMAP_NLUTCODES] =
# endif
#else
# error "Unsupport pixel format"
# error "Unsupported pixel format"
#endif
static const struct SRlePaletteBitmapEntry g_calibrationRleEntries[] =

View File

@ -130,7 +130,7 @@ static const nxgl_mxpixel_t g_cmdBrightLut[BITMAP_NLUTCODES] =
# endif
#else
# error "Unsupport pixel format"
# error "Unsupported pixel format"
#endif
static const struct SRlePaletteBitmapEntry g_cmdRleEntries[] =

View File

@ -131,7 +131,7 @@ static const uint8_t g_minimizeBrightLut[BITMAP_NLUTCODES] =
# endif
#else
# error "Unsupport pixel format"
# error "Unsupported pixel format"
#endif
static const struct SRlePaletteBitmapEntry g_minimizeRleEntries[] =

View File

@ -153,7 +153,7 @@ static const nxgl_mxpixel_t g_nuttxLut[BITMAP_NLUTCODES] =
# endif
#else
# error "Unsupport pixel format"
# error "Unsupported pixel format"
#endif
#if CONFIG_NXWIDGETS_BPP == 24 || CONFIG_NXWIDGETS_BPP == 32

View File

@ -111,7 +111,7 @@ static const nxgl_mxpixel_t g_nuttxLut[BITMAP_NLUTCODES] =
# endif
#else
# error "Unsupport pixel format"
# error "Unsupported pixel format"
#endif
static const struct SRlePaletteBitmapEntry g_nuttxRleEntries[] =

View File

@ -207,7 +207,7 @@ static const nxgl_mxpixel_t g_playBrightLut[BITMAP_NLUTCODES] =
# endif /* DARK_PLAY_ICON */
# endif /* CONFIG_NXWIDGETS_GREYSCALE */
#else
# error "Unsupport pixel format"
# error "Unsupported pixel format"
#endif
static const struct SRlePaletteBitmapEntry g_playRleEntries[] =

View File

@ -209,7 +209,7 @@ static const nxgl_mxpixel_t g_playBrightLut[BITMAP_NLUTCODES] =
# endif /* DARK_PLAY_ICON */
# endif /* CONFIG_NXWIDGETS_GREYSCALE */
#else
# error "Unsupport pixel format"
# error "Unsupported pixel format"
#endif
static const struct SRlePaletteBitmapEntry g_playRleEntries[] =

View File

@ -135,7 +135,7 @@ static const uint8_t g_stopBrightLut[BITMAP_NLUTCODES] =
# endif
#else
# error "Unsupport pixel format"
# error "Unsupported pixel format"
#endif
static const struct SRlePaletteBitmapEntry g_stopRleEntries[] =

View File

@ -10,7 +10,7 @@
for selected and non-selected images.
* CImage: If selected, uses different LUTs based, different borders.
CImage is now basically a button type.
* CImage: Add logic to hightlight an CImage (using the selected LUT).
* CImage: Add logic to highlight an CImage (using the selected LUT).
* nxwm: The tiny NX window manager (NxWM) is being developed in this directory.
* UnitTests/nxwm: A unit test for the NX window manager.
* CWidgetControl: Add a semaphore to force clients to wait if the
@ -20,7 +20,7 @@
out in the 1.0 release but is verfied functional in 1.1.
* CRlePalettBitmap: Fix an error in the text that determines if we
need to "rewind" to the beginning of the image.
* CRlePalettBitmap: Fixe a positioning problem. It was actually losing
* CRlePalettBitmap: Fix a positioning problem. It was actually losing
the last row of every image!
* CNxWidget: Removed support for "shelving" widgets. I will be removing
some lesser used feature over time in order to reduce the NxWidgets
@ -117,7 +117,7 @@
the widgets in the window (via CWidgetControl) or to an NxConsole (via
nxcon_kbdin()).
* NXWidgets::INxWindow, CBgWindow, CNxTkWindow, CNxToolbar, CNxWindow:
Now pass the CCallback intances as the callback argument instead of
Now pass the CCallback instances as the callback argument instead of
the CWidgetControl instance. New method redirectNxConsole() will
support redirection of any window keyboard input to the NxConsole
(via CCallback).
@ -474,7 +474,7 @@
* NxWidgets::CImage: Should not attempt to draw the "empty" regions at the
top and the bottom of the image box in greyscale (2014-7-17).
* NxWM::CMediaPlayer: Fix some state-related bugs introduced yesterday.
Improved state-related button displayes. Now correctly catches and
Improved state-related button display. Now correctly catches and
handles file selection events (2014-7-17).
* NxWidgets::CImage: Cannot use NxWidgets::CGraphicsPort:drawBitmapGreyScale()
because it does not respect transparent or background colors in its current
@ -569,7 +569,7 @@
incompatibility with versions of NuttX prior to 7.16 (2016-04-14).
* UnitTests: Add Make.defs files to all UnitTests directories. This is
required by the current apps/Makefile. Hmmm.. This means that no one
has built the NxWidgets packages in the last several realeases!
has built the NxWidgets packages in the last several releases!
(2016-04-23).
* UnitTests: Add some default definitions to handle the (unusual) case
where 'make clean' is called with no .config or Make.defs file installed
@ -587,7 +587,7 @@
* Unittests: All Makefiles must provided a (dummy) prefconfig target to be
compatible with changes to the apps/ configuration system that will be
be released in NuttX-7.17 (2016-06-29).
* Changes to pre-processor include statments needed to handle reorganization
* Changes to pre-processor include statements needed to handle reorganization
of the apps/include directory (2016-07-01).
* Update include paths to adapt to changes made to apps/ include path logic
(2016-07-22).

View File

@ -278,7 +278,7 @@ TYPEDEF_HIDES_STRUCT = NO
# For small to medium size projects (<1000 input files) the default value is
# probably good enough. For larger projects a too small cache size can cause
# doxygen to be busy swapping symbols to and from disk most of the time
# causing a significant performance penality.
# causing a significant performance penalty.
# If the system has enough physical memory increasing the cache will improve the
# performance by keeping more symbols in memory. Note that the value works on
# a logarithmic scale so increasing the size by one will roughly double the

View File

@ -43,7 +43,7 @@ function ShowUsage()
echo "USAGE: $0 <doxygen-output-directory-path>"
echo ""
echo "Where:"
echo " <doxygen-output-directory-path> is the full, absolut path to place the doxygen output"
echo " <doxygen-output-directory-path> is the full, absolute path to place the doxygen output"
echo ""
}

View File

@ -25,7 +25,7 @@ config NXWIDGETS_FLICKERFREE
updated, LCDs may be prone to "flicker" in the displays when Widgets
are updated. Often more complex (and slower) options are available
to reduce the flicker. Enabling this option will enabled those
lower-performance flicker-reductions measures where-ever thay may
lower-performance flicker-reductions measures where-ever they may
be available.
config NXWIDGET_SERVERINIT

View File

@ -37,7 +37,7 @@ headline new feature in this release is:
menu and create as many NSH sessions in windows as you want. (keybard input
still comes through serial).
This initial realease of NxWM should be considered an alpha release.
This initial release of NxWM should be considered an alpha release.
All know issues are listed in the top-level TODO list.
Other important new features include:
@ -126,7 +126,7 @@ Additional new features and extended functionality in Version 1.4:
* NxWdigets::CNxServer: Reduce start-up delay
* NxWM::CApplicationWindow: Option to eliminate minimize button.
* NxWM::CTaskbar: Option to eliminte the background image; highlight current
* NxWM::CTaskbar: Option to eliminate the background image; highlight current
icon in the task bar.
* NxWidgets::CNumericEdit: New widget. Basically a CLabel with +/- buttons.
* NxWidgets::CNxTimer: Replace the original signal-based solution with a
@ -532,7 +532,7 @@ Bugfixes\:
incompatibility with versions of NuttX prior to 7.16.
* UnitTests: Add Make.defs files to all UnitTests directories. This is
required by the current apps/Makefile. Hmmm.. This means that no one
has built the NxWidgets packages in the last several realeases!
has built the NxWidgets packages in the last several releases!
* UnitTests: Add some default definitions to handle the (unusual) case
where 'make clean' is called with no .config or Make.defs file installed
@ -555,7 +555,7 @@ Additional new features and extended functionality in Version 1.17:
info(), warn(), and err().
- Changes to Unittests/ Makefiles to deal with changes in the apps/
build system.
- Changes to pre-processor include statments needed to handle
- Changes to pre-processor include statements needed to handle
reorganization of the apps/include directory.
- Update include paths to adapt to changes made to apps/ include path
logic

View File

@ -268,7 +268,7 @@ void CButtonTest::showButton(CButton *button)
// Perform a simulated mouse click on the button. This method injects
// the mouse click through the NX hierarchy just as would real mouse
// hardward.
// hardware.
void CButtonTest::click(void)
{

View File

@ -128,7 +128,7 @@ public:
// Perform a simulated mouse click on the button. This method injects
// the mouse click through the NX hierarchy just as would real mouse
// hardward.
// hardware.
void click(void);

View File

@ -230,7 +230,7 @@ void CButtonArrayTest::showButton(CButtonArray *buttonArray)
// Perform a simulated mouse click on a button in the array. This method injects
// the mouse click through the NX hierarchy just as would real mouse
// hardward.
// hardware.
void CButtonArrayTest::click(CButtonArray *buttonArray, int column, int row)
{
@ -244,7 +244,7 @@ void CButtonArrayTest::click(CButtonArray *buttonArray, int column, int row)
NXHANDLE handle = getServer();
// The the coorinates of the center of the button
// The the coordinates of the center of the button
nxgl_coord_t buttonX = buttonArray->getX() +
column * BUTTONARRAY_BUTTONWIDTH +
@ -273,7 +273,7 @@ void CButtonArrayTest::release(CButtonArray *buttonArray, int column, int row)
NXHANDLE handle = getServer();
// The the coorinates of the center of the button
// The the coordinates of the center of the button
nxgl_coord_t buttonX = buttonArray->getX() +
column * BUTTONARRAY_BUTTONWIDTH +

View File

@ -134,7 +134,7 @@ public:
// Perform a simulated mouse click on a button in the array. This method injects
// the mouse click through the NX hierarchy just as would real mouse
// hardward.
// hardware.
void click(CButtonArray *buttonArray, int column, int row);

View File

@ -250,7 +250,7 @@ void CGlyphButtonTest::showButton(CGlyphButton *button)
// Perform a simulated mouse click on the button. This method injects
// the mouse click through the NX hierarchy just as would real mouse
// hardward.
// hardware.
void CGlyphButtonTest::click(void)
{

View File

@ -134,7 +134,7 @@ public:
// Perform a simulated mouse click on the button. This method injects
// the mouse click through the NX hierarchy just as would real mouse
// hardward.
// hardware.
void click(void);

View File

@ -348,7 +348,7 @@ void CKeypadTest::showKeypad(CKeypad *keypad)
// Perform a simulated mouse click on a button in the array. This method injects
// the mouse click through the NX hierarchy just as would real mouse
// hardward.
// hardware.
void CKeypadTest::click(CKeypad *keypad, int column, int row)
{
@ -362,7 +362,7 @@ void CKeypadTest::click(CKeypad *keypad, int column, int row)
NXHANDLE handle = getServer();
// The the coorinates of the center of the button
// The the coordinates of the center of the button
nxgl_coord_t buttonX = keypad->getX() + column * m_buttonWidth + (m_buttonWidth >> 1);
nxgl_coord_t buttonY = keypad->getY() + row * m_buttonHeight + (m_buttonHeight >> 1);
@ -387,7 +387,7 @@ void CKeypadTest::release(CKeypad *keypad, int column, int row)
NXHANDLE handle = getServer();
// The the coorinates of the center of the button
// The the coordinates of the center of the button
nxgl_coord_t buttonX = keypad->getX() +
column * m_buttonWidth +

View File

@ -145,7 +145,7 @@ public:
// Perform a simulated mouse click on a button in the array. This method injects
// the mouse click through the NX hierarchy just as would real mouse
// hardward.
// hardware.
void click(CKeypad *keypad, int column, int row);

View File

@ -269,7 +269,7 @@ void CLatchButtonTest::showButton(CLatchButton *button)
// Perform a simulated mouse click on the button. This method injects
// the mouse click through the NX hierarchy just as would real mouse
// hardward.
// hardware.
void CLatchButtonTest::click(void)
{

View File

@ -128,7 +128,7 @@ public:
// Perform a simulated mouse click on the button. This method injects
// the mouse click through the NX hierarchy just as would real mouse
// hardward.
// hardware.
void click(void);

View File

@ -230,7 +230,7 @@ void CLatchButtonArrayTest::showButton(CLatchButtonArray *buttonArray)
// Perform a simulated mouse click on a button in the array. This method injects
// the mouse click through the NX hierarchy just as would real mouse
// hardward.
// hardware.
void CLatchButtonArrayTest::click(CLatchButtonArray *buttonArray, int column, int row)
{
@ -244,7 +244,7 @@ void CLatchButtonArrayTest::click(CLatchButtonArray *buttonArray, int column, in
NXHANDLE handle = getServer();
// The the coorinates of the center of the button
// The the coordinates of the center of the button
nxgl_coord_t buttonX = buttonArray->getX() +
column * BUTTONARRAY_BUTTONWIDTH +
@ -273,7 +273,7 @@ void CLatchButtonArrayTest::release(CLatchButtonArray *buttonArray, int column,
NXHANDLE handle = getServer();
// The the coorinates of the center of the button
// The the coordinates of the center of the button
nxgl_coord_t buttonX = buttonArray->getX() +
column * BUTTONARRAY_BUTTONWIDTH +

View File

@ -134,7 +134,7 @@ public:
// Perform a simulated mouse click on a button in the array. This method injects
// the mouse click through the NX hierarchy just as would real mouse
// hardward.
// hardware.
void click(CLatchButtonArray *buttonArray, int column, int row);

View File

@ -224,7 +224,7 @@ CRadioButton *CRadioButtonTest::newRadioButton(void)
}
}
// Create the new radio button at the botton of the radio button group and
// Create the new radio button at the bottom of the radio button group and
// with the size of the ON radio button glyph (they all need to be the same
// size!). Note that coordinates are relative to the parent bounding box.

View File

@ -2,7 +2,7 @@
*
* In order to better support NuttX based platforms, a special graphical user
* interface has been created called NXWidgets. NXWidgets is written in C++
* and integrates seamlessly with the NuttX NX graphics subystem in order to
* and integrates seamlessly with the NuttX NX graphics subsystem in order to
* provide graphic objects, or "widgets", in the <a title="NX Graphics
* Subsystem" href="https://bitbucket.org/nuttx/documentation/src/master/NXGraphicsSubsystem.html">
* NX Graphics Subsystem</a>.
@ -17,7 +17,7 @@
*
* \subsection nx_integration NX Integration
*
* Integrates seamlessly with the NX graphics subsytem. Think of the X
* Integrates seamlessly with the NX graphics subsystem. Think of the X
* server under Linux... the NX graphics subsystem is like a tiny X server
* that provides windowing under NuttX. By adding NXWidgets, you can
* support graphic objects like buttons and text boxes in the NX windows

View File

@ -100,7 +100,7 @@ CButtonArray::CButtonArray(CWidgetControl *pWidgetControl,
m_redrawButton = false;
// No hightlighted buttons
// No highlighted buttons
m_cursorOn = false;
m_cursorChange = false;
@ -291,7 +291,7 @@ void CButtonArray::cursor(bool cursorOn)
/**
* Return the current cursor position (button indices) and an indication
* if the button at the cursor is currently hightlighted.
* if the button at the cursor is currently highlighted.
*
* @param column The location to return the column index of the button
* of interest
@ -348,7 +348,7 @@ bool CButtonArray::setCursorPosition(int column, int row)
if (redrawCursor)
{
// Yes.. Set the new cursor hightlight
// Yes.. Set the new cursor highlight
m_cursorOn = true;
redraw();
@ -433,7 +433,7 @@ void CButtonArray::drawContents(CGraphicsPort *port)
drawButton(port, column, row, isClicked());
}
// Do we just draw the hightlighted button?
// Do we just draw the highlighted button?
else if (m_cursorChange)
{
@ -503,7 +503,7 @@ void CButtonArray::drawButton(CGraphicsPort *port, int column, int row, bool use
nxwidget_pixel_t backColor;
nxwidget_pixel_t textColor;
// Pick the background and test colors. Should we use the 'clicked' backgound style?
// Pick the background and test colors. Should we use the 'clicked' background style?
if (useClicked || isCursorPosition(column, row))
{

View File

@ -344,14 +344,14 @@ void CCallback::windowEvent(NXWINDOW hwnd, enum nx_event_e event,
switch (event)
{
case NXEVENT_SYNCHED: // Server is syncrhonized
case NXEVENT_SYNCHED: // Server is synchronized
{
// The second argument must be the CCallback instance
CCallback *This = (CCallback *)arg2;
DEBUGASSERT(This != NULL);
// We are now syncrhonized
// We are now synchronized
This->m_synchronized = true;
sem_post(&This->m_semevent);

View File

@ -613,7 +613,7 @@ void CGraphicsPort::drawText(struct nxgl_point_s *pos, CRect *bound,
}
/**
* Draw a particular length of a string to the window in a secific color.
* Draw a particular length of a string to the window in a specific color.
*
* @param pos The window-relative x/y coordinate of the string.
* @param bound The window-relative bounds of the string.

View File

@ -226,7 +226,7 @@ CNxWidget::~CNxWidget(void)
m_children[0]->destroy();
}
// Remove ourselve from the controlled widget list
// Remove ourselves from the controlled widget list
m_widgetControl->removeControlledWidget(this);
@ -980,7 +980,7 @@ bool CNxWidget::blur(void)
/**
* Move the widget to the new coordinates.
* Co-ordinates are relative to the parent widget.
* Coordinates are relative to the parent widget.
*
* @param x The new x coordinate.
* @param y The new y coordinate.

View File

@ -231,7 +231,7 @@ void CRect::setY2(nxgl_coord_t y2)
}
/**
* Populates dest with a rectangle representating the intersection
* Populates dest with a rectangle representing the intersection
* of this rectangle and rect.
*
* @param rect The rectangle to intersect with this.
@ -252,7 +252,7 @@ void CRect::getIntersect(const CRect &rect, CRect &dest) const
}
/**
* Populates dest with a rectangle representating the smallest
* Populates dest with a rectangle representing the smallest
* rectangle that contains this rectangle and rect.
*
* @param rect The rectangle to add to this.

View File

@ -243,7 +243,7 @@ void CStickyButtonArray::drawContents(CGraphicsPort *port)
}
}
// Do we just draw the hightlighted button?
// Do we just draw the highlighted button?
else if (m_cursorChange)
{

View File

@ -107,7 +107,7 @@ CWidgetControl::CWidgetControl(FAR const CWidgetStyle *style)
m_nCh = 0;
m_nCc = 0;
// Intialize semaphores:
// Initialize semaphores:
//
// m_waitSem. The semaphore that will wake up the external logic on mouse events,
// keypress events, or widget deletion events.
@ -927,8 +927,8 @@ void CWidgetControl::takeGeoSem(void)
}
/**
* Check if geomtry data is available. If not, [re-]request the
* geomtry data and wait for it to become valid.
* Check if geometry data is available. If not, [re-]request the
* geometry data and wait for it to become valid.
*
* CAREFUL: This assumes that if we already have geometry data, then
* it is valid. This might not be true if the size position was

View File

@ -149,7 +149,7 @@ void CWindowEventHandlerList::raiseMouseEvent(FAR const struct nxgl_point_s *pos
#ifdef CONFIG_NX_KBD
/**
* Raise an NX keybord input event
* Raise an NX keyboard input event
*/
void CWindowEventHandlerList::raiseKeyboardEvent(void)

View File

@ -2,7 +2,7 @@ COPYING -- Describes the terms under which NxWM is distributed. A
copy of the BSD-style licensing is included in this file. In my
words -- I believe that you should free to use NxWM in any
environment, private, private, commercial, open, closed, etc.
provided only that you repect the modest copyright notices as
provided only that you respect the modest copyright notices as
described in license (below). Please feel free to contact me if you
have any licensing concerns.

View File

@ -10,7 +10,7 @@
for selected and non-selected images.
* CImage: If selected, uses different LUTs based, different borders.
CImage is now basically a button type.
* CImage: Add logic to hightlight an CImage (using the selected LUT).
* CImage: Add logic to highlight an CImage (using the selected LUT).
* nxwm: The tiny NX window manager (NxWM) is being developed in this directory.
* UnitTests/nxwm: A unit test for the NX window manager.
* CWidgetControl: Add a semaphore to force clients to wait if the
@ -20,7 +20,7 @@
out in the 1.0 release but is verfied functional in 1.1.
* CRlePalettBitmap: Fix an error in the text that determines if we
need to "rewind" to the beginning of the image.
* CRlePalettBitmap: Fixe a positioning problem. It was actually losing
* CRlePalettBitmap: Fix a positioning problem. It was actually losing
the last row of every image!
* CNxWidget: Removed support for "shelving" widgets. I will be removing
some lesser used feature over time in order to reduce the NxWidgets
@ -117,7 +117,7 @@
the widgets in the window (via CWidgetControl) or to an NxConsole (via
nxcon_kbdin()).
* NXWidgets::INxWindow, CBgWindow, CNxTkWindow, CNxToolbar, CNxWindow:
Now pass the CCallback intances as the callback argument instead of
Now pass the CCallback instances as the callback argument instead of
the CWidgetControl instance. New method redirectNxConsole() will
support redirection of any window keyboard input to the NxConsole
(via CCallback).
@ -474,7 +474,7 @@
* NxWidgets::CImage: Should not attempt to draw the "empty" regions at the
top and the bottom of the image box in greyscale (2014-7-17).
* NxWM::CMediaPlayer: Fix some state-related bugs introduced yesterday.
Improved state-related button displayes. Now correctly catches and
Improved state-related button display. Now correctly catches and
handles file selection events (2014-7-17).
* NxWidgets::CImage: Cannot use NxWidgets::CGraphicsPort:drawBitmapGreyScale()
because it does not respect transparent or background colors in its current
@ -569,7 +569,7 @@
incompatibility with versions of NuttX prior to 7.16 (2016-04-14).
* UnitTests: Add Make.defs files to all UnitTests directories. This is
required by the current apps/Makefile. Hmmm.. This means that no one
has built the NxWidgets packages in the last several realeases!
has built the NxWidgets packages in the last several releases!
(2016-04-23).
* UnitTests: Add some default definitions to handle the (unusual) case
where 'make clean' is called with no .config or Make.defs file installed
@ -587,7 +587,7 @@
* Unittests: All Makefiles must provided a (dummy) prefconfig target to be
compatible with changes to the apps/ configuration system that will be
be released in NuttX-7.17 (2016-06-29).
* Changes to pre-processor include statments needed to handle reorganization
* Changes to pre-processor include statements needed to handle reorganization
of the apps/include directory (2016-07-01).
* Update include paths to adapt to changes made to apps/ include path logic
(2016-07-22).

View File

@ -278,7 +278,7 @@ TYPEDEF_HIDES_STRUCT = NO
# For small to medium size projects (<1000 input files) the default value is
# probably good enough. For larger projects a too small cache size can cause
# doxygen to be busy swapping symbols to and from disk most of the time
# causing a significant performance penality.
# causing a significant performance penalty.
# If the system has enough physical memory increasing the cache will improve the
# performance by keeping more symbols in memory. Note that the value works on
# a logarithmic scale so increasing the size by one will roughly double the

View File

@ -43,7 +43,7 @@ function ShowUsage()
echo "USAGE: $0 <doxygen-output-directory-path>"
echo ""
echo "Where:"
echo " <doxygen-output-directory-path> is the full, absolut path to place the doxygen output"
echo " <doxygen-output-directory-path> is the full, absolute path to place the doxygen output"
echo ""
}

View File

@ -346,7 +346,7 @@ config NXWM_STARTWINDOW_MXMSGS
int "Max Messages"
default 32
---help---
The maximum number of messages to queue before blocking. Defualt 32
The maximum number of messages to queue before blocking. Default 32
config NXWM_STARTWINDOW_MXMPRIO
int "Message Priority"
@ -694,7 +694,7 @@ config NXWM_CALIBRATION_ANISOTROPIC
default n
---help---
Most touchscreens have the property that the X value consistent across
the entire vertial range of the display, i.e., if you press in the
the entire vertical range of the display, i.e., if you press in the
upper left of the display and in the low right of the display, then
only the Y value will change. This is true of some touchscreens:
For some touchscreens the X values in the same vertical column will
@ -719,7 +719,7 @@ config NXWM_CUSTOM_CALIBRATION_ICON
if NXWM_CUSTOM_CALIBRATION_ICON
config NXWM_CALIBRATION_ICON
string "Callibration Icon"
string "Calibration Icon"
default "NXWidgets::g_calibrationBitmap"
---help---
The ICON to use for the touchscreen calibration application. Default:
@ -754,7 +754,7 @@ config NXWM_HEXCALCULATOR_CUSTOM_COLORS
bool "Custom Hex Calculator Colors"
default n
---help---
Select custom default colors for the Hex Calcualtor window. If
Select custom default colors for the Hex Calculator window. If
defined, the hexadecimal values for all hex calculator colors
must be provided (there are no default colors because the
hexadecimal representation of the default colors depend on the

View File

@ -37,7 +37,7 @@ headline new feature in this release is:
menu and create as many NSH sessions in windows as you want. (keybard input
still comes through serial).
This initial realease of NxWM should be considered an alpha release.
This initial release of NxWM should be considered an alpha release.
All know issues are listed in the top-level TODO list.
Other important new features include:
@ -126,7 +126,7 @@ Additional new features and extended functionality in Version 1.4:
* NxWdigets::CNxServer: Reduce start-up delay
* NxWM::CApplicationWindow: Option to eliminate minimize button.
* NxWM::CTaskbar: Option to eliminte the background image; highlight current
* NxWM::CTaskbar: Option to eliminate the background image; highlight current
icon in the task bar.
* NxWidgets::CNumericEdit: New widget. Basically a CLabel with +/- buttons.
* NxWidgets::CNxTimer: Replace the original signal-based solution with a
@ -532,7 +532,7 @@ Bugfixes\:
incompatibility with versions of NuttX prior to 7.16.
* UnitTests: Add Make.defs files to all UnitTests directories. This is
required by the current apps/Makefile. Hmmm.. This means that no one
has built the NxWidgets packages in the last several realeases!
has built the NxWidgets packages in the last several releases!
* UnitTests: Add some default definitions to handle the (unusual) case
where 'make clean' is called with no .config or Make.defs file installed
@ -555,7 +555,7 @@ Additional new features and extended functionality in Version 1.17:
info(), warn(), and err().
- Changes to Unittests/ Makefiles to deal with changes in the apps/
build system.
- Changes to pre-processor include statments needed to handle
- Changes to pre-processor include statements needed to handle
reorganization of the apps/include directory.
- Update include paths to adapt to changes made to apps/ include path
logic

View File

@ -71,13 +71,13 @@ o CMediaPlayer Issues
Priority: Low for now
Title: PLAY PROGRESS FEEDBACK
Decription: Need a way to know the position in the file, how long the
Description: Need a way to know the position in the file, how long the
file is (in minutes), and an indication when playing
complete.
Status: Open
Priorit: Medium. Certain affect usability.
Title: NO BALANCE/TONE/EQUALIZER CONTORLS
Title: NO BALANCE/TONE/EQUALIZER CONTROLS
Description: The title says it all
Status: Open
Priority: Medium. That is big functional limitation.

View File

@ -897,7 +897,7 @@ bool CMediaPlayer::createPlayer(void)
m_play->addWidgetEventHandler(this);
// Create the Pause image (at the same position ans size as the Play image)
// Create the Pause image (at the same position and size as the Play image)
m_pause = new NXWidgets::
CImage(control, playControlX, controlTop, playControlW, controlH,

Some files were not shown because too many files have changed in this diff Show More