nuttx-apps/ChangeLog.txt

4568 lines
253 KiB
Plaintext
Raw Blame History

5.19 2011-03-12 Gregory Nutt <gnutt@nuttx.org>
* Initial version of the apps/ directory was released as contributed by
Uros Platise.
6.0 2011-03-21 Gregory Nutt <gnutt@nuttx.org>
* README.txt -- README cosmetics
* hello/ -- hello world minor changes
* Makefile -- Makefile cosmetics (I am slowly adding the Darjeeling JVM)
* Make.defs -- New file adds common make definitions for applications.
* hello/Makefile -- Now uses new Make.defs definitions. Added README.txt.
* apps/poweroff -- New application to turn off board power.
* Moved NSH library, netutils, and examples from the nuttx/ directory to
the apps/ directory
* Moved exec_nuttapp machinery into the nuttapp/ directory.
6.1 2011-04-10 Gregory Nutt <gnutt@nuttx.org>
* Creation of auto-generated header files now occurs during the context
build phase.
* Added sdcard insert and eject, nsh command '?' and some code remarks
* Renamed nuttapp to namedapp
* namedapp/binfs.c -- Create a tiny filesystem that can be used
to show the internal named apps under /bin.
* Numerous fixes to build system required to support building with native
Windows toolchain.
6.2 2011-05-06 Gregory Nutt <gnutt@nuttx.org>
* apps/examples/nxffs: Add a test a a configuration that will be used to
verify NXFFS.
6.3 2011-05-15 Gregory Nutt <gnutt@nuttx.org>
* apps/interpreter: Add a directory to hold interpreters. The Pascal add-
on module now installs and builds under this directory.
* apps/interpreter/ficl: Added logic to build Ficl (the "Forth Inspired
Command Language"). See http://ficl.sourceforge.net/.
* apps/netutils/dhcpc, dhcpcd, and tftp. If these directories are included
in the configuration but CONFIG_NET_UDP is disable (which is not very wise),
then a make error occurs because tools/mkdep.sh is called with no files.
* system/free: Move Uros' custom free command from vsn/free
* system/install: Add a new install command submitted by Uros Platise.
* examples/rgmp. Add a placeholder for an RGMP build example.
RGMP is a project for running GPOS and RTOS simultaneously on
multi-processor platforms. See http://rgmp.sourceforge.net/wiki/index.php/Main_Page
for further information about RGMP. NOTE: This is an empty example
on initial check-in.
6.4 2011-06-06 Gregory Nutt <gnutt@nuttx.org>
* nshlib/nsh_netcmds.c: If a network device name and IP address are provided
with the ifconfig command, then this command will now set the network address.
(Contributed by Yu Qiang).
* netutils/ftpc: A library to support client-side FTP.
* examples/ftpc: A simple add-on to the NSH. From NSH, you can start
this simple FTP shell to transfer files to/from a remote FTP server.
6.5 2011-06-21 Gregory Nutt <gnutt@nuttx.org>
* netutils/ftpc: Simpflication and size reduction.
6.6 2011-07-11 Gregory Nutt <gnutt@nuttx.org>
* Make.defs, namedapp/namedapp.c: Several structural changes made to get a
clean compile under the ez80 ZDS-II toolchain (no design changes).
* apps/examples/buttons: Add a test for the new standardized button interfaces
* apps/examples/nxtext: Add another NX graphics test. This one focus on
placing text on the background while pop-up windows occur. Text should
continue to update normally with or without the popup windows present.
6.7 2011-08-02 Gregory Nutt <gnutt@nuttx.org>
* apps/examples/nx and nxtext: These examples can now be built as NSH
"built-in" commands.
* apps/examples/nxhello: The simplest graphics example: It just says
"Hello, World!" in the center of the display. This example can also be
built as an NSH "built-in" command.
* apps/examples/nx, ntext, and nxhello: All updated to use the new
NuttX font interfaces.
* apps/examples/nximage: Another super simple graphics example: It just puts
the NuttX logo in the center of the display. This example can also be
built as an NSH "built-in" command.
* apps/examples/usbstorage: Can now be built as two NSH "built-in" commands:
'msconn' will connect the USB mass storage device; 'msdis' will disconnect
the USB storage device.
* apps/examples/nx*: All NX header files moved from nuttx/include/nuttx to
nuttx/include/nuttx/nx.
* apps/examples/usbstorage: Added instrumentation to monitor memory usage
to check for memory leaks in the USB storage driver.
* apps/examples/nxhello/nxhello_bkgd.c: Fix handling of allocated glyph
memory.
6.8 2011-08-11 Gregory Nutt <gnutt@nuttx.org>
* apps/examples/nxlines: Added a test for NX line drawing capabilities.
6.9 2011-09-11 Gregory Nutt <gnutt@nuttx.org>
* apps/examples/nxlines: Extend the line drawing text to include drawing
of circles.
* apps/system/i2c: Add an I2C test tool that should help to bring up I2C
devices (when it is fully functional).
* apps/nshlib/nsh_timcmds.c: Add the date command that can be used to
show or set the time (only if CONFIG_RTC is set).
6.10 2011-10-06 Gregory Nutt <gnutt@nuttx.org>
* apps/system/i2c: Add repitition 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.
* apps/graphics/tiff: Add a library that can be used to create TIFF files.
* apps/examples/tiff: Add a unit test for the TIFF file creation logic
* apps/examples/lcdrw: Add a test to verify if you can or can or read
data from an LCD correctly.
* apps/examples/usbterm: A USB terminal example.. more of a USB chat or
serial bridge: Data received on local console echoed via USB serial;
data received on USB serial is echoed on the local console.
* apps/examples/touchscreen: Add a simple, generic test for any
touschscreen driver.
* Makefile: The apps/ Makefile now checks for an apps/external directory
or symbolic link. If such a directory/link exists (and has a Makefile),
it will be added to the apps/ build. This allows external directories
to be included into the apps/ build by simply creating a symbolic link.
6.11 2011-11-12 Gregory Nutt <gnutt@nuttx.org>
(No major changes from 6.10)
6.12 2011-12-06 Gregory Nutt <gnutt@nuttx.org>
* apps/examples/buttons: The button test can now be executed as an NSH
built in command.
6.13 2012-12-26 Gregory Nutt <gnutt@nuttx.org>
* apps/examples/dhcpd: May now be built as an NSH built-in application
by setting CONFIG_NSH_BUILTIN_APPS.
* apps/netutils/dhcpd/dhcpd.c: Fix several problems using host order address
where network addresses expected (and vice versa).
* apps/examples/nettest: May now be built as an NSH built-in application
by setting CONFIG_NSH_BUILTIN_APPS.
* apps/examples/nettest: Correct some build issues with the nettest is
built for performance evaluation.
* apps/examples/adc: Add a very simple test to drive and test an ADC
driver.
* apps/examples/pwm: Add an NSH PWM command to drive and test a PWM
driver.
* apps/examples/can: Add an NSH CAN command to drive and test a CAN
driver in loopback mode.
6.14 2012-01-15 Gregory Nutt <gnutt@nuttx.org>
* apps/examples/buttons/main.c: The test needs to call up_buttoninit() to
properly configure the button interrupt GPIOs.
* apps/examples/pwm: Add support to test the pulse count option recently
added to the PWM interface.
6.15 2012-02-12 Gregory Nutt <gnutt@nuttx.org>
* apps/nshlib/nsh_serial.c and nsh_usbdev.c: If NuttX is configured to use
a USB serial console, then NSH needs to wait until the USB console is
connected and available.
* apps/examples/composite: Add a test of the USB composite device.
* apps/examples/Telnetd: Move the tiny uIP shell example from
netutils/Telnetd to examples/Telnetd. Enhanced the Telnetd daemon so that
it supports Telnetd via a TTY device driver: A new TTY device driver is
created when each new Telnet connection is created. The shell thread
is started with stdin, stdout, and stderr mapped to the TTY device.
* netutils/Telnetd: The old uIP Telnet demo is gone. In its place is a new
Telnet infrastructure. The new Telnet daemon creates sessions that are
"wrapped" as character devices and mapped to stdin, stdout, and stderr.
Now the Telnet session can be inherited by spawned tasks.
* examples/Telnetd: Add a test for the new Telnet daemon.
* examples/Telnetd/telnetd_driver.c: Move the internal socket structure from
the daemon's socket array into the driver's state data so that it will be
independent from the Telnetd daemon.
* apps/system/readline: Moved the old nuttx/lib/stdio/lib_fgets.c here
and renamed it as readline(). The old fgets was simplied and the overloaded
readline functionality was removed.
* apps/netutils/ftpd: Add an FTPD server (does not even compile on initial
checkin).
* apps/examples/ftpd: Add a test for the FTPD server (untest on initial
check-in).
* apps/nshlib/nsh_fscmds.c: Add support for a 'dmesg' command that will
dump the system log if CONFIG_SYSLOG is selected.
6.16 2012-03-10 Gregory Nutt <gnutt@nuttx.org>
* apps/examples/qencoder: Add a quadrature driver test.
* apps/examples/ostest/fpu.c: Add a test to verify that FPU registers
are properly saved and restored on context switches.
* apps/system/readline/readline.c: readline() will now treat either a
backspace or a DEL character as a backspace (i.e., deleting the character
to the left of the cursor). This makes NSH less dependent on particular
keyboard mappings of the Backspace key. Submitted by Mike Smith.
* apps/system/cdcacm: An example that illustrates how the CDC/ACM driver
may to connected and disconnected through software control.
* apps/examples/nsh/nsh_main.c: If available, call up_cxxinitialize() to
initialize all statically defined C++ classes.
* apps/nshlib: Now supports a USB serial device for NSH console I/O. This
allows NSH to be used on boards that have USB but no serial connectors.
6.17 2012-04-14 Gregory Nutt <gnutt@nuttx.org>
* apps/examples/can: Add conditional compilation so that the test can be
configured to only send messages or to only receive messages. This will
let the test work in other modes than simple loopback testing.
* apps/examples/hello and apps/examples/ostest: Can now be built as NSH
built-int functions.
* vsn/hello: Removed. The modified apps/examples/hello is enough "Hello,
World!"
* apps/examples/nxconsole: Add a test of the NX console device.
* apps/examples/nxconsole: The NX console example now supports running
the NuttShell (NSH) within an NX window.
* apps/system/readline: Now uses standard definitions from
include/nuttx/ascii.h and vt100.h
* Kconfig, */Kconfig: Added skeleton Kconfig files to all directories that
may need them.
6.18 2012-05-19 Gregory Nutt <gnutt@nuttx.org>
* Kconfig: Continued Kconfig file updates (no longer tracking on a per-file
basis in the ChangeLog)
* apps/examples/watchdog: Add a watchdog timer example.
* apps/examples/tiff: Fix wrong path used for temporary file.
* apps/examples/touchscreen: Standardize the board-specific, touchscreen
initialization interfaces.
6.19 2012-06-15 Gregory Nutt <gnutt@nuttx.org>
* apps/nshlib/nsh_usbdev.c: Add the capability to use an arbitrary USB
device as the console (not necessarily /dev/console). This is a useful
option because then you can still use the serial console to debug with.
* apps/nshlib/nsh_usbdev.c: User now has to press ENTER 3 times before
USB console will start. Otherwise, the USB console starts before there
is anyone at the other end to listen.
* apps/nshlib/nsh_usbdev.c and nsh_consolemain.c: Add support for the USB
capability when a USB console is used.
* apps/nshlib/nsh_fscmds.c: Add the 'mv' command
6.20 2012-07-12 Gregory Nutt <gnutt@nuttx.org>
* namedapp/exec_namedapp.c - Correct an error when round robin scheduling
is enabled. The priority of the new, named application was erroneously
being set to the priority of the parent thread; losing its configured
priority. Reported by Mike Smith.
6.21 2012-08-25 Gregory Nutt <gnutt@nuttx.org>
* apps/include/: Stylistic clean-up of all header files.
* apps/modbus and apps/include/modbus: A port of freemodbus-v1.5.0
has been added to the NuttX apps/ source tree.
* apps/examples/modbus: A port of the freemodbus-v1.5.0 "demo"
program that will be used to verify the FreeModBus port
* apps/modbus: Don't use strerror(). It is just too big.
* apps/modbus: Add CONFIG_MB_TERMIOS. If the driver doesn't support
termios ioctls, then don't bother trying to configure the baud, parity
etc.
* apps/nshlib: If waitpid() is supported, then NSH now catches the
return value from spawned applications (provided by Mike Smith)
* apps/nshlib: Lock the scheduler while starting built-in applications
in order to eliminate race conditions (also from Mike Smith).
* apps/examples/adc, pwm, and qencoder: Add support for testing
devices with multiple ADC, PWM, and QE devices.
* apps/nshlib/nsh_mntcmds.c: Separated mount-related commands out of
nsh_fscmds.c. Extended to the mount command so that if no arguments
are provided, then the current mountpoints are enumerated.
* apps/nshlib/nsh_mntcmds.c: Add an NSH df command to list the
properties of mounted file systems.
* apps/nshlib/nsh_parse.c: Extend help command options. 'help' with
no arguments outputs a short list of commands. With -v lists all
command line details. A command name can be added to just get
help on one command.
* system/readline.c: If character input/output is interrupted by a
signal, then readline() will try the read/write again.
* apps/*/Make.defs: Numerous fixes needed to use the automated
configuration (from Richard Cochran).
6.22 2012-09-29 Gregory Nutt <gnutt@nuttx.org>
* apps/netutils/thttpd/thttpd_cgi.c: Missing NULL in argv[]
list (contributed by Kate).
* apps/nshlib/nsh_parse.c: CONFIG_NSH_DISABLE_WGET not CONFIG_NSH_DISABLE_GET
in one location (found by Kate).
* apps/examples/ostest/prioinherit.c: Limit the number of test
threads to no more than 3 of each priority. Bad things happen
when the existing logic tried to created several hundred test
threads!
* apps/nshlib/nsh.h: Both CONFIG_LIBC_STRERROR and CONFIG_NSH_STRERROR
must be defined to use strerror() with NSH.
* apps/examples/*/*_main.c, system/i2c/i2c_main.c, and others: Added
configuration variable CONFIG_USER_ENTRYPOINT that may be used to change
the default entry from user_start to some other symbol. Contributed by
Kate.
* apps/netutils/webserver/httpd/c: Fix a typo that as introduced in
version r4402: 'lese' instead of 'else' (Noted by Max Holtzberg).
* tools/mkfsdata.pl: The uIP web server CGI image making perl script was
moved from apps/netutils/webserver/makefsdata to nuttx/tools/mkfsdata.pl
(Part of a larger change submitted by Max Holtzberg).
* apps/netutils/webserver, apps/examples/uip, and apps/include/netutils/httpd.h:
The "canned" version of the uIP web servers content that was at
netutils/webserver/httpd_fsdata.c has been replaced with a dynamically
built configuration located at apps/examples/uip (Contributed by
Max Holtzberg).
* apps/netutils/webserver: Several inenhancements from Kate including the
ability to elide scripting and SERVER headers and the ability to map
files into memory before transferring them.
* apps/netutils/webserver: Add ability to map a URL to CGI function.
Contributed by Kate.
* apps/nshlib/nsh_mntcmds.c: The changes of 6.21 introduced holes in the
error handling: Now the number of arguments to mount can be 0 or 4.
Additional parameter checking is required to prevent mysterious errors
(submiteed by Kate).
* apps/netutils/webserver/httpd_mmap.c: Fix errors when the mmap()
length is zero (submitted by Kate).
* apps/netutils/webserver/httpd_sendfile.c: Add and option,
CONFIG_NETUTILS_HTTPD_SENDFILE to transfer files using the NuttX
sendfile() interface.
* apps/netutils/discover: A UDP network discovery utility contributed
by Max Holtzberg.
* apps/examples/discover: A test example for the UDP network discovery
utility (also contribed by Max Holtzberg).
* apps/examples/*/main.c: Too many files called main.c. Each renamed
to something unique so that they will not collide in the archive.
* apps/netutils/xmlrpc: The Embeddable Lightweight XML-RPC Server
discussed at http://www.drdobbs.com/web-development/\
an-embeddable-lightweight-xml-rpc-server/184405364. Contributed by
Max Holtzberg.
* apps/netutils/uip_listenon.c: Logic in uip_server.c that creates
the listening socket was moved to this new file to support re-use.
Contributed by Kate.
* apps/netutils/webserver/httpd.c: The option CONFIG_NETUTILS_HTTPD_SINGLECONNECT
can now be used to limit the server to a single thread. Option
CONFIG_NETUTILS_HTTPD_TIMEOUT can be used to generate HTTP 408 errors.
Both from Kate.
* apps/netutils/webserver/httpd.c: Improvements to HTTP parser from
Kate.
* apps/netutils/webserver/httpd.c: Add support for Keep-alive connections
(from Kate).
* apps/NxWidget/Kconfig: This is a kludge. I created this NxWidgets
directory that ONLY contains Kconfig. NxWidgets does not live in
either the nuttx/ or the apps/ source trees. This kludge makes it
possible to configure NxWidgets/NxWM without too much trouble (with
the tradeoff being a kind ugly structure and some maintenance issues).
* apps/examples/Make.defs: Missing support for apps/examples/watchdog.
* apps/NxWidgets/Kconfig: Add option to turn on the memory monitor
feature of the NxWidgets/NxWM unit tests.
6.23 2012-11-05 Gregory Nutt <gnutt@nuttx.org>
* vsn: Moved all NSH commands from vsn/ to system/. Deleted the vsn/
directory.
* Makefile: Change order of includes when CONFIG_NEWCONFIG=y. In
that case, namedapp must be included first so that the namedapp
context is established first. If the namedapp context is established
later, it will overwrite any existing namedapp_list.h and nameapp_proto.h
files.
* CONFIG_EXAMPLES_*: To make things consistent, changed all occurrences
of CONFIG_EXAMPLE_* to CONFIG_EXAMPLES_*.
* Kconfig: Fleshed out apps/examples/adc/Kconfig and apps/examples/wget/Kconfig.
There are still a LOT of empty, stub Kconfig files.
* Kconfig: Fleshed out apps/examples/buttons/Kconfig. There are still a LOT
of empty, stub Kconfig files.
* apps/netutils/webserver/httpd.c: Fix a bug that I introduced in
recent check-ins (Darcy Gong).
* apps/netutils/webclient/webclient.c: Fix another but that I introduced
when I was trying to add correct handling for loss of connection (Darcy Gong)
* apps/nshlib/nsh_telnetd.c: Add support for login to Telnet session via
username and password (Darcy Gong).
* apps/netutils/resolv/resolv.c (and files using the DNS resolver): Various
DNS address resolution improvements from Darcy Gong.
* apps/nshlib/nsh_netcmds.c: The ping command now passes a maximum round
trip time to uip_icmpping(). This allows pinging of hosts on complex
networks where the ICMP ECHO round trip time may exceed the ping interval.
* apps/examples/nxtext/nxtext_main.c: Fix bad conditional compilation
when CONFIG_NX_KBD is not defined. Submitted by Petteri Aimonen.
* apps/examples/nximage/nximage_main.c: Add a 5 second delay after the
NX logo is presented so that there is time for the image to be verified.
Suggested by Petteri Aimonen.
* apps/Makefile: Small change that reduces the number of shell invocations
by one (Mike Smith).
* apps/examples/elf: Test example for the ELF loader.
* apps/examples/elf: The ELF module test example appears fully functional.
* apps/netutils/json: Add a snapshot of the cJSON project. Contributed by
Darcy Gong.
* apps/examples/json: Test example for cJSON from Darcy Gong
* apps/nshlib/nsh_netinit.c: Fix static IP DNS problem (Darcy Gong)
* apps/netutils/resolv/resolv.c: DNS fixes from Darcy Gong.
* COPYING: Licensing information added.
* apps/netutils/codec and include/netutils/urldecode.h, base64.h, and md5.h:
A port of the BASE46, MD5 and URL CODEC library from Darcy Gong.
* nsnlib/nsh_codeccmd.c: NSH commands to use the CODEC library.
Contributed by Darcy Gong.
* apps/examples/wgetjson: Test example contributed by Darcy Gong
* apps/examples/cxxtest: A test for the uClibc++ library provided by
Qiang Yu and the RGMP team.
* apps/netutils/webclient, apps/netutils.codes, and apps/examples/wgetjson:
Add support for wget POST interface. Contributed by Darcy Gong.
* apps/examples/relays: A relay example contributed by Darcy Gong.
* apps/nshlib/nsh_netcmds: Add ifup and ifdown commands (from Darcy
Gong).
* apps/nshlib/nsh_netcmds: Extend the ifconfig command so that it
supports setting IP addresses, network masks, name server addresses,
and hardware address (from Darcy Gong).
6.24 2012-12-20 Gregory Nutt <gnutt@nuttx.org>
* apps/examples/ostest/roundrobin.c: Replace large tables with
algorithmic prime number generation. This allows the roundrobin
test to run on platforms with minimal SRAM (Freddie Chopin).
* apps/nshlib/nsh_dbgcmds.c: Add hexdump command to dump the contents
of a file (or character device) to the console Contributed by Petteri
Aimonen.
* apps/examples/modbus: Fixes from Freddie Chopin
* apps/examples/modbus/Kconfig: Kconfig logic for FreeModBus contributed
by Freddie Chopin.
* Makefile, */Makefile: Various fixes for Windows native build. Now uses
make foreach loops instead of shell loops.
* apps/examples/elf/test/*/Makefile: OSX doesn't support install -D, use
mkdir -p then install without the -D. From Mike Smith.
* apps/examples/relays/Makefile: Reduced stack requirement (Darcy Gong).
* apps/nshlib and apps/netutils/dhcpc: Extend the NSH ifconfig command plus
various DHCPC improvements(Darcy Gong).
* apps/nshlib/nsh_apps.c: Fix compilation errors when CONFIG_NSH_DISABLEBG=y.
From Freddie Chopin.
* Rename CONFIG_PCODE and CONFIG_FICL as CONFIG_INTERPRETERS_PCODE and
CONFIG_INTERPRETERS_FICL for consistency with other configuration naming.
* apps/examples/keypadtest: A keypad test example contributed by Denis
Carikli.
* apps/examples/elf and nxflat: If CONFIG_BINFMT_EXEPATH is defined, these
tests will now use a relative path to the program and expect the binfmt/
logic to find the absolute path to the program using the PATH variable.
6.25 2013-02-01 Gregory Nutt <gnutt@nuttx.org>
* Makefiles: Removed dependency of distclean on clean in most top-level
files. It makes sense for 'leaf' Makefiles to have this dependency,
but it does not make sense for upper-level Makefiles.
* apps/namedapp/: Renamed to builtins in preparation for another change.
* .context: Removed the .context kludge. This caused lots of problems
when changing configurations because there is no easy way to get the
system to rebuild the context. Now, the context will be rebuilt
whenever there is a change in either .config or the Makefile.
* apps/builtin/registry: Updated new built-in registration logic to handle
cases where (1) old apps/.config is used, and (2) applications ared
removed, not just added.
* apps/examples/nettest/Makefile: Fix an error that crept in during
some of the recent, massive build system changes.
* apps/builtin/Makefile: Need to have auto-generated header files
in place early in the dependency generation phase to avoid warnings.
It is not important if they are only stubbed out header files at
this build phase.
* apps/examples/hidbkd: Now supports decoding of encoded special keys
if CONFIG_EXAMPLES_HIDKBD_ENCODED is defined.
* apps/examples/hidbkd: Add support for decoding key release events
as well. However, the USB HID keyboard drier has not yet been
updated to detect key release events. That is kind of tricky in
the USB HID keyboard report data.
* apps/examples/wlan: Remove non-functional example.
* apps/examples/ostest/vfork.c: Added a test of vfork().
* apps/exampes/posix_spawn: Added a test of posix_spawn().
* apps/examples/ostest: Extend signal handler test to catch
death-of-child signals (SIGCHLD).
* apps/examples/ostest/waitpid.c: Add a test for waitpid(), waitid(),
and wait().
* builtin/binfs.c: Add hooks for dup() method (not implemented).
* builtin/exec_builtin.c, nshlib/nsh_parse.c, and nshlib/nsh_builtin.c:
NSH now supports re-direction of I/O to files (but still not from).
* builtin/binfs.c: Greatly simplified (it is going to need to be
very lightweight). Now supports open, close, and a new ioctl to recover
the builtin filename. The latter will be needed to support a binfs
binfmt.
* builtin/binfs.c: Move apps/builtin/binfs.c to fs/binfs/fs_binfs.c
CONFIG_APPS_BINDIR rename CONFIG_FS_BINFS
* apps/include/builtin.h: Some of the content of
apps/include/apps.h moved to include/nuttx/binfmt/builtin.h.
apps/include/apps.h renamed builtin.h
* apps/builtin/exec_builtins.c: Move builtin
utility functions from apps/builtin/exec_builtins.c to
binfmt/libbuiltin/libbuiltin_utils.c
* apps/nshlib/nsh_mountcmds.c: The block driver/source
argument is now optional. Many files systems do not need
a source and it is really stupid to have to enter a bogus
source parameter.
* apps/nshlib/nsh_fileapp.c: Add the ability to execute a file
from a file system using posix_spawn().
* apps/builtin/: Extensions from Mike Smith.
* apps/examples/ftpd/Makefile: Name ftpd_start is not the name of
the entrypoint. Should be ftpd_main (from Yan T.)
* apps/netutils/telnetd/telnetd_driver: Was stuck in a loop if
recv[from]() ever returned a value <= 0.
* apps/examples/nettest and poll: Complete Kconfig files.
* apps/examples/ostest/waitpid.c: Need to use WEXITSTATUS()
to decode the correct exit status.
* apps/system/usbmonitor: A daemon that can be used to monitor USB
trace outpout.
* apps/nshlib/nsh_usbdev.c, nsh_consolemain.c, nsh_session.c, nsh_script.c:
Add support for a login script. The init.d/rcS script will be executed
once when NSH starts; the .nshrc script will be executed for each session:
Once for serial, once for each USB connection, once for each Telnet
session.
* apps/system/readline: Correct readline() return value. Was not
any returning special values when end-of-file or read errors
occur (it would return an empty string which is not very useful).
6.26 2013-03-15 Gregory Nutt <gnutt@nuttx.org>
* apps/builtin/exec_builtin.c: Now uses task_spawn() to start
builtin applications.
* Type of argv has changed from const char ** to char * const *
* apps/nshlib/nsh_parse.c: Fix memory lead: Need to detach after
creating a pthread.
* apps/examples and nshlib: Change name of _TCB to struct tcb_s to
match NuttX name change.
* apps/examples/ostest/restart.c: Add a test case to verify
task_restart().
* apps/system/readline.c: readline() now returns EOF on any failure
(instead of a negated errno value). This is because the underlying
read is based on logic similar to getc. The value zero was being
confused with a NUL. So if a NUL was received, the NSH session
would terminate because it thought it was the end of file.
6.27 2013-04-28 Gregory Nutt <gnutt@nuttx.org>
* apps/system/ramtest: Add a simple memory test (2013-03-26).
* apps/examples/ostest: In the non-cancelable thread test, we need
to give the thread an opportunity to run and to set the non-
cancelable state.
* apps/nshlib/nsh_ddcmd.c: Correct the test of the skip input
parameter. Was limiting the range to <= count. From Ken
Pettit (2014-4-24).
6.28 2013-06-14 Gregory Nutt <gnutt@nuttx.org>
* apps/examples/mtdpart: Provides a simple test of MTD partitions.
* apps/nshlib/nsh_mntcmds.c: Add a -h option to the df command to show
the volume information in human readable form (Ken Pettit, 2013-4-30).
* apps/nshlib/nsh_fscmds.c: Add support for the mksmartfs command.
(Ken Pettit, 2013-4-30).
* apps/system/flash_eraseall: Add an interface to erase FLASH using a
flash_eraseall NSH command (Ken Pettit, 2013-5-1).
* apps/examples/flash_test and apps/examples/smart_test: Add tests of
the SMART block driver and file system (Ken Pettit, 2013-5-1).
* apps/examples/mtdpart: Extended the test. The original test
coverage was superficial (2013-5-3).
* apps/examples/smart: This is an adaptation of the NXFFS stress
test for the SMART file system (Ken Pettit, 2013-5-3).
* apps/examplex/nxtext: Remove the CONFIG_EXAMPLES_NXTEXT_NOGETRUN
option. The test logic was bad for the case where this options
is not selected. Also, complete the empty Kconfig file (2013-5-7).
* apps/NxWidgets/Kconfig: Updated to match NxWidgets/Kconfig by
Ken Pettit (2013-5-11).
* apps/examples/helloxx: C++ name mangling was occurring when this
example is built as an NSH built-in application. (2013-5-16).
* apps/netutils/discover: Added a runtime configuration for the
UDP discover utility. From Max Holtzberg (2013-5-21).
* apps/examples/tcpecho: Added a simple single threaded, poll based
TCP echo server based on W. Richard Stevens UNIX Network Programming
Book. Contributed by Max Holtzberg (2013-5-22).
* apps/examples/slcd: Add an example for testing alphanumeric,
segment LCDs (2013-5-24).
* apps/examples/slcd: Extend SLCD test to handle multi-line displays
(2013-5-26).
* apps/examples/slcd: This test now sets the SLCD brightness level to
the mid-point as part of its initialization (2013-5-27).
* .gitignore: Clean-up of most all .gitignore files: Make scope of
ignore to be only the current directory; Ignore .dSYM files in
directories where .exe's may be build. Also, in Makefiles,
clean .dSYM files in directories where .exe may be built (2013-5-30).
* apps/examples/nrf35l01_term: Add an example application to demo the
nRF24L01 driver. From Laurent Latil (2013-6-1).
* apps/nshlib/Kconfig: Add some missing NSH configuration values.
From Lorenz Meier (2013-6-2).
* Standardize on CONFIG_NSH_BUILTIN_APPS. Remove all other variants
of the build-as-an-NSH-application configuration settings
(2013-6-12).
6.29 2013-07-31 Gregory Nutt <gnutt@nuttx.org>
* apps/examples/nsh, cxxtest, and helloxx: C++ initializers should be
set once and, preferably, in the context of the task that uses any C++
statically initialized classes. These only becomes an issue if cxxtest
or helloxx are built as NSH builtin applications. Then you want the
initialization done in cxxtext or helloxx and not in NSH (and certainly
not twice). Added configuration options to control who does the C++
initialization. NSH now does not do C++ initialization be default and
must be configured to do otherwise. Converely, cxxtest and helloxx
will do C++ initialization unless configured do otherwise (2013-6-21).
* apps/examples/cxxtext: Add ostream test as provided by Michael
(2013-6-21).
* apps/examples/nxhello: Minor fix for compilation error when the
display resolution is low (< 8bpp) due to a typo that has been there
for a long time (2013-6-23).
* apps/examplex/nxhello: Correct default colors when in Y1 code mode.
(2013-6-24).
* apps/system/Make.defs and Kconfig: The RAM test was not correctly built
into the configuration and build system (2013-6-26).
* apps/examples/composite/composite_main.c: SourceForge But Ticket #19.
Change to prevent some false alarm debug assertions (From Chia Cheng
Tao, 2013-7-9).
* apps/system/zmodem: Add configuration support and a build framework
for the Zmodem sz and rz command (which exist but have not yet been
checked in) (2013-7-12).
* apps/system/zmodem: The 'sz' command is now complete and seems
functional (given on light testing). The rz command logic exists but
is still untested and not yet checked in (2013-7-13).
* apps/system/zmodem: The 'rz' command is now complete and functional
under certain conditaions. There are, however, some data overrun
issues that I am still uncertain how should be handled (2012-7-15).
* apps/system/zmodem/Makefile.host and host/: The Zmodem utilities
can now be built to execute on a Linux host.
* apps/nshlib/nsh_fscmds.c: Add a 'cmp' command that can be used to
compare two files for equivalence. Returns an indication if the files
differ. Contributed by Andrew Tridgell (via Lorenz Meier) (2013-7-18).
6.30 2013-09-14 Gregory Nutt <gnutt@nuttx.org>
* apps/examples/composite/: SourceForge bug #19: Fix a typo that can
cause a configuration error. From CCTSAO (2013-9-4).
* apps/examples/cc3000. Initial support for the TI CC3000 network module
on the Freescale Freedom-KL25Z board from Alan Carvalho de Assis.
Includes the test to verify the CC3000 (2013-9-3).
* apps/examples/usbmsc: apps/examples/usbstorage renamed usbmsc.
Change submitted by CCTSAO (2013-6-5).
* apps/examples/pwm: Clean-up some configuration confusion (2013-9-5).
* apps/netutils/dhcpd/dhcpd.c: Fix calculation of the next lease
address. SourceForge bug #21 from Paolo Messina (2013-9-6).
* apps/examples/usbmsc: Don't try to control USB trace if we are
an NSH built-in task. In that case our attempts are inadequate
and only interfere with with other logic that is attempting to
to do the same thing (in NSH or in the USB monitor) (2013-9-6).
* apps/examples/usbmsc: IMPORTANT bug fix: Change how the msconn
works. Because of recent changes the msconn command was hanging.
This was because the USB MSC start-up logic creates a pthread;
Now waitpid() will wait until all members of the task group
exit. So NSH was hanging in waitpid when msconn started even
though msconn returned. The USB MSC logic really should not use
a pthread, but we are stuck with that for now. The work-around
is that msconn now daemonizes itself so that it so that the pthread
is created in a different task group (2013-9-7).
* apps/system/usbmonitor: The USB monitor has been extended so
that it can be used with USB device or host trace data (2013-9-9).
* apps/nshlib/nsh_fscmds.c: Fix NSH listing output for the case
of a single file. Provided by Lorenz Meier (2013-9-13).
6.31 2013-10-28 Gregory Nutt <gnutt@nuttx.org>
* apps/nshlib/nsh_netcmds.c: Remove a warning when DHCP is not
enabled (2013-9-17).
* apps/nshlib/Kconfig: Default IP address should be 0x0a000001
(10.0.0.1), not 0xa0000001 (160.0.0.1). Ditto for the gateway
(2013-9017).
* apps/examples/ostest/Kconfig: Add configuration options for
the FPU test. There are still many OS test configuration
options that do not appear in Kconfig (2013-9-18).
* apps/examples/cc3000: Condition the CC3000 example on having
selected the CC3000 device. Otherwise, you are prompted for
this option on each 'make oldconfig' (2013-9-18).
* apps/system/usbmonitor/usbmonitor.c: Fix some bad conditional
compilation probably introduced on 2013-9-9 (2013-9-23).
* apps/system/stackmonitor: Add a daemon that can be used to
monitor stack usage by all threads (2013-9-24).
* system/usbmsc: Move examples/usbmsc to system/usbmsc (2013-9-25).
* system/cdcacm: Move examples/cdcacm to system/cdcacm (2013-9-25).
* system/composite: Move examples/composite to system/composite
(2013-9-25).
* apps/nshlib and apps/readline: Numerous changes to get NSH
working with no file system. Basically this suppresses I/O
redirection and replaces file I/O with calls to low-level
console read/write functions. Suggested by Alan Carvalho de Assis
in a somewhat different form. (2013-9-30).
* apps/nshlib/nsm_routecmds.c: Add addroute and delroute
commands (2013-10-5).
* apps/system/i2ctool/Kconfig: Fix default I2C frequency: 400KHz
instead of 4MHz. Suggested by Max Kriegleder (2013-10-10).
* apps/system/info/Kconfig and Makefile: Increase stack size.
Ken Pettit reports that this simple command can exceed its 768
stack size under certain conditions. The size is marginal and
has been increased to 1024 by default but is also now configurable
(2013-10-14).
* apps/Makefile: Need to include external/Make.defs if we want
allow external applications to participate in the NuttX
configuration. Suggested by gdi@embedders.org (2013-10-14).
* apps/examples/cc3300: Updates as part of larger re-organizaion
of CC3000 logic by David Sidrane (2013-10-16).
* apps/examples/random: Add a simple test that dumps values from
/dev/random (2013-10-20).
* apps/examples/cc3000: Extensions and enhancements from David
Sidrane (2013-10-23).
* apps/netutils/telnetd/telnetd_driver.c: Missing argument to
debug statement can cause crashes in certain error conditions.
From David Sidrane (2013-10-24).
* apps/examples/cc3000: Updates from David Sidrane. Plus
some kruft removal (2013-10-24).
* apps/examples/can/can_main.c: Correct an error in a debug
statement. From Martin Lederhilger (2013-10-24).
* apps/examples/adc: Add support so that a ADC driven by
software triggering can be tested (2013-10-25).
* apps/examples/cc3000: Updates from David Sidrane (2013-10-25).
* apps/system/nxplayer: Implements a command line media
player. From Ken Pettit (2013-10-27).
* apps/system/nxplayer: Add logic to verify the audio sub-format.
From Ken Pettit (2013-10-28).
6.32 2013-12-07 Gregory Nutt <gnutt@nuttx.org>
* apps/platform: A new home for board-specific application code
(2013-10-30).
* apps/include/platform/configdata.h: Define an interface that can be
used to manage platform-specific storage of configuration data
(2013-10-30).
* apps/examples/cc3000: Fine tuning of memory usage from David Sidrane
(2013-10-30).
* apps/platform/mikroe-stm32f4: Now supports storage of configuration
data. From Ken Pettit (2013-10-30).
* apps/nshlib/nsh_dbgcmds.c and others: Add skip= and count=
options to the hexdump command. From Ken Pettit (2013-11-1).
* apps/platform/mikroe-stm32f4: Now uses /dev/config for configuration
data storage. From Ken Pettit (2013-11-1).
* apps/platform/Makefile: Was not dealing with the bin sub-directory
correctly (2013-11-2).
* apps/examples/configdata: A unit test for the MTD configuration
data driver from Ken Pettit (2013-11-4).
* apps/platform/mikroe-stm32f4: Updated to use new MTD configuration
driver features. From Ken Pettit (2013-11-1).
* apps/nshlib/nsh.h: Allow USB trace without a USB console. From
David Sidrane (2013-11-06).
* apps/system/composite/composite_main.c: The wrong handle was getting
nullified. From David Sidrane (2013-11-7).
* apps/system/nxplayer: Play thread stack size is now configurable. All
NxPlayer threads now have names assigned via pthread_setname_np().
From Ken Pettit (2013-11-10).
* apps/examples/i2schar: The beginning of an I2S test based on the I2S
character driver (2013-11-10).
* apps/nshlib/nsh_mntcmds.c: Mount command updates from Ken Pettit
(2013-11-17).
* apps/examples/hidkbd/hidkbd_main.c: Now calls a function named
arch_usbhost_initialize() that must be provided by the platform-
specific code (2013-11-29).
* apps/nshlib/nsh_fscmds.c: Add an option to the mkfatfs command to
specify FAT12, FAT16, or FAT32 (2013-12-5).
6.33 2014-01-30 Gregory Nutt <gnutt@nuttx.org>
* apps/nshlib/nsh_mntcmds.c: Modified the df -h logic to eliminate
truncating numbers in conversion (like 7900 -> 7M). From Ken
Pettit (2013-12-12).
* Moved configs/stm3240g-eval/src/up_cxxinitialize.c to
apps/platform/stm3240g-eval/up_cxxinitialize.c: Now it is available
in user-space in the kernel mode build (2013-12-29).
* apps/examples/mount/Kconfig: Fill in empty Kconfig file (2013-12-31).
* builtin/Makefile: Fixes for native Windows build from Max Holtzberg
(2014-1-4).
* apps/netutils/dhcpc/Kconfig, resolv/Kconfig, telnetd/Kconfig, and
apps/nshlib/Kconfig: Refactor some configuration dependencies: NSH
features should depend on netutil selections; netutil selections
should depend on networking selections. (2014-1-9).
* apps/nshlib/nsh_command.c: Separate NSH command handling from NSH
line parsing. This re-partitioning simplifies the logic and will
enable some things to come (2014-1-10).
* apps/nshlib/nsh_parse.c: Will now support multiple commands on a
command line, each separated with a semi-colon (2014-1-10).
* apps/nshlib/nsh_parse.c: Put the logic that executes a command
after parsing parameters into a separate file so that it can be
reused (2014-1-10).
* apps/nshlib/nsh_parse.c: Add initial support of commands enclosed
in back quotes as command arguments. Functionality still incomplete
on initial commit (2014-1-10).
* Logic to support commands enclosed in back quotes is functional
but not thoroughly tested (2014-1-11).
* apps/nshlib/nsh_parse.c: Can now handle arguments that are
concatenations of constant strings, command return data, application
return data, and environment variables (2014-1-11).
* apps/nshlib/nsh_parse.c: Fix a memory leak ... forgot to close
a temporary file (2013-1-12).
* apps/system/inifile: A simple INI file parser (perhaps too simple).
This is code that I wrote a long time ago and have used many time but
is untested in its current incarnation (2014-1-15).
* aps/nshlib/nsh_parse.c: Recent changes broke redirection of output
(2014-1-14).
* apps/nshlib/nsh_parse.c: Add true and false commands (2014-1-17)
* apps/nshlib/nsh.h and nsh_parse.c: Re-name and re-organize some
if-then-else related structures to better support forthcoming until
and while loops (2014-1-17).
* apps/nshlib/nsh_script.c: Now saves the FILE stream for the script
file in the vtbl structure so that it can be accessed by forthcoming
while and until logic (2014-1-17).
* apps/nshlib/nsh.h, nsh_command.c, nsh_parse.c, and nsh_script.c: Add
support for while-do-done and until-do-done loops. These only work
when executing a script file because they depend on the ability to seek
in the file to implement the looping behaviors (2014-1-17).
* apps/nshlib/nsh_parse.c: Loosen up if-then-else-fi syntax to allow
a command to be on the same line as the then and else tokens like:
"if true; then echo true; else echo false; fi". Much more like bash!
(2014-1-17).
* apps/nshlib/Kconfig, README.txt, nsh.h, nsh_command.c, and
nsh_script.c: Add an option to conditionally compile out support for
loop and for if-then-else-fi sequence (2014-1-17).
* apps/nshlib/nsh.h, nsh_command.c, and nsh_parse.c: Add a break
command that can be executed with a loop to terminate the loop
immediately (2014-1-17).
* apps/system/vi: Add support for a tiny, VI work-alike editor. This
is still very much a work-in-progress on initial check-in (2014-1-20).
* apps/netutils/uiplib: Support new definitions and state passing for
network device status. From Maz Holtzberg (2014-1-21).
* apps/system/vi: Tiny VI is basically functional. All commands seem
to work. There are still some display artifacts and probably several
untested conditions (2014-1-21).
7.1 2014-03-15 Gregory Nutt <gnutt@nuttx.org>
* apps/system/cle: Add a EMACS-like command line editor. This CLE,
is really more like readline than the NuttX readline is! (2014-02-02).
* apps/nshlib: Use of the standard tiny readline (about .25KB) is now
an option and can be replaces with the EMACX-like CLE (about 2KB)
(2014-02-02).
* Several changes to restore Windows native build (2014-2-7)
* apps/examples/touchscreen: Can now be configured to work with a mouse
interface as well (2014-2-10).
* Several files changes based on complaints from the tool CppCheck. Some
latent bugs were fixed (and most likely some new typos were introduced)
(2014-2-10).
* apps/examples/nximage/Kconfig and apps/examples/uip/Kconfig: Incomplete
Kconfig files fleshed out by Alan Carvalho de Assis (2014-2-18).
* apps/nshlib: 'rmdir' can now be used in the pseudo-filesystem. Hence,
the command needs to be available even if there are no write-able
filesystem enabled (2014-2-19).
* apps/nshlib: 'mkdir' can now be used in the pseudo-filesystem. Hence,
the command needs to be available even if there are no write-able
filesystem enabled (2014-2-19).
* apps/nshlib: 'mv' can now be used in the pseudo-filesystem. Hence,
the 'mv' command needs to be available even if there are no write-able
filesystem enabled (2014-2-19).
* apps/nshlib: 'rm' can now be used to remove nodes from the pseudo-
filesystem. Hence, the 'rm' command needs to be available even if there
are no write-able filesystem enabled (2014-2-20).
* CONFIG_DISABLE_PSEUDOFS_OPERATIONS: This new configuration setting
basically backs out the recent changes to mv, rm, mkdir, and rmdir
(2014-2-20).
* nshlib/Kconfig: Use CONFIG_DEFAULT_SMALL in selecting default
settings (2014-2-20).
* nshlib/nsh_telnetd.c: Use strncpy vs strcpy to avoid overrunning the
username and password buffers. From Bertold Van den Bergh (2014-2-22).
* nshlib/Kconfig, nsh_proccmds.c: If the CPU load feature and the procfs
features are enabled, then show CPU load used by each thread in the
'ps' command (2014-2-27).
* nshlib/nsh_fscmds.c: Add a newline after printing the file in the
'cat' command. This prevents the NSH prompt from be in the same line
as the final line of the file in the case where there is no newline
at the end of the file (2014-2-27).
* netutils/dhcpd/dhcpd.c: allocipaddr() should not call ntohl(), the
returned IP address is already in host order.
* apps/netutils/dhcpd/Kconfig: Add missing DHCPD configuration
settings(2014-3-3).
* Support for the legacy configuration mechanism (using appconfig files)
is removed. Only the newer configuration using the kconfig-frontends
tools is now supported (2014-3-6).
7.2 2014-04-29 Gregory Nutt <gnutt@nuttx.org>
* apps/nshlib/nsh_parse.c: Fix NuttShell version number display in
welcome message. version.h was not being included (2014-3-23).
* apps/examples/igmp: Fill out Kconfig file; update makefile so
that the IGMP example can be used as an NSH built-in application.
From Manuel St<53>hn (2014-3-24).
* apps/system/usbmsc: Back out the USBMSC daemon... it is no longer
needed with the recent fix to the USBMSC class driver (2014-3-25).
* apps/examples/lcdrw: Fill out empty Kconfig file (2014-2-27).
* apps/netutils/dhcpd/dhcpd.c: The correct value of the PAD option
is zero, not one. From Brennan Ashton (2014-3-31).
* apps/sysinfo: CONFIG_VERSION_BUILD is a string an needs to be
printed with %s, not %d. Noted by Librae (2014-4-8).
* apps/netutils/ntpclient/ and apps/include/netufils/ntpclient.h: Add
a very primitive NTP client. The initial check-in is untested and
probably incomplete (2014-4-10).
* apps/netutils/resolv: Long needed major clean up for coding style
and unification of naming conventions (resolv vs dns) (2014-4-11).
* apps/netutils/dnsclient and include/netutils/dnsclient.h: File name
changes that are part of the overal resolv->dns renaming (2014-4-11).
* apps/netutils/dnsclient: Break the one big monolithic file into
three smaller files (2014-4-11).
* apps/netutils/ntpclient/ntpclient.c: Corrections to the NTP client
from Manuel Stuehn (2014-4-12).
* apps/examples/touchscreen: Add a configuration option to indicate if
architecture-specific initialized is required, yes or no (2014-4-14).
* apps/system/nxplayer/nxplayer.c: Compilation failure in one
configuration reported by Manuel Stuhn (2014-4-21).
* apps/system/sdcard: Remove an STM32 dependency. From Bob Doiron
(2014-4-21).
* apps/nshlib: malloc/free IOBUFFER for 'cat' and 'hexdump' commands
instead of using the stack. From Bob Doiron (2014-4-21).
* apps/examples/cpuhog, serialblaster, and serialrx: Stress test
examples added by Bob Doiron (2014-4-22).
* apps/examples/telnetd: Naming is confused. In someplaces 'telnetd',
and in others 'shell.' All changes to telnetd. Noted by Pelle
Windestam (2014-4-38).
7.3 2014-06-25 Gregory Nutt <gnutt@nuttx.org>
* apps/examples/serialblaster: Update configuration an make logic in
order to select that the serial blaster task priority and stack size.
From Bob Doiron (2014-4-30).
* apps/nshlib/Kconfig and other NSH files: The alternate console device
CONFIG_NSH_CONDEV must not be defined unconditionally. This causes errors
when using Telnet sessions. This was solved by adding CONFIG_NSH_ALTCONDEV:
CONFIG_NSH_ALTCONDEV enables or disables the feature then, if enabled,
CONFIG_NSH_CONDEV provides the alternative console device name (2014-5-5).
* apps/system/i2c/i2c_get.c: Fix to show the updated register address on
each fetch (vs. showing the same starting address each time). From
Ryan VanSickle (2014-5-8).
* apps/interpreters/prun and apps/include/interpreters/prun.h: Broke out
the P-code execution logic from apps/examples/pashello and moved it to
these directory where it can be used more generally (2014-5-9).
* apps/system/prun and apps/include/interpreters/pexec_main.c: Move the
P-Code execution logic from apps/interpreters/prun to
apps/system/prun; Add pexec_main.c which is an NSH built-in
application that can be used to run P-Code programs from the NSH
command line (2014-5-9).
* Several files: Convert all old-style variadic macros to the C99 form.
Recent GCC changes tightens up that behavior and can cause some problems
(at least for the IAR compiler for some reason). See
https://gcc.gnu.org/onlinedocs/cpp/Variadic-Macros.html#Variadic-Macros.
Noted by Bob Grimes (2014-5-22).
* apps/system/cle: CLE was not returning the terminating newline character.
But reported by Max kriegleder; work-around reported by Lorenz Meier
(2015-5-23).
* Misc changes due to moving nuttx/net/uip/uip-arp.h to nuttx/net/arp.h
(2015-5-30).
* apps/examples/netpkt/: A "raw" socket test from Lazlo Sitzer
(2014-6-12).
* apps/system/hex2bin/: A library and built-in task to convert from
Intel HEX to binary format. Untested on initial commit (2014-6-15).
* apps/system/hex2bin/: Appears to be functional but testing is still
light (2014-6-16).
* apps/system/hex2bin/hex2mem_main: Add a variant application that will
write Intel HEX files directly to memory (2014-6-16).
* netutils/webserver: httpd_fs_open() should return OK on success and
ERROR on failure, not 1 and 0 (2014-6-23)
7.4 2014-08-15 Gregory Nutt <gnutt@nuttx.org>
* apps/system/mdio: PHY tool from Daniel Lazlo Sizter (2014-6-27).
* apps/nshlib: Networking logic modified to handler the case of SLIP
transport. From Max Neklyudov (2014-6-27).
* apps/nshlib: if # appears on line, need to comment ignore additional
commands on the line (2014-7-1).
* apps/netlib: Renamed all occurrences of uiplib to netlib. Renamed
files under netutils/uiplib/uip_*.c to netutils/netlib/netlib_*.c.
Renamed all functions defined in netutils/netlib/ to begin with netlib_,
instead of uip_. (2014-7-2).
* apps/nshlib/nsh_usbkeyboard.c: Add a configuration to use a USB
keyboard for the stdin device (2014-7-3).
* apps/neturils/webclient/webclient.c: Fix to offset calculation from
Rony Xln. Prevents 0x0a at the beginning of lines (2014-7-7).
* netutils/webserver (and other files): Fix some configuration usage:
CONFIG_NETUTILS_HTTPD_SENDFILE was missing from Kconfig; CONFIG_NET_HAVE_SOLINGER
should be CONFIG_NET_SOLINGER; Type of CONFIG_NET_HTTPD_MAXPATH was wrong
in Kconfig file. From Max (2014-7-11).
* apps/system/nxplayer/nxplayer.c: Check for file read errors and end-of-file
with zero bytes read (2014-7-23).
* apps/system/nxplayer: Misc changes to better integrate with
NxWM::CMediaPlayer (2014-7-23).
* apps/system/nxplayer/nxplayer.c and apps/include/nxplayer.h: Add hooks
for fast-forward and rewind needed by CMediaPlayer; add hooks for
equalizer settings needed by the WM8904 (2014-7-24).
* apps/include/nxplayer.h and apps/system/nxplayer/nxplayer.c: Changes to
integrate with Ken's NxWM::CMediaPlayer (2014-7-24).
* apps/include/nxplayer.h: Move subsampling rate definitions from nxplayer.h
to audio.h *2014-7-27).
* apps/system/nxplayer/nxplayer.c: NxPlayer needs to set curbyte field to
zero before enqueuing a buffer. Otherwise, it looks like beginning of
the buffer has already been consumed. (2014-7-27).
* apps/netutils/webserver/httpd.c: Missing logic to close sockets on loop
termination. From Max (2014-7-28).
* apps/system/nxplayer/nxplayer.c: Fix some error handling, update
comments, more debug output (2014-7-31).
* apps/system/nxplayer/nxplayer.c: Change how the end of the audio
stream is detected by the leaf audio component. This used by be done
by looking for the first partial buffer. That does not work with the
in-place sub-sampling performed by the PCM decoder: That always reduces
the size of the buffer so that all buffers only partially filled by the
time they get to the leaf. Now, a flag is set in the audio buffer
flags set to indicate the final buffer in the stream (2014-7-31).
* apps/system/nxplayer/nxplayer.c: Fix an error I introduced: Need to
pass through final buffer even if is it zero length because it contains
the end of audio stream flag (2014-8-1).
* apps/system/nxplayer/nxplayer.c: Break reading and enqueueing of audio
buffers into two steps so that errors in enqueueing can be
distinguished from errors in reading. Errors in enqueueing signal a
downstream decoder error. Add logic to gracefully recover from
downstream decoder errors (2014-8-5).
* apps/nshlib/Kconfig, nsh.h, and nsh_netinit.c: Software assigned MAC
address is now configurable. From Lazlo (2014-8-6).
* apps/nshlib/Kconfig, nsh.h, and nsh_netinit.c: Also add an option to
let platform-specific logic select the MAC address (2014-8-5).
* apps/nshlib/Kconfig, nsh.h, and nsh_netinit.c: There is now a
configuration option that will bring up the network on an separate
thread. Since the network bring-up is asynchronous, there are not
serial console start-up delays due to the network negotiation time
(2014-8-6).
* apps/system/sudoku: Add a sudoku game (2014-8-11).
7.5 2014-09-28 Gregory Nutt <gnutt@nuttx.org>
* apps/nshlib/Kconfig, nsh.h, and nsh_netinit.c: Extend the NSH network
initialization logic. There is now an option that will create a
network monitor thread that will monitor the state of the link. When
the link goes down, the code will attempt to gracefully put the
Ethernet driver in a down state; When the link comes back, the code
will attempt to bring the network back up (2014-8-17).
* apps/system/free/free.c and install/install.c: STM32 FLASH fixes:
use size_t instead of uint16_t, make interface more generic. From
Freddie Chopin (2014-8-28).
* apps/examples/elf: The ELF test/example has been extended so the
individual ELF test programs can link against the SYSCALL library
(if it is available) or against the C library to eliminate or
minimize the need for symbol tables (2014-8-29).
* apps/nshlib/nsh_proccmds.c: Fix NSH PS command: If there are no
arguments, it would print garbage for argument list (2014-9-1).
* apps/import/, apps/tools/, apps/Makefile: Beginning of logic that
will, hopefully, allow me to build applications against a NuttX export
package (vs. the nuttx/ source tree) (2014-9-4).
* apps/tools/mkimport.sh and apps/import/Makefile: Add .config file to
export package (2014-9-5).
* apps/Makefile: Add a 'make import' target. More is needed before
it will be usable (2014-9-5).
* apps/import/Make.defs and .gitignore: Added mostly empty Make.defs
file. Something like this will be bee needed for the 'make import'
build (2014-9-5).
* apps/Makefile, examples/elf/Kconfig, and import/Make.defs: Copy more
logic from nuttx/tools/Config.mk into the Make.defs file (2014-9-5).
* apps/import/Make.defs: Also need to define CFLAGS (2015-9-5)
* apps/import/scripts/gnu-elf.ld: Add GCC linker script for ELF
import builds (2014-9-5).
* All Makefiles: Add an install target to all makefiles. For the
import build, the top-level Makefile now does two passes: (1) builds
libapp.a, then (2) installs the programs (not yet finished) (2014-9-6).
* Many files: With kernel build (CONFIG_BUILD_KERNEL), entry point to
all tasks is main, not some xyz_main (2014-9-6).
* Many Makefiles: Add program installation for CONFIG_BUILD_KERNEL in
all Makefiles that build a main() (2014-9-6).
* Many Makefiles. For kernel build, the object file containing main
cannot go into library because of name collisions. The object file
must be handled as a special case in every Makefile (2014-9-7).
* apps/import/Make.defs: libapps.a needs to be added to the list of
libraries to link against (2014-9-7).
* apps/nshlib/nsh.h and nsh_ddcmd.c: Several commands must be disabled
in the kernel build because they depend on interfaces that are not
available outside of the kernel: dd, df, losetup, mkfatfs, mkdr, and
ps (2014-9-7).
* apps/import/Make.defs: ELF build requires -fno-common in CFLAGS
(2014-9-8).
* apps/tools/mkromfsimg.sh: Add a script to create a BOOT ROMFS
filesystem image (2014-9-9).
* Many makefiles: All makefiles that have separated the MAINOBJ
need to include MAINOBJ in list of C objects to be compiled.
SourceForge tick #31 from Aton (2014-9-11).
* apps/examples/elf/tests/Makefile and nxflat/tests/Makefile: Do
not build test cases that use task_create if there is an address
environment (2014-9-14).
* apps/examples/null/null_main.c: Need to include config.h it order know
if this is or is not a kernel build (2014-9-16).
* Change all occurrences of NxConsole to NxTerm (2014-9-20).
* apps/examples/Konfig, Makefile, README.txt and all of mdrwb/: Add an
example to test MTD R/W buffering (2014-9-25).
* apps/examples/ostest: Add a trivial test of sem_timedwait (2014-9-16).
7.6 2014-11-26 Gregory Nutt <gnutt@nuttx.org>
* apps/examples/ostest: Add a simple test of named semaphores
(2014-9-23).
* apps/netutils/webclient/Kconfig and webclient.c: Add implementation of
timeouts for the apps/netutils/webclient. From Brennan Ashton
* apps/nshlib/Kconfig and nsh_romfsetc.c: Add support for a custom NSH
ROMFS startup image header file location. From Martin Lederhilger
(2014-9-30).
* apps/nshlib/nsh_fscmds.c: Fix ls -l output for regular files (14-9-30).
* apps/nshlib/nsh_ddcmd.c: Fix reversed in/out file closing when an
error occurs. From Ken Pettit (2014-10-2).
* apps/examples/ostest/aio.c, Kconfig, Makefile, and ostest_main.c: Add
AIO test case in OS test (2014-10-5).
* apps/examples and system: Remove non-portable uses of syslog
(014-10-8).
* apps/: Correct everything under apps to use the corrected syslog
interfaces (2014-10-8).
* apps/netutils/netlib/netlib_gethostaddr.c: Fix memcpy of host address
in netlib_gethostaddr(). From Brennan Ashton (2014-10-17).
* apps/system/stackmonitor.c and stackmonitor/Makefile: Fix compile
problems introduced when the syslog() prototype changed; Also update
Makefile for kernel build From Radoslaw Adamczyk (2014-10-23).
* apps/examples/nxterm/Makefile: Update makefile for kernel-build
issues. From Radoslaw Adamczyk (2014-10-23).
* apps/examples/keypadtest/keypadtest_main.c: Fixes to keypadtest from
Pierre-Noel Bouteville (2014-10-23).
* apps/nshlib/nsh_parse.c, nsh.h, and Kconfig: Move CONFIG_NSH_TMPDIR
to CONFIG_LIBC_TMPDIR (2014-11-05).
* apps/interpreter/bas: Merged in the Michael Haardt's BAS 2.4 adapted
for use by NuttX by Alan Carvalho de Assis. The bas24 branch was merged
into the master branch on this date (2014-11-7).
* apps/examples/bastest: This is a special version of Michael
Haardt's BAS 2.4 test files adapted for use by NuttX on a ROMFS file
system (2014-11-7).
* apps/interpreter/bas: Add VT100 support for color command (2014-11-10).
* nshlib/: Remove use of CONFIG_MAX_TASKS in ps command and in range
checkout (2014-11-13).
* netutils/thttpd: Remove use of CONFIG_MAX_TASKS in in 'task' CGI
example (2014-11-13).
* sysm/i2c: Remove use of CONFIG_MAX_TASKS for maximum argument I2C
tool size (2014-11-13).
* apps/netutils/dnsclient/dns_socket.c: Right now if you make a DNS
request before the dns address it set you will get an assertion. The
state of the IP setting is not something the application should be
aware of, it should only be concerned with whether or not the name
was resolved. From Brennan Ashton (2014-11-13).
* apps/nshlib/, apps/netutils, and apps/include/netutils: Misc
changes to support multiple networks with different link layers. For
example, ETHERNET + SLIP (2014-11-15).
* apps/nshlib/nsh_usbconsole.c: Add logic to restart the console wait
if an error occurs while reading from the console.In USB console
startup, the logic must be able to open the USB serial and receive 3
newlines. However, it the USB driver is disconnected or otherwise
fails before the 3 newlines are received, the receive loop becomes a
killer, infinite loop, CPU hog. Noted by spasbyspas (2014-11-16).
* examples/, netutils/, nshlib/, various files: Rename
CONFIG_NET_BUFSIZE to CONFIG_NET_ETH_MTU; Add CONFIG_NET_SLIP_MTU.
Modify logic to handle different MTUs when both Ethernet and SLIP
are enabled (2014-11-16).
* apps/examples/discover, tcpecho, webserver, xmlrpc: These examples
all set the IP address of eth1 but the netmask and gateway of eth0
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
bridge (2014-11-17).
* apps/netutils/codecs/md5.c: Fix md5 hashing when digest[$i] lower
that 16. From Sergey (2015-11-20).
* apps/examples/bridge/host_main.c, host_net1.c, host_net2.c, Kconfig,
and Makefile: Add host-side test driver (2014-11-21).
7.7 2015-01-26 Gregory Nutt <gnutt@nuttx.org>
* apps/examples/romfs/Makefile: fix romfs example builtin app registry
issue. From Librae (2014-11-27).
* apps/examples/djoystick and support files: Add a test of the discrete
joystick driver (2014-11-28).
* apps/examples/ajoystick and support files: Add a test of the analog
joystick driver (2014-12-03).
* apps/nshlib/nsh_netcmds.c: NSH TFTP get command: Wrong file namei
used for the destination. From Lazlo (2014-12-10).
* apps/system/cu: Add a minimalist implementation of the 'cu' terminal
program (part of Taylor UUCP for ages). Using it, you can simply open
a serial port and interact with it. Using '~.' you can leave the
terminal program and drop back to nsh. This might come in handy for
people that have e.g. GSM modems, GPS receivers or other devices with
text based serial communications attached to their Nuttx systems. From
Harald Welte (2014-12-13).
* apps/examples/ltdc and build-related file: Add ltdc test example. From
Marco Krahl (2014-12-19).
* apps/system/cdcacm, composite and usbmsc: Fix some strangely placed
conditional compilation. Looks like an automated update gone awry
(2014-12-28).
* apps/examples/ltdc/ltdc_main.c: Clean up documentation, some formatting
improvements. From Marco Krahl (2014-12-29).
* apps/system/lm75 and build-related files: Add a tiny application to
read the temperature from an LM-75 (or compatible) temperature sensor
(2015-01-06).
* apps/interpreters/micropython: A port of Micro Python to NuttX.
Contributed by Dave Marples (2015-01-11).
* apps/examples/timer: Add a trivial test of the timer driver
(2015-01-13).
* apps/netutils/dnsclient: Can select to be either IPv4 or IPv6, but
not both (IPv6 still does not compile) (2015-01-18).
* apps/netutils/netlib: Add new library functions to manipulate IPv6
addresses (2015-01-13).
* apps/nshlib/Kconfig and nsh_netinit.c: Add logic to initialize
IPv6 addresses (2015-01-19).
* apps/netutils/netlib: All IOCTLs must use a valid address family --
even if the address family does not matter such as when getting the
MAC address or the network flags (2015-01-19).
* apps/examples/nettest: Update test so that it can be used to test
IPv6 TCP sockets (2015-01-20).
* Many files: Correct name of fields in struct sockaddr_in6: sin6_port
and sin6_family, not sin_port and sin_family (2015-01-20).
* apps/netutils/telnetd: Add protection when CONFIG_SCHED_HAVE_PARENT
is enabled: Call sigaction with SA_NOCLDWAIT so that exit status is
not retained (no zombies) and block receipt of SIGCHLD so that accept
is not awakened by a signal. If accept() is awakened by a signal, do
not do anything crazy like exit. Most from Rony Xln (2015-01-22).
* apps/examples/udp: The UDP test example has been extend to support
IPv6 domain sockets (2015-01-22).
* apps/nshlib: Add the ping6 command to support checking IPv6 networks.
(2015-01-23).
* apps/nsh: Clean up network status presentation for IPv6 (2015-01-24).
7.8 2015-02-11 Gregory Nutt <gnutt@nuttx.org>
* apps/interpreters/micropython: Add math library defines for nan(),
copysign(), and trunc() functions. From Brennan Ashton (2015-01-26).
* apps/examples/ustream: Add a simple test of Unix domain sockets
(2015-01-27).
* apps/examples/udgram: Add a simple test of Unix domain datagram
sockets (2015-01-28)
* apps/Makefile and builtin/Makefile: Fix for building with parallel
make. Build-server sometimes failed 'make -j24' with errors in the
builtin line or or sometimes silently succeeds but generated builds
that contain a random subset of configured NuttX applications. There
are two root causes for this: (1) Recipes for building builtin_list.h
and builtin_proto.h are not linearizable, and (2) Nothing ensures
that 'make context' is run first for apps/builtin. This change
address both issues. From Juha Niskanen (2015-02-03).
* apps/netutils/netlib: Add utilities to convert to/from prefix lengths
from/to 128-bit network masks (2015-02-06).
* apps/nshlib: Modify the NSH IPv6 ifconfig command to show the more
standard post-pended prefix value, rather than the full 128-bit netmask
(2015-02-06).
7.9 2015-04-14 Gregory Nutt <gnutt@nuttx.org>
* apps/examples/ostest: Improved error checking for sem_timedwait()
from Juha Niskanen (2015-02-20).
* apps/netutils/Kconfig, Make.defs, and pppd/: Add a PPP daemon. From
Max Neklyudov (2015-03-11).
* Rename arch_nshinitialize() to board_app_initialize() (2015-03-30).
* apps/nshlib: NSH initialization now calls boardctl(BOARDIOC_INIT)
instead of board_app_initaliaze(). Remove support for
CONFIG_NSH_ARCHMAC. It is not used and there are better ways to do
that operation (2015-03-31).
* apps/examples/touchscreen: No longer calls arch_tcinitialize() or
arch_tcuninitialize(). Instead the new OS interface boardctl() is
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
device(2015-03-31).
* apps/examples/pwm/: Replace calls to pwm_devinit() in
apps/examples/pwm with calls to boardctl() (2015-03-31).
* apps/examples/: More renaming: up_lcdinitialize->board_lcd_initialize,
up_lcdgetdev->board_lcd_getdev, up_lcduninitialize->board_lcd_uninitialize
(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
(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
with menuconfig (2015-04-07).
* apps/examples/ostest/sigprocmask.c: Add a simple test of sigprocmask,
sighold, and sigrelse (2015-04-09).
* apps/modbus: Includes extensions to support RTU master mode by
Armink(383016632@qq.com):
https://github.com/armink/FreeModbus_Slave-Master-RTT-STM32. Ported
to NuttX by Darcy Gong.
* apps/nshlib: Allow NSH 'date' command with no hardware RTC. Thisi
command is useful without an RTC too. Also, this permits testing on
the simulator which never has an RTC (2015-04-11).
* apps/netutils/ppp: Make pppd PAP authentication optional. From
Brennan Ashton
* apps/examples/pppd: Add PPPD test case. Split out from
apps/netutils/pppd by Brennan Ashton.
* apps/netutils/pppd: Spit up pppd utils. From Brennan Ashton.
* apps/system/zoneinfo: All logic to build timezone info. Does not do
much else yet (2015-04-14).
7.10 2015-06-09 Gregory Nutt <gnutt@nuttx.org>
* apps/system/zoneinfo: Add logic to build a ROMFS file system
containing the timezone data (2015-04-15).
* apps/nshlib/nsh_timcmds.c: Check return values from time functions
(2015-04-15).
* apps/examples/nxlines: Fix missing right bracket that causes
compile error when CONFIG_NX_XYINPUT=y. From Librae (2015-04-16).
* apps/examples: When boardctl() fails, need to print errno not the
returned value which will always be -1 (2015-04-16).
* apps/examples: Correct use of the BOARDIOC_GRAPHICS_SETUP boardctl()
call (2015-04-16).
* apps/examples/ltdc: Add testing support for the STM32 LTDC's 2D
DMA. From Marco Krahl (2015-04-16).
* apps/nshlib/: Fix handling of gmtime_r return value in time commands.
gmtime_r returns a pointer, not an int (2015-04-21).
* apps/netutils/ntp: Fix mismatched sched_lock/unlock. Noted by
Juha Niskanen (2015-05-06).
* apps/examples: Modify/simpify apps/examples build files. From Roman
Saveljev (2015-05-06).
* apps/nshlib/nsh_netinit.c and apps/examples/ustream/: Add poll
support for Unix stream sockets. From Jussi Kivilinna (2015-05-12).
* apps/examples/ostest: Add a test of nested signals. There are no
failures to handle signals but neither am I getting any nested
signal handling (2015-05-12).
* apps/nshlib: Enhancements to NSH ifconfig for case of multi-link
operation, TUN device and local connections. From Max Neklyudov
(2015-05-19).
* apps/nshlib: Enhanced output to NSH ping command from Max Neklyudov
(2015-05-27).
* apps/examples/elf: Add configuration options to support building the
hello++4 example that depends upon having uClibc++ available. From
Leo aloe3132 (2015-05-29).
* apps/platform/stm32f4discovery: Move up_cxxinitialize from
nuttx/configs/stm32f4discovery/src to apps/platform/stm32f4discovery
where it belongs (2015-05-29).
* apps/examples/elf/tests/helloxx: Add hello++5 to ELF example. From
Leo Aloe3132 (2015-06-01).
* apps/netutils/thttpd/ and apps/examples/thttpd/: Add support for using
binfs/ instead of NXFLAT. NXFLAT is probably the better solution but
recently compiler changes make it unusable. binfs or ELF are fallback
binary formats. This commit adds an option to use binfs (2015-06-02).
* apps/examples/unionfs: Add a test of the union file system to
apps/examples (2015-06-05).
* apps/examples/thttpd now uses the Union File System if BINFS is
selected for CGI binaries (2015-06-06).
* apps/nshlib/: The NSH mount command now recognizes the Union file
system type when listing mounted file systems (2015-06-07).
7.11 2015-08-13 Gregory Nutt <gnutt@nuttx.org>
* apps/netutils/thttpd: Fix compilation problems when
CONFIG_THTTPD_GENERATE_INDICES is defined (2015-06-12).
* apps/include: Clean up and review of header files for conformance to
standards (2015-06-12).
* apps/examples/ostest/: Extend the OS test to include a test of
pthread_mutex_trylock() for recursive mutexes. From Juha Niskanen
(2015-06-16).
* apps/netutils/thttpd: Missing gci-src as a dependency path when
building with BINFS enabled (2015-06-18).
* The apps/ directory has been removed from the NuttX GIT repository
and now stands alone in its own repository (2015-06-27).
* apps/examples/poll: Fix a few bit-rot compilation errors (2015-07-01).
* apps/nshlib: NSH will now support an (optional) shutdown command if
the board provides the option CONFIG_BOARDCTL_POWEROFF. The command can
also be used to reset the system if CONFIG_BOARDCTL_RESET=y.
(2015-07-04).
* apps/system/poweroff: Remove the system poweroff command. This is
replaced with the NSH shutdown command (2015-07-02).
* 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
(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
for the full implementation of the netdb logic and provides more
flexibility in that location (2015-07-10).
* apps/examples/ and apps/netutils: Remove calls to obsolete, non-
functional DNS interfaces (2015-07-11).
* apps/netutils and apps/nshlib: Replace calls to the non-standard
dns_gethotip with calls to standard gethostbyname (2015-07-11).
* apps/netutils/netlib and other files: Create netlib wrapper functions
around dns_getserver() and dns_setserver() to isolate application
code from changes to those interfaces (2015-07-12).
* apps/nshlib: Add an nslookup command (2015-07-13).
* apps/examples/nxlines: If CONFIG_NX_ANTIALIASING=y, then the nxlines
example now erases a line that is 2 pixels longer and 2 pixels wideri
than the line it drew. That eliminates edges effects due to applying
the anti-aliasing algorithm twice. A better solution would be to makei
anti-aliasing an option for each graphics call so you would rend the
line with anti-aliasing ON and clear it with anti-aliasing OFF. but I
don't have the wherewithal for that change today (2015-04-14)`.
* apps/nshlib and apps/examaples/thttpd: Change decoding to handle the
increased size of the scheduling policy field in the TCB (2015-07-23).
* apps/examples/ostest: Improve synchronization in round robin tests.
On very fast processors, there are race conditions that make the test
failure. Need better interlocking to assure that the threads actually
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
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
support to also expand NSH command names (2015-07-30).
* apps/system/readline and apps/nshlib: Add support for an in-memory
command line history that can be retrieved using the up and down
arrows. Contributed by Nghia Ho (2015-08-09).
* apps/Makefile: No longer depends on hardcoded lists of directories.
Instead, it does a wildcard search to find all appropriate
directories. This means that to install a new application, you
simply have to copy the directory (or link it) into the apps/
directory. If the new directory includes a Makefile and Make.defs
file, then it will automatically be included in the build (2015-08-11).
* apps/Makefile, Kconfig, */Kconfig, tools/mkkconfig.sh: Add the tool
mkkconfig.sh that dynamically builds the apps/Kconfig file at
configuration time. The hardcoded configuration file has been removed
and now the top-level Makefile executes tools/mkkconfig.sh to auto-
generate the top-level Kconfig file. A new apps/ make target call
preconfig: was added to support this operation. Now you do not have
to modify the top-level Kconfig file to add a new directory into the
configuration; the top-level subdirectory simply needs to include a
Kconfig file and it will automatically be included in the
configuration. The native Windows build is temporarily broken until
a new apps/tools/mkconfig.bat script is generated (2015-08-11).
* apps/tools/mkkconfig.bat: Add the Windows script corresponding to
apps/tools/mkkconfig.sh. Needed for a Windows native build. Untested
on initial commit (2015-08-12).
7.12 2015-10-01 Gregory Nutt <gnutt@nuttx.org>
* apps/examples/can: Extend the CAN loopback test by adding more
command line options (2015-08-17).
* apps/examples/usbserial: Can now be run as an NSH builtin-function.
Now uses a configurable IO buffer size (2015-08-20).
* Various Kconfig files in netutils: Fix some changes from from
NETUTILS_DNSCLIENT to NETDB_DNSCLIENT. From Pavel Pisa (2015-08-20).
* system/netdb: Failed to build if CONFIG_NET_HOSTFILE was not defined
because gethostbyaddr() was not available. Noted by OrbitalFox
(2015-08-21).
* apps/system/symtab: Optional canned symtab inclusion to the build. When
option CONFIG_SYSTEM_SYMTAB is selected and symbol table file
libc/symtab/canned_symtab.inc is prepared then application can
use system provided complete symbol table. The option has
substantial effect on system image size. Mainly code/text. If
loading of applications at runtime is not planned do not select
this. From Pavel Pisa (2015-08-23).
* apps/examples/nettest: Add option to suppress network initialization.
This is necessary if the nettest is run from NSH which has already
initialized the network (2015-08-26).
* apps/examples/nettest: Extend test so that can be performed using the
local loopback device (2015-08-26).
* apps/nshlib: Fix error handling in 'cat' command. On a failure to
allocate memory, a file was not being closed. From Bruno Herrera
(2015-08-26).
* apps/nshlib: Fix error handling in 'mv' command. On a failure to
expand the second path, the memory allocated for the expansion of the
first path was not being freed. From Bruno Herrera (2015-08-26).
* apps/examples/netloop: Add a test of the local loopback device
(2015-09-02).
* apps/modbus and apps/include/modbus: Macros PR_BEGIN_EXTERN_C and
PR_END_EXTERN_C were not defined in all contexts. Replace with
explicit expansion in all cases. From Stefan Kolb (2015-09-03).
* apps/canutils/uavcan: Add support for libuavcan. From Paul
Alexander Patience (2015-09-25).
* apps/examples/udpblaster: Add a test to stress the network by
sending UDP packets at a very high rate. (2015-09-30).
* apps/examples/uavcan: libuavcan example from Paul Alexander
Patience (2015-10-01).
7.13 2015-12-05 Gregory Nutt <gnutt@nuttx.org>
* apps/examples/fstest: Add a generic file system test. This is
essentially the same as examples/smart, but has all of the SmartFS
specific logic ripped out. This was created for testing the new
tmpfs (2015-10-10).
* apps/examples/zerocross: Add a Zero Cross application example.
From Alan Carvalho de Assis (2015-10-13).
* apps/examples/media: Add a simple test for access of media via
a block driver or MTD driver (2015-11-09).
* apps/nshlib/nsh_ddcmd.c: Now that NuttX automatically converts
block devices to character devices, all of the BCH stuff in NSH
can be removed (2015-11-21).
* apps/system/hexed: Port the hexed command line hexadeciamal
editor to Nuttx. See http://apps.venomdev.net/hexed/.
Initial port is not functional (2015-11-21).
* apps/fsutils/smartfs: Move into apps/fsutils from kernel, now
uses only open and ioctl. From Ken Pettit (2015-11-23).
* apps/fsutils/smartfs/ and apps/nshlib/: Add configuration option
to supported multiple root directories. From Ken Pettit (2015-11-23).
* apps/nshlib: Add support for 'basename' and 'dirname' commands
(2015-11-23).
* apps/nshlib: Like bash, NSH set command should strip off any
leading or trailing whitespace (2015-11-23).
* apps/nshlib: The mount commands now accepts mount options (currently
needed only for the hostfs file system). From Ken Pettit (2015-11-25).
* apps/nshlib: NSH no longer calls losetup() and loteardown directly.
Now it opens /dev/loop and accomplishes these things using ioctl()
calls (2015-11-25).
* apps/nshlib: If CONFIG_NETDEV_STATISTICS=y, then print the network
driver statistics in the ifconfig (15-11-26).
* apps/nshlib: The 'ifconfig' command now uses /proc/net/<dev> to view
network device configuration and status and /proc/net/stat to show
network statistics. A consequence of this is that you cannot view
this network information if the procfs is not enabled and mounted at
/proc (2015-11-27).
* apps/nshlib: Remove all references to internal OS interface
netdev_foreach(). Logic in ifconfig, ifup, and ifown now use the
procfs file system to examine networking status. (2015-11-27).
* apps/nshlib: Add a new NSH losmart command. losmart setups up
a loop device for the smart MTD driver similar to losetup but
with different syntax. From Ken Pettit (2015-11-28).
* apps/nshlib: The I/O buffer, g_iobuffer, should not be a global
buffer. That will not work in an environment where there are multiple
NSH sessions. The I/O buffer must, instead, be a part part of the
session-specific data defined in nsh_console.h (2015-11-28).
* apps/nshlib: The 'ps' command now uses /proc/<pid>/ to obtain
task status information. A consequence of this is that you cannot use
the 'ps' command if the procfs is not enabled and mounted at
/proc (2015-11-28).
7.14 2016-xx-xx Gregory Nutt <gnutt@nuttx.org>
* netutils/telnetd: Move the Telnet driver from netutils/telnetd to
nuttx/drivers/net. It is a driver an belongs in the OS. There are
still some partitioning issues with the interface to the Telnet
driver (2015-12-07).
* netutils/telnetd: No longer calls OS interface telnet_driver. Now
creates Telnet sessions by opening a new factory device at /dev/telnet
and then using ioctl calls to create the session character drivers
at /dev/telnetN (2015-12-07).
* netutils/ping: Unfinished implementation of ping/ping6 using raw
sockets (2015-12-11).
* examples/module: Add a test harness for verifying NuttX kernel
modules (2015-12-12).
* apps/nshlib: Add module commands: insmod, rmmod, and lsmod
(2015-12-13).
* apps/examples/pca9635: Add a simple test of PCA9635PW PWM LED
driver. From Alan Carvalho de Assis (2015-12-15).
* apps/examples/ostest: Add a test of POSIX timers using
SIGEV_THREAD (2015-12-30).
* apps/nshlib: Add a 'time' command that may be used to time the
execution of other commands (2015-12-31).
* apps/netutils/netlib: Add netlib_get_dripv4addr() and
netlib_get_ipv4netmask(). From Pelle Windestam (2016-01-14).
* apps/fsutils/passwd: Utility library for accessing a password
file like /etc/passwd (2016-01-19).
* apps/nshlib/nsh_passwdcmds.c: Add useradd, userdel, and passwd
commands (2016-01-20).
* apps/nshlib: Now supports a Message of the Day (MOTD) that will
be presented after the NSH greeting (2015-01-20).
* apps/nshlib: All sessions may be protected with logins using
the encrypted password in /etc/passwd (2016-01-20).
* apps/fsutils/inifile: Move system/inifile to fsutils/inifile
where it seems to fit in better (2016-01-20).
* apps/nshlib: Extend logins. Added: Optional platform-specific
function to perform password verification and optional delay
after each failed login attempt (2016-01-22).
* system/ramtron: Removed completely. It inappropriately used
an internal OS interface (up_spiinitialize), that has been
obsoleted. That's what happens when you violate interface
boundaries between the application and the OS (2016-01-27).
* apps/platform/Makefile: Use a relative path to the board
directory link rather than the absolute path. For Cygwin, the
absolute would would need converted with cygpath. But just using
the relative path is a simpler solution (2016-01-27).
7.15 2016-03-27 Gregory Nutt <gnutt@nuttx.org>
* apps/examples/chat and apps/netutils/chat: Contributed by
Vladimir Komendantskiy (2016-01-29).
* apps/examples/ubloxmodem: app to control the power state of the
modem in nsh. From Vladimir Komendantskiy (2016-01-31).
* apps/system/ubloxmodem: Moved the modem application from
examples/ to system/ (2016-01-31).
* apps/system/i2c: The I2C tool now obeys it OS interfacing:
it now uses an I2C character driver to access the I2C bus
(2016-02-02).
* apps/netutils/netlib: Add utility functions to support accesses
to the ARP table (2016-02-08).
* apps/netutils/dhcpd: DHCPD no longer calls directly into the
OS but uses the new network IOCTL commands to modify the ARP
table (2016-02-08).
* apps/nshlib: Add an 'arp' command that will support access to
the OS ARP table (2016-02-08).
* apps/nshlib: 'ps' command will show CPU if SMP is enabled
(2016-02-19).
* apps/examples/leds: An example to demonstrate use of LED
driver (2016-02-20).
* apps/examples/smp: Add a test to verify SMP configurations
(2016-02-21).
* apps/examples/rgbled: Example using the RGB LED driver to
drive an RGB LED via PWM. From Alan Carvalho de Assis
(2016-02-23).
* apps/platform/sabre-6quad: Add a platform directory for the
Sabre 6Quad board (2016-03-01).
* apps/examples/ostest: Add a test of TLS (2016-03-11).
* apps/modbus/nuttx/portserial.c: Was not returning an error
on failure to open the device driver. From Olololshka kokoko
(2016-03-16).
* apps/examples/sched_note: Add a simple example to exercise
the scheduler instrumentation logic. Kind of buggy right now
(2016-03-17).
* apps/system/cdcacm, usbmsc, and composite, apps/examples/usbserial,
composite, usbterm: Use new boardctl() instead of calling directly
in the OS when possible. There are still a few bad OS calls for
USB device interfaces that do not yet have boardctl() commands
(2016-03-25).
7.16 2016-06-01 Gregory Nutt <gnutt@nuttx.org>
* apps/system/sdcard: Remove the SD card application. This
application violates OS/application interface rules and has been
moved to Obsoleted/apps/system/sdcard (2016-03-29).
* apps/examples/alarm: Add a simple test of the ALARM iotcl calls
of the RTC driver (2016-04-03).
* apps/examples/nximage: No configuration option to select
greyscale.
* apps/canutils/uavcan: Update UAVCAN version. From Paul Alexander
Patience (2016-05-03)
* Several Makefiles: Add .PHONY definitions to prevent 'clean up to date'
message weirdness; Add default definitions for some commonly used
things when 'make clean' is used without .config or Make.defs files
installed (2016-05-10).
* apps/canutils/libcanard: Add libcanard UAVCAN library. From Paul
Alexander Patience (2016-05-12)
* apps/examples/watchdog: Remove call to up_wdginitialize(). This
interface should not be accessed from application code (2016-05-18).
* apps/system/sched_note: Move the schduler note monitor from examples/
to system/ (2016-05-18).
* apps/platform/nucleo-144: Add platform files for NUCLEO-144
(NUCLEO-F746ZG). From Mark Olsson (2016-05-19).
* apps/netutils/esp8266: ESP8266 driver application. From Pierre-noel
Bouteville (2016-05-21).
* apps/canutils/: Rename uavcan to libuavcan. From Paul Alexander
Patience (2016-05-25).
* apps/examples/media: You can now override the default device driver
path by providing an alternal path on the command line. From S<>bastien
Lorquet (2016-06-01).
7.17 2016-07-25 Gregory Nutt <gnutt@nuttx.org>
* apps/examples/alarm: ioctl call was clobbering file descriptor
(2016-06-02).
* apps/system/flash_eraseall: Removed! This logic violates the OS/
application interface and cannot be supported. The old code can still
be found in the 'Obsoleted' repository (2016-06-03).
* apps/fsutils/flash_eraseall: IOCTL wrapper for MDCIO_BULKERASE command
(2016-06-04).
* apps/system/flash_eraseall: Restored! Using the new IOCTL wrapper at
apps/fsutils/flash_eraseall (2016-06-04).
* apps/canutils/libuavcan: Fix for recent change to STM32 timer frequency
definiitions (2016-06-05).
* Many files: Change to the way that Kconfig files are generated in order
to better support reuse of the apps/ directory in NuttX products. Changes
include: Make the full tree use wildcards make.defs, Add empty preconfig
rules to 'leaf' makefiles, Use directory.mk for recursive dir makefiles,
Individual app kconfig fixes, Recursive Kconfig autogeneration, Add
kconfig files for pcode and tiff, and fix a gitignore rule, From
S<>bastien Lorquet (2016-06-06).
* apps/nshlib: Make NSH net-initialization be a configuration option. From
Marten Svanfeld (2016-06-09).
* netutils/ntpc and nshlib: NTP Client: All retries; Add initialization
in NSH network startup logic. From David S. Alessio (2016-06-09) .
* Rearrange make to eliminate Kmenu files From Sebastien Lorquet
(2016-06-09).
* apps/nshlib: Make NSH net-initialization be a configuration option.
From Marten Svanfeldt (2016-06-09).
* Make sure that APPNAME is defined in all Makefiles that generate
applications. From Sebastien Lorquet (2016-06-09).
* apps/netutils/esp8266/: Add logic to set the BAUD rate. From Pierre-
noel Bouteville (2016-06-11).
* apps/netutils/esp8266/: CONFIG_SERIAL_TERMIOS must be defined in
order to set BAUD (2016-06-11).
* Change dbg() and vdbg() to err() and info() (2016-06-11).
* Change some *err() message to *info() messages if what was a *dbg()
message does not indicate and error condition (2016-06-14).
* Add _ to front of debug macros (2016-06-16).
* SYSLOG: Remove llinfo(), *llwarn(), and llerr(). These are no longer
supported in the redesigned syslog() logic (2016-06-20).
* apps/canutils/libcanard: update version. From Paul Alexander Patience
(2016-06-22).
* apps/examples/can: Some variables were not declared in all required
cases. From Sebastien Lorquet (2016-06-23).
* apps/gpsutils/minmean: Fix minmea Makefile to find the libapp at the
apps/. From Alan Carvalho de Assis (2016-06-23).
* apps/canutils/canlib: Basic CAN utility library. From Sebastien Lorquet
(2016-06-24).
* apps/nshlib/Kconfig: Move some NSH settings out of nuttx/configs/Kconfig
to here. Why was it in the NuttX tree (2016-06-24).
* apps/platform/olimex-stm32-e407: Add platform files for Olimex STM32
E407. From Mateusz Szafoni (2016-06-27).
* apps/system/hex2bin: Move the portable library portion of hex2bin to
nuttx/libc/hex2bin where it can be shared with the OS internals
(2016-06-27).
* apps/nshlib: 'ps' command now prints out the stack usage if stack
coloration is enabled. From Frank Benkert (2016-06-30).
* All inclusion of apps/ header files were removed from the nuttx/
repository. This caused a lot of reshuffling of logic: binfmt pcode
support, usbmonitor is now a kernel thread, TZ/Olson database moved to
libc/zoneinfo (2016-06-29).
* apps/include directory structure reorganized. There are no longer any
header files in the apps/include/. directory. Rather, sub-directories
were added to match the partitioning of apps/ sub-directories and the
header files were moved into the appropriate sub-directory. This
change is intended to help with some changes be considered by
S<>bastien Lorquet (2016-07-01).
* apps/nshlib: Allow stack usage to be disabled on constrained systems.
From David Sidrane (2016-07-01).
* apps/examples/canard: Add canard example application. From Matthias
Renner (2016-07-08).
* apps/builtins: exec_builtin was not using the provided open flags. As
a result >> redirection was not working (2016-07-10).
* apps/netutils/ntpclient: The NTP client will now optionally use
pool.ntp.org as the NTP server; and reset the retry count upon success
-- more robust. From David Alessio (2016-07-10).
* apps/nshlib/nsh_proccmds.c: Recent enhancements to cmd_ps trips a
floating point exception if LIBC_FLOATINGPOINT is not defined (at
least on Cortex M4 w/ hardfloat). I<>m using a buildroot gcc
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. I<>m not sure the best way to address this, but the
this chage is the first that comes to mind. Note, I added the float
qualifier <20>F<EFBFBD> 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
Alessio (2016-07-10).
* Call all includes fronm <apps/bla/bla.h> to "bla/bla.h". From
Sebastien Lorquet (2016-07-11).
* Build System: Add apps/include to include path in top-level
Make.defs file. Remove multiple definitions of INCDIR opt
(2016-07-11).
* apps/netutils, uIP webserver: Fix a data declaration in a header file
(2016-07-11).
* apps/nshlib: In ps command, don't show stack usage if
CONFIG_STACK_COLORATION is not enabled (2016-07-13).
* apps/netutils/esp8266: In Kconfig, select ARCH_HAVE_NET when
NETUTILS_ESP8266 is selected. This allows, among other things,
support for network debug output. From Pierre-noel Bouteville
(2016-07-14).
* apps/nshlib: PS Command: When Priority Inheritance is enabled, the
format of /proc/<PID>/status changes to show both the current priority
and the thread<61>s base priority. This messes up the format of cmd_ps.
From David Alessio (2016-07-15).
* apps/examples/pty_test: PTY test program. From Alan Carvalho de Assis
(2016-07-15).
* apps/examples/media: media example was intended to take either a
command line argument, or a compiled-in default value from config.
However, the default was ignored, leading to confusing error messages.
From ziggurat29 (2016-07-17).
7.18 2016-10-08 Gregory Nutt <gnutt@nuttx.org>
* apps/canutils/libuavcan: Under certain circumstances, DELIM make not
be defined in Makefile (2016-07-28).
* Add the dirlinks target to some Makefiles. This plugs some holes
opened by last chicken-and-egg build fix (2016-07-28).
* apps/examples/gpio: Add a simple test of the GPIO driver (2016-08-01).
* Add definition for APPNAME in apps/canutils/canlib. From Sebastien
Lorquet (2016-08-01).
* Add DIRLINK and DIRUNLOBK tool definitions to Make.defs (2016-08-02).
* apps/exmples/gpio: Should not claim an error if we are only asked to
read an output pin (2016-08-03).
* apps/nshlib/: Fix FIFO_SIZE vs PIPE_SIZE (2016-08-04).
* apps/examples/rfid-readuid: Add RFID_READUID sample application. From
Alan Carvalho de Assis (2016-08-06).
* apps/interpreters/minibasic: Add a port of Mini Basic, version 1.0,
written by Malcom McLean and released under the Creative Commons
Attribution license (2016-08-11).
* apps/examples: Add Oneshot timer example (2016-08-12).
* apps/system/tee: Port tee command from NetBSD (2016-08-12).
* apps/examples/oneshot: If the requested delay is > max_delay, then
break the delay up into several pieces (2016-08-15).
* apps/examples/oneshot: A thought about how we might improve accuracy
of long delays (2016-08-15).
* nshlib/Kconfig: Fix hex representation of IP address. Noted by
Michal Lyszczek (2016-08-19).
* apps/gpsutils: Fix an error min minmea. From Aleksandr Vyhovanec
(2016-08-24).
* apps/nshlib/nsh_syscmds.c: missing semicolon. From Mateusz Szafoni
(2016-08-25).
* 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
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).
* apps/nshlib: Add printf command to NSH, e.g., controlling
/dev/userleds from command line: nsh> printf \x01 > /dev/userleds.
From Alan Carvalho de Assis (2016-10-01).
* apps/platform: Add support for STM32L476-MDK (2016-10-06).
* apps/nshlib: Don't try to flush output streams if stdio buffered
I/O is not supported (2016-10-06).
7.19 2016-10-08 Gregory Nutt <gnutt@nuttx.org>
* Rename examples/buttons to examples/archbuttons. From Alan Carvalho
de Assis (2016-10-11).
* Add a new buttons example that uses the button character driver
instead of the architecture buttons directly. From Alan Carvalho de
Assis (2016-10-11).
* apps/nshlib: nsh_getdirpath(), use snprint instead of sprintf to avoid
possibility of buffer overrun. Noted by Chung Hwan Kim (2016-10-11).
* examples/cctype: Add an example to verify cctype functions
(2016-10-22).
* Add platform support for the ESP32 core v2 board (2016-10-31).
* Modbus Master is missing many files and doesn't compile at all. More
details in https://groups.yahoo.com/neo/groups/nuttx/conversations/topics/13734.
From Vytautas Lukenskas (2016-11-03).
* graphics/traveler/tcledit and libwld: Add an X11 Tcl/Tk tool that can
be used to edit Traveler world files (2016-11-12).
* platform/esp32-core: Fix some naming that prenvented building the C++
support (2016-11-14).
* Make.defs: Using wrong link script if native window tool used with
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
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
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
NX server kernel thread (2016-12-01).
* Remove RGMP example (2016-12-02).
* Remove some garbage characters added by error. From Pierre-Noel
Bouteville (2016-12-04).
* netutils/ntpclient: Fix missing left parenthesis. From Pierre-Noel
Bouteville (2016-12-04).
* Import patch to fix:cJSON_PrintUnformatted() behaves unexpected if an
empty array shall be printed to text. from Jerome Lang 2012-04-19.
From Pierre-Noel Bouteville (2016-12-04).
* esp8266 update cosmetic and many bug fix. From Pierre-Noel Bouteville
(2016-12-04).
* fix bug un ftpd file or socket may be not closed. From Pierre-Noel
Bouteville (2016-12-04).
* Remove all usage of BOARDIOC_ADCTEST_SETUP, BIOARDIOC_PWMSETUP
(2016-12-05).
* Remove BOARDIOC_CAN_INITIALIZE. CAN initialization is now done in the
board initialization logic just like every other device driver
(2016-12-06).
* Add support for new scheduler instrumentation (2016-12-07).
* examples/ostest: Extend the pthread cancellation test to exercise
pthread_cleanup_push() (and pthread_cleanup_pop() indirectly via
pthread_cancel() and pthread_exit() (2016-12-08).
* examples/ostest: Add some delays to the pthread cancellation test.
With deferred cancellation enabled, things happen more asynchronously
(2016-12-10).
* OS test: enhance pthread cancellation test some (2016-12-11).
* Remove std_readline(). This called up_getc() and up_putc() directly,
violating the POSIX OS interface (2016-12-13).
* NSH: dd command will show statistics. From Masayuki Ishikawa
(2016-12-19).
* Add platform support for the Olimex STM32 P407 (2016-12-21).
7.20 2017-03-08 Gregory Nutt <gnutt@nuttx.org>
* OS test: Was ignoring CONFIG_EXAMPLES_OSTEST_FPUTESTDISABLE (2016-12-29).
* apps/examples/nxtext: Make line spacing configurable (2017-01-03).
* apps/graphics/traveler/tools: Fix linkage issue. The -lm should come
after -o binname. From Alan Carvalho de Assis (2017-01-07).
* apps/system/zmodem/host/nuttx/compiler.h synchronized with
nuttx/nuttx/include/nuttx/compiler.h. From Aleksandr Vyhovanec
(2017-01-09).
* examples/sotest: Add a test for shared libraries (2017-01-23).
* examples/ostest: Add new error print and modify comments in cancel
test. From Juha Niskanen (2017-01-24)
* In apps/examples/mtdpart/mtdpart_main.c where
CONFIG_EXAMPLES_MTDPART_NPARTITIONS defining is checked should be
#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).
* 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
statfs() (2017-02-13).
* strcasecmp, strncasecmp, bzero, bcmp, and bcopy should be defined in
strings.h, not string.h. bzero, bcmp, and bcopy are legacy functions;
the contemporary counterparts should be used instead (2017-02-16).
* examples/stat: Add test for fstatfs() (2017-02-17).
* C files that reference ANIOC_TRIGGER now need to include
nuttx/analog/ioctl.h (2017-02-25).
* Add platform files for nucleo-f334r8. From Mateusz Szafoni (2017-02-26).
* NSH: Eliminate a warning when all memory inspection commands are
disabled (2017-02-27).
* netutils/webserver: Needs to include strings.h for strcasecmp()
(2017-02-27).
* nxplayer: Needs to include strings.h for strcasecp() (2017-02-27).
* Remove an unused variable when calling sigwaitinfo() and
sigtimedwait(). From Masayuki Ishikawa (2017-03-02).
* The CONFIG_NETUTILS_HTTPD_PATH constant is used by httpd_mmap.c and
httpd_sendfile.c but It was not present in Kconfig menu. From Maciej
W<>jcik (2017-03-05).
7.21 2017-06-05 Gregory Nutt <gnutt@nuttx.org>
* Add c++ platform/bambino-200e with C++ initialization. From Alan
Carvalho de Assis (2017-03-08).
* increase number of supported PWM channels from 4 to 6. From Andreas
Bihlmaier (2017-03-09).
* NSH library: In nsh_argexand(), if CONFIG_NSH_ARGCAT is defined but
CONFIG_NSH_CMDPARMS defined and/or CONFIG_DISABLE_ENVIRON not
defined, then there is a situation that causes an infinite loop in
the parser. Noted by Freddie Chopin (2017-03-09).
* apps/examples/hidkbd: Remove call to arch_usbhost_initialize().
That is violation of the OS interfacing rules and will no longer be
supported. USB host should be initialized as part of the normal
board bring-up logic as with any other devices and should not involve
illegal calls from applications into the OS (2017-03-09).
* apps/examples/usbterm: Removed because it is not very useful and
because it can be configured to use an illegal call into the OS
(2017-03-09).
* netutils/netlib: Add one wireless IOCTL wrapper. For now, this is
just a test to be sure that the wireless IOCTL definitions are in
place (2017-03-13).
* netutils/nshlib: Add wrapper to get the wireless ESSID (2017-03-13).
* Adds a test program for the XBox One controller driver (xbc_test).
From Brian Webb (2017-03-18).
* built-in libc defect workaround: replace '%6.6u' format with an
equivalent '%06u'. From Tomasz Wozniak (2017-03-21).
* Clicker-STM32: Add platform directory w/ C++ support (2017-03-22).
* examples/ostest: Add a test of robust mutexes (2017-03-26).
* examples/ostest: Robust mutex test needs to call
pthread_mutexattr_setrobust() (2017-03-27).
* Rename CONFIG_MUTEX_TYPES to CONFIG_PTHREAD_MUTEX_TYPES (2017-03-27).
* examples/mm: Fix Makefile. Built-in was not being registered
(2017-03-28).
* nshlib: fix building when CONFIG_NET_USRSOCK enabled with other
link-layer. From Jussi Kivilinna (2017-03-31).
* Add examples/usrsocktest application for USRSOCK testing. From Jussi
Kivilinna (2017-04-03).
* NSH: Fix some warnings about integer/pointer casts of different sizes
(probably only effects 64-bit simulation) (2017-04-03).
* examples/nettest: Trying to adapt to use for testing 6LoWPAN
(2017-04-03).
* examples/nettest: If doing loopback, but not using the official
loopback device, then use the server should use the configured client
IP address (2017-04-04).
* Added support for set [{+|-}{e|x|xe|ex}] [<name> <value>]. Set the
'exit on error control' and/or 'print a trace' of commands when
parsing scripts in NSH. The settinngs are in effect from the point
of exection, until they are changed again, or in the case of the init
script, the settings are returned to the default settings when it
exits. Included child scripts will run with the parents settings and
changes made in the child script will effect the parent on return.
Use 'set -e' to enable and 'set +e' to disable (ignore) the exit
condition on commands. The default is -e. Errors cause script to
exit. Use 'set -x' to enable and 'set +x' to disable (silence)
printing a trace of the script commands as they are ececuted. The
default is +x. No printing of a trace of script commands as they are
executed. From David Sidrane (2017-04-05).
* Print expanded variables if -x. From David Sidrane (2017-04-05).
* examples/udpblaster: Several fixes to work with 6LoWPAN (2017-04-06).
* examples/udpblaster: Add logic to bind the local UDP socket to a
well-known address (2017-04-06).
* 6LoWPAN: Add network IOCTL support to set the node address
(2017-04-06).
* examples/ostest: Add tests for pthread_rwlock. Adding tests to be
used to verify the pthread_rwlock lock works. From Mark Schulte
(2017-04-07).
* Remove CONFIG_PTHREAD_RWLOCK. Rwlock interfaces built
unconditionally (2017-04-07).
* examples/ostest: pthread rwlock additional tests and bugfixes. From
Mark Schulte (2017-04-07).
* netutils: Add a helper function to convert a string to a 6LoWPAN node
address (2017-04-08).
* NSH library: Extend ifconfig to support 6LoWPAN. Adapt to some
changes in configuration variable usage (2017-04-08).
* NSH set command: Eliminate useless argc check of SCRIPTS are enabled
but ENVIRONMENT is disabled (2017-04-09).
* examples/ostest: additional test for rwlock and one for cancel
cleanup handlers. From Juha Niskanen (2017-04-10).
* 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
(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)
listing of all routes (2017-04-10).
* Beginning real design of wapi application based on Wapi sample code
(2017-04-10).
* wireless/wapi: Re-write of wapi tool UI (2017-04-11).
* examples/ostest: clarify when pthread clean-up test mutex need to
remain usable. From Juha Niskanen (2017-04-12).
* examples/hidkbd: Add some missing configuration settings (2017-04-18).
* NSH library: Fix open flags in nsh_codeccmd.c. From Masayuki
Ishikawa (2017-04-19).
* netlib and NSH: Add logic to set the IEEE802.15.4 PAN ID (2017-04-18).
* wireless/ieee802154: Starts framing out iwpan tool, similar in
concept to wapi. From Anthony Merlino (2017-04-20).
* ieee802154: Move non-radio files from libradio to libutils. Add
ieee802154_getpanid() (2017-04-21).
* wireless/ieee802154: Beginning of support for IEEE 802.15.4 MAC
library (2017-04-21).
* wireless/ieee802154/libmac: Finishes all defined MAC IOCTL helpers
(there are a few that are not defined) (2017-04-21).
* netlib: Get and/or set PAN ID of IEEE 802.15.4 radio (2017-04-21).
* wireless/ieee802154: libaudio and libmac need to return the correct
error codes (2017-04-22).
* nshlib: nsh_netcmds.c should include netlib.h even if neither TCP nor
UDP are enabled (2017-04-25).
* apps/wireless/wapi: Correct an error in dependency generation
(2017-04-25).
* examples: random: avoid stack overflows. From Juha Niskanen
(2017-04-26).
* wireless/wapi: Improve error reporting IOCTL failures (2017-04-26).
* I need to look at the registers that are at or around 0xe000ef90.
Using mw and xd, I see that nsh does not support pointers greater
than 0x7fffffff. A quick look at the source shows that the pointers
for those two commands are set with calls to strtol() rather than
strtoul(). Changing the two pointer-setting instances to strtoul()
fixes the problem, at least for my architecture/config. From Ian
McAfee (2017-04-26).
* NSH: Needs to include tftp.h if TFTP not disabled (2017-04-29).
* netutils/dhcpc: Make the network device name a configuration
option. Was hardcoded to eth0 but may, instead, need to be wlan0
(2017-05-02).
* nshlib/nsh_netinit.c: If IEEE802.11 selected use wlan0 instead of
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).
* 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).
* wireless/wapi: wpa_driver_wext_associate() now accepts a
configuration parameter that can be used to specify the wireless
properties (2017-05-06).
* nshlib: NSH now has configuration options to select the
wireless properties. It builds the configuration structure and
passes this to wpa_driver_wext_associate() so that it will set the
network as configured (2017-05-06).
* Add platform files for nucleo-l452re and nucleo-l496zg. From Juha
Niskanen (2017-05-08).
* wireless/ieee802154: Adds rxonidle attribute helpers. From Anthony
Merlino (2017-05-08).
* wireless/ieee802154: Adds sniffer functionality back in to I8SAK
app. From Anthony Merlino (2017-05-08).
* NSH wireless setup: Move call to nsh_associate(). It should be
possible to associate with an AP when DHCPC is disabled (2017-05-09).
* Fix some calls to task_create(): argv[0] is the first parameter, not
the name of the task (2017-05-09).
* wireless/ieee802154: Restructures i8sak app and adds blaster
functionality. From Anthony Merlino (2017-05-09).
* examples/configdata: add stacksize and priority. From Juha Niskanen
(2017-05-10).
* Bitbucket Issue 5: I found an unexpected behavior in apps/
configuration generation. Adding external symbolic link in apps/
directory and using Make.defs for Kconfig generation, Kconfig file
has a wrong path in the source argument. It contains original dir
path outside of the source tree instead path to sub-directory in
apps/. The problem is connected with make/system symbolic link path
resolution. Corrected by a patch submitted by Artur Madrzak with
Issue 5 (2017-05-11).
* Bitbucket Issue 5, apps build system: The previous patch wasn't
complete, it was just idea how to resolve issue. Please, find
attached issue5.patch to resolve it. It can be applied on top current
apps/master. From Artur Madrzak (2017-05-12).
* Fix the new can.h header location. From Alan Carvalho de Assis
(2017-05-12).
* Fix libcanard github download link to get it compiling correctly.
From Alan Carvalho de Assis (2017-05-12).
* Fix to use the new canardInit() function. From Alan Carvalho de
Assis (2017-05-12).
* apps/platform: Create gnu/ subdirectory that contains the one and
only GNU C++ initialization function. Remove all other C++
initialization functions (2017-05-13).
* Move up_cxxinitialize() prototype from nuttx/include/nuttx/arch.h to
apps/include/platform/cxxinitialize.h (2017-05-13).
* apps/examples/nettest: Fix an error in pre-processor expression
(2017-05-13).
* 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[]
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
CONFIG_EXAMPLES_CAN_READ is defined. From Alan Carvalho de Assis
(2017-05-17).
* apps/: Make more globals static to avoid name clashes. From Juha
Niskanen (2017-05-19).
* Ensure netlib will not be broken when setip will not bring the
network up anymore. From Sebastien Lorquet (2017-05-19).
* DHCPC: Remove hard-coded interface device. Now passed as a parameter
to dhcpc_open(). From Sebastien Lorquet (2017-05-19).
* nshlib: Fix a resource leak in cmd_hexdump(). From Nobutaka
Toyoshima (2017-05-22).
* wapi: add basic wapi_event_stream_extract implementation. From Simon
Piriou (2017-05-21).
* apps/system/dhcpc: Add a command to renew or establish a lease on an
IPv4 address (2017-05-21).
* apps/system/ntpc: Add a command to start or stop the NTPC daemon
(2017-05-21).
* apps/system/dhcpc: Add missing argument of fprintf (2017-05-21).
* apps/nshlib: Add a new option CONFIG_NSH_NETLOCAL that will suppress
some built in operations and will support manual configuration of a
wireless network (2017-05-21).
* apps/system/ramtest: Make stacksize and priority conigurable
(2017-05-22).
* The dedicated windows tool at tools/mkkconfig.bat uses $APPSDIR,
which is not a windows shell variable, and is left uninitialized, but
in fact should be the current directory. From Sebastien Lorquet
(2017-05-22).
7.22 2017-09-06 Gregory Nutt <gnutt@nuttx.org>
* apps/system/composite: Update to apps/system/composite assocated with
big changes to the composite device logic. From Frank Benkert
(2017-06-01).
* wireless/ieee802154: Modifies i8 to support running various routines.
From Anthony Merlino (2017-06-14).
* wireless/ieee802154: Rewrites i8sak to be test CLI for IEEE 802.15.4
MAC layer. From Anthony Merlino (2017-06-14).
* NSH network initialization: Fix some ieee 802.15.4 initialization
logic. It should not set the saddr or panid; those cannot be
hard-coded but must come from the coordinator. Re-factor a function
that has gotten too big and too complex. Do not set the IP address
for 6loWPAN. The 6loWPAN stack uses IP address that derive from the
ieee 802.15.4 addressing and cannot be (safely) configured by the
user (2017-06-17).
* i8sak: Missing newline in fprintf output (2017-06-18).
* correct copy-paste typo in comments in composite_main.c From Oleg
Evseev (2017-06-18).
* Switches IEEE 802.15.4 based code to using byte arrays instead of
uint16_t values for short address and PAN ID. From Anthony Merlino
(2017-06-19).
* fix copy-paste typo in nsh_usbconsole.c. From Oleg Evseev
(2017-06-19).
* examples/udp: Add configurable network device name; Add option to
suppress network initialization which is not needed if started by NSH
or for 6LoWPAN (2017-06-19).
* nshlib: fix size of 6LoWPAN extended address (2017-06-18).
* examples/udp: Fix registration as a built-in program; Change some
naming to make room for a second target. Current one endpoint is the
target and one is the host. This will (eventually) allow two targets
to be both endpoints of the test. Change build so that both server
and client can be on a target, rather than one on the target one on
the host PC. Server IP address may not be provided on the command
line (2017-06-19).
* examples/smart: Fix some compilation errors. Obviously this test has
not been used in a LONG time (2017-06-20).
* examples/udp: Port numbers need to be configurable to work with
6LoWPAN. Need to bind the client socket to a port number. This was
not required before so is a apparently a change in the UDP packet
dispatch logic (2017-06-20).
* ieee802154: Changes to support beacon-enabled networks. From Anthony
Merlino (2017-06-21).
* wireless/ieee802154: Adds option to make it easy to send large frame
for testing purposes. From Anthony Merlino (2017-06-21).
* examples/udp: Renaming some files to prevent name collision in
libapps.a. Fix naming of a configuration setting (2017-06-23).
* examples/nettest: Renaming some files to prevent name collision in
libapps.a and to prepare to support target boards on both ends of the
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
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
naming problems. Noted by Masayuki Ishikawa (2017-06-23).
* examples/nettest: Fixes for building with loopback device again after
the last changes (2017-06-23).
* examples/nettest: The send buffer size is now a configuration option
(2017-06-24).
* examples/udp and examples/nettest: Fix some naming collisions;
examples/nettest: Fix some build issues with two targets
(2017-06-25).
* ieee802154: Adds scan command. From Anthony Merlino (2017-06-25).
* ieee802154: Minor fix to setup logic for i8sak. From Anthony Merlino
(2017-06-25).
* 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
(2017-06-26).
* NSH library: Add a Telnetd command. This is needed when network
initialization is deferred. In that case, telnet daemon cannot be
started until the network is finally initialized. The telnetd
command was added just for that case: So that the telnet daemon can
be started from the NSH command line after the network is configured
(2017-06-26).
* revise some of the state handling in the previous commit
(2017-06-26).
* system/telnet: POLL must not be disabled in configuration. Telnet
client port argument is no optional (2017-06-27).
* netutils/telnetd and users of telnetd: Add support for IPv6
(2017-06-27).
* ieee802154/i8sak: Adds coordinfo command allowing you to poll various
attributes related to the coordinator. From Anthony Merlino
(2017-06-27).
* i8sak: Need to increment the next_saddr after each successful
association (2017-06-29).
* i8sak: Add a option to retry on failures to the assoc command
(2017-06-29).
* apps/examples/thttpd: Remove the netstats demo. This depends on an
illegal function call and cannot be supported. That example could be
replaced with logic that uses the procfs network entries as was done
for NSH which had the same issue. But I am too lazy to implement
that (2017-07-01).
* i8sak: Adds reset command to reset the MAC layer. Adds option to
assoc command -t to specify how long to wait for a response from the
Coordinator. From Anthony Merlino (2017-07-01).
* Eliminate a warning when both Ethernet and 6LoWPAN are enabled;
improve some naming (2017-05-02).
* ieee802154: Adds reset command, adds resp_waittime option to
associate, and a few other minor tweaks. From Anthony
Merlino(2017-07-02).
* NSH library: Fix build break in nsh_command.c with IPv4/IPv6 dual
stack. From Masayuki Ishikawa (2017-07-04).
* 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
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
in this batch file (2017-07-05).
* system/dhcpc: Fix warning about renew_main.o appear twice in rule
(2017-07-05).
* tools/mkkconfig.bat: Remove quotes in echo. These were begin
Echo'ed and generating double quots in the output. From Jeff
(2017-07-05).
* Windows build fixes: tools/mkkconfig.bat - switch APPSDIR path to
use forward slashes for kconfig-frontends. interpreters/ficl -
Reorder some targets that causes GNUwin32 make to behave badly. From
Jeff (2017-07-06).
* platform/Makefile: More attempts to fix for Windows native build.
Backslash as a delimiter causes problems in pattern subsitutions
(2017-07-06).
* apps/examples/ipforward: Add beginning of an IP forwarding example
using only TUN devices. Test extended to test forwarding of ICMPv6
multicast messages. Completes code for apps/examples/ipforward.
Still untested (2017-07-09).
* apps/netutils/tftpc: Missing header file causes errors in some
configurations (2017-07-10).
* Socket I/F: Cleanup for good CONFIG_NET_PKT build (2017-07-14).
* netutils/netlib: Fixes to work when only USRSOCK is enabled
(2017-07-14).
* apps/system/composite: Remove CDC/ACM and MSC configuration logic.
This belongs in the OS composite initialization. Add and argument so
that you can select the USB composite configuration to be attached.
Restore USB tracing; remove unused field in a structure. Remove
configuration settings that are no longer used. Fix configuration
selecting.. was setting the port number, not the configure ID. Also
add a configuration option to select the default configuration
(2017-07-15).
* apps/system/composite: Add a configuration option to the boardctl()
calls to support multiple composite device configurations dynamically
(2017-07-16).
* i8sak: Minor formatting fix. From Anthony Merlino (2017-07-10).
* wireless/ieee802154/i8sak: Minor setting changes. From Anthony
Merlino (2017-07-17).
* ieee802154/i8sak: Adds command to trigger regdump of radio. From
Anthony Merlino (2017-07-18).
* apps/system/composite: Remove references to USBMSC. There still
dependencies on CDC/ACM in the serial USB trace output. That really
should be removed (2017-08-21).
* netutils/ftpc: Fix some memory leaks. From Boris Astardzhiev
(2017-07-27).
* Implement powermonitor example for ltc4151 current and voltage
monitor. From Giorgio Gro<72> (2017-07-28).
* NSH: Misc changes needed for PktRadio support (2017-07-30).
* examples/nettest/: Loopback option should be available in Kconfig
for PktRadio (2017-08-01).
* 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).
* 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
the IP address (2017-08-02).
* apps/examples/udp: Enable testing with the broadcast address
(2017-08-08).
* Remove references to obsoleted CONFIG_NETDEV_MULTINIC and
CONFIG_NETDEV_MULILINK (2017-08-08).
* NSH library: Update addroute and delroute command. The would
support either IPv4 or IPv6, but not both. Allow expression of the
netmask in IPv4 CIDR or IPv6 slash notation. This really reduces the
pain of using the commands, especially for IPv6 (2017-08-10).
* NSH Library: Add a route command that will dump the content of
routing table (2017-08-11).
* apps/netutils/tftpc depends on CONFIG_NET_IPv4 (2017-08-12).
* Application.mk: Add the .PRECIOUS target to prevent libapps.a from
being deleted when the make is interrupted (2017-08-12).
* apps/examples/nximage: Remove unused global variable (2017-08-12).
* netutils/thttpd: Fix a malformed if condition detected by GCC 6.x.x
(2017-08-12).
* All Makefiles: Add .PRECIOUS: apps/libapps.a to every Makefile.
Hopefully this will end awkward problems when you Control-C out of a
build and libapps.a is deleted (2017-08-13).
* The last change added .PRECIOUS: $(BIN) to everyway Makefile in hopes
the libapps.a will not be deleted on Control-C (unproven so far).
However, $(BIN) may contain back slashes in some build platforms and
that causes problems for make: It can't handle the backslashes in
the .PRECIOUS dependency list. $(BIN) replaced with ../../libapp.a,
where the number of ../ depends on the depth of the Makefile in the
apps/ source tree (2017-08-13).
* netutils/netlib: Add a helper to decode short addresses
(2017-08-18).
* apps/examples/pf_ieee802154: Add for testing PF_IEEE802154 sockets.
Add PANID to command line options; Cannot bind to address zero...
There is no counterpart to INADDR_ANY for these radios (not now at
least) (2017-08-19).
* Changes to netlib and nsh so that you build build with PF_IEEE802154
enabled and 6LoWPAN disabled (2017-08-20).
* netutils/netlib: If only PF_IEEE802154 socket family is enabled, then
must use SOCK_DGRAM (2017-08-21).
* NSH: Add conditions so that ifconfig and ifup will not be disabled
if we are using only PF_IEEE802154 (2017-08-21).
* dhcpd: Prevent buffer overflow in dhcpd_addoption. offset represents
distance from start of option buffer. So this should be changed
current option pointer minus start of buffer. From EunBong Song
(2017-08-25).
* apps/examples/nsh: Remove APPNAME, PRIORITY, and STACKSIZE settings
from Makefile to avoid showing nsh in Builtin Apps. From Masayuki
Ishikawa (2017-08-26).
* examples: add DAC example. From Juha Niskanen (2017-09-1).
7.23 2017-12-04 Gregory Nutt <gnutt@nuttx.org>
* examples/ostest: sem_open() now returns SEM_FAILED in the event of a
failure (2017-09-08).
* examples/adc: Fix g_adcstate.count initialization. From Masayuki
Ishikawa (2017-09-11).
* examples/fb: Flesh out the framebuffer driver test. examples/fb:
Add a simple test for the framebuffer character driver. This initial
commit just verfies some interfaces and initialization logic. Still
need to add to graphics update logic (2017-09-12).
* Rename CONFIG_AUDIO_DEVICES to CONFIG_DRIVERS_AUDIO to conform better
to the evolving configuration naming standard (2017-09-12).
* examples/fb: Extend test to include 1-bpp monochrome (2017-09-13).
* Added a simple reader example for the LIS3DSH acceleration sensor on
STM32F4Discovery. From Florian Olbrich (2017-09-14).
* wireless/ieee802154/i8sak: Adds socket interface support. You can now
use both socket or char driver to control the MAC layer. From Anthony
Merlino (2017-09-15).
* wireless/ieee802154/i8sak: Fixes several bugs. Adds sniffer port
option and a few other get/set parameters. From Anthony Merlino
(2017-09-15).
* i8sak: Updates README to include details about socket interface and
new addressing setup and fixes warning. Fix warning about
uninitialized variable. From Anthony Merlino (2017-09-15).
* apps/examples/apa102: Add a Rainbow example for APA102 LED Strip.
From Alan Carvalho de Assis (2017-09-18).
* netutils/netlib: Add netlib_ipv6adaptor() and netlib_ipv4adaptor()
(2017-09-19).
* netlib_ipv[4|6]adaptor: Add a check to handle the case where the
network device configuration changed asynchronously and the second IOCTL
returns more data than the allocated buffer (2017-09-20).
* apps/netutils/netlib: Add helpers for reading the routing table:
netlib_read_ipv4route() and netlib_read_ipv6route() (2017-09-20).
* apps/netutils/netlib: Add new utilities netlib_ipv[4|6]router() that
can be used to determine the IP address of a router that would be used
some some destination IP address that is not locally accessible
(2017-09-20).
* apps/netutils/netlib: netlib_ipv[4|6]adaptor() will now use the new
routing table interfaces if they are available: If the destination IP
address does not correspond to the network served by any device, then
the address of the router that should get us to the correct sub-net is
is determined. Then the network adaptor that can communicate with the
that router has the IP address that will returned (2017-09-20).
* apps/examples/flowc: Add a simple test of serial hardware flow control
(2017-09-23).
* apps/examples/qencode: The QENCODER name was changed to
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='
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
From Bruno Herrera (2017-09-25).
* nshlib/nsh_netcmds.c: Fix a compilation error when IPv4/IPv6 dual
stack is enabled. From Masayuki Ishikawa (2017-09-26).
* apps/examples/flowc: Add a delay between received packets in order to
force input flow control (2017-09-26).
* apps/examples/flowc: Fix some errors in receiver's verificationg
logic. Add a 'canned' data file so that we don't need to deal with the
sender program; we can just 'cat' the canned data file (2017-09-26).
* apps/examples/flowc: Add some syslog output to flush the syslog
interrupt buffer (2017-09-27).
* apps/examples/flowc: Small improvement to break line if more than 80 .
were printed. From Alan Carvalho de Assis (2017-09-27).
* apps/examples: In elf and nxflat examples, remove low-level
interfaces and replace with call to exec() (2017-10-02).
* examples/elf and nxff: Won't build with CONFIG_BUILD_KERNEL because
the interface exec() is not available in that configuration. Also,
remove a stray comma and a stray semacolon in examples/pty_test/Kconfig
and examples/random/Kconfig (2017-10-06).
* Add powerled driver example. From Mateusz Szafoni (2017-10-08).
* examples/ostest: Works around a bug in printf() when cancellation
points are enabled. printf() is a cancellation point because it calls
write(). This is correct according to OpenGroup.org. However, printf
holds the stdio library semaphore when it is canceled and this leaves
the semaphore in a bad state. No fix for the printf bug yet (2017-10-10).
* examples/ina219: A simple infinite loop that polls the INA219 sensor
and displays the measurements. From Sebastien Lorquet (2017-10-11).
* examples/ostest: Extend cancellation test to make sure that cancelable
threads waiting on a message queue or on a signal can be canceled
(2017-10-12).
* netutils/ftpc: Fix some crazy comparisons to determine is a file is
an absolute path. Noted by Anthony Merlino (2017-10-13).
* examples/nx: The NX example no longer supports single user mode
(2017-10-14).
* examples/nxtext: The nxtext example no longer supports single user
mode (2017-10-14).
* examples/lcdrw: Remove this example. It violates the portable OS
interface and cannot be retained (2017-10-14).
* graphics/traveler: Restore most of what was removed in the previous
commit. That non-standard logic is currently needed by the simulation.
It should be replaced with use of a framebuffer driver. No longer
supports single user graphics mode (2017-10-14).
* examples/nxhello now supports only multiuser mode (2017-10-14).
* examples/nximage now supports only multiuser mode (2017-10-14).
* system/lm75: Fix a naming error in a dependency. From Alan Carvalho
de Assis (2017-10-14).
* examples/nxlines now supports only multiuser mode (2017-10-14).
* exampls/nxhello: Increase the amount of time that the text is
displayed before erasing it (2017-10-15).
* Add -n samples to lm75 app and replace Centigrade with Celsius. From
Alan Carvalho de Assis (2017-10-15).
* graphics/traveler: Convert to use the framebuffer driver (2017-10-16).
* examples/alarm: add options for reading alarm value and canceling it.
From Juha Niskanen (2017-10-17).
* apps/fsutils/mkfatfs: Move mkfatfs from the OS to here. Not fully
integrated on the intial commit (2017-10-20).
* apps/examples/adps9960: Add ADPS-9960 example. From Alan Carvalho de
Assis (2017-10-23).
* This commit eliminates the ping command from NSH and replaces it with
a ping 'built-in' at apps/system/ping. The original NSH version of ping
violated the portable POSIX interface and, hence, had to be removed.
The new system/ping command uses the new IPPROTO_ICMP AF_INET datagram
sockets to implement ping (2017-10-23).
* apps/system/ping6: Use inet_ntop() to improve the appearance of the
ping6 IPv6 address output. Fix a typo and also a place where = used
when == intended. This commit removes the ping6 command from NSH and
replaces it with the apps/system/ping6 built-in command. The NSH ping6
command had to be removed because it violated the portable POSIX OS
interface. The apps/system/ping6 command uses the sem-standard
IPPROTO_ICMP6 socket interface (2017-10-24).
* apps/nshlib: ifconfig improvements. From Anthony Merlino (2017-10-24).
* nshlib: mount command no long uses the non-standard OS interface
foreach_mountpoint(). Now simply cats /proc/fs/mount when there are no
arguments to the mount command (2017-10-26).
* nshlib: df command no long uses the non-standard OS interface
foreach_mountpoint(). Now simply cats /proc/fs/blocks or /proc/fs/usage
(2017-10-26).
* Fix parsing of empty strings when CONFIG_NSH_CMDPARMS is not defined.
Problem noted by Juha Niskanen (2017-10-27).
* apps/canutils/libobd2: Add libobd2 for NuttX. From Alan Carvalho de
Assis (2017-10-28).
* apps/examples/obd2: Add OBD2 example application. From Alan Carvalho
de Assis (2017-10-28).
* include/netutils/netlib.h: Broaden socket definitions of previous
commit. Add definitions needed when only local Unix domain sockets are
supported (2017-10-30).
* apps/examples/userfs: Add a test case for verifying UserFS
(2017-10-31).
* Fixed i2ctool write operation in `no restart` mode (flag `-n`). It
seems that I2C driver has changed a bit since i2ctool was written, so
now i2ctool sends repeated start even if `no restart` flag (-n) was
passed to it. From Dmitriy Linikov (2017-11-01).
* Fixed misprint in cmd_wget. From Dmitriy Linikov (2017-11-01).
* apps/examples/userfs: Fix bad logic in test stat() implementation
(2017-11-01).
* i8sak: Changes 'notif' to 'primitive' corresponding to the changes in
the Kernel. From Anthony Merlino (2017-11-01).
* Adds i8shark, a sniffer "adapter" that captures all 802.15.4 traffic,
packages it into a Wireshark ZEP packet, and sends it to a host running
Wireshark From Anthony Merlino (2017-11-01).
* apps/examples/userfs: Fix check for open with write+append mode
(2017-11-01).
* apps/fsutils/mkfatfs: When fsutils/mkfats was split off from the
operating system, there were a few dangling things left. Some
references to functions in the OS (which are not available in the
protected and kernel modes) and several types and function prototeypes
that don't exist is apps/fsutils/mkfatfs (2017-11-02).
* Fixed the compilation of nsh_routecmds.c, broken after commit
6b9d23c6aa0247c701acf1d0ecdaececf546342a. From Dmitriy Linikov
(2017-11-03).
* include/netutils/netlib.h: In order to avoid pre-processing warnings,
NETLIB_SOCK_FAMILY must always be assigned a value, even if there is no
real meaning value for it (2017-11-03).
* i8sak: Channel setting is now saved locally, so when performing a
startpan or assoc, the channel previously set is still used, even though
the MAC layer gets reset. Also fixes a few build issues. From Anthony
Merlino (2017-11-03).
* examples: add SMPS driver example. From Mateusz Szafoni (2017-11-05).
* smps, powerled examples: fix floating point format in printf. From
Mateusz Szafoni (2017-11-05).
* apps/examples/userfs: Handle the O_TRUNC open flag. Fixes a bug with
double freeing open data when dup'ed files are closed (2017-11-06).
* apps/examples/ltdc: Remove apps/examples/ltdc. It violates the
portable POSIX interface by calling directly into OS code (2017-11-06).
* FTP: Adds support for IPv6 and fixes various transfer issues. From
Anthony Merlino (2017-11-06).
* netutils/ftpc: Eliminate warnings about types of inputs to
netlib_ipv4adaptr() and about ftp_cmd_pasv() being defined but not used
(2017-11-12).
* apps/system/free: Removed because it violates the portable POSIX OS
interface (2017-11-13).
* apps/nshlib: The free commands no longer used mallinfo() to get the
state of the use heap. Two reasons: That is not useful information in
the kernel build. And (2) there are other memory resources of interest
in other configurations such as the Kernel heap in PROTECTED and KERNEL
builds, and the prog mem uses when FLASH is used to hold modifiable
data. The free command has been extended to just dump the content of
procfs entries and to include all of these other memory resources of the
procfs entries are available (2017-11-13).
* apps/nshlib: Big simplification of last change. /proc/kmm, umm, and
progmem have been replaced with a single procfs file called
/proc/meminfo. The NSH free command now degenerates to a simple dump of
/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
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
to the NuttX coding style (not yet hooked into the build system)
(2017-11-18).
* apps/graphics/pdcurs34: Extend configuration to select the font size
(2017-11-18).
* apps/example/pdcurses: Add logic to build one of the several pdcurses
demo/test programs (2017-11-18).
* apps/graphics/pdcurs34/nuttx: Completes first cut at framebuffer
rendering logic. Add NuttX framebuffer color managment and beginning of
some rendering logic (2017-11-19).
* apps/examples/pdcurses/: Fix a few more bugs found in testing; Brings
in the remaining pdcurses demo programs (2017-11-19).
* apps/graphics/pdcurs34: Add support for discrete joystick input.
This is sufficient to get through all menuing tests that do not require
text input (2017-11-22).
* apps/graphics/pdcurs34: Add support for greylevels vs. RGB. Define
pdc_color_t based on pixel depth, not on specific color format. Need to
set the global COLORS or else all displays on monochrome (2017-11-22).
* i8shark: Adds CONFIG_IEEE802154_I8SHARK_XBEE_APPHDR option to remove
XBee's application header before sending to Wireshark. This option will
corrupt any traffic received that does not include this application
header. From Anthony Merlino (2017-11-22).
* apps/wireless/ieee802154/i8sak: Adds ability to get/set rxonidle
setting for MAC layer. From Anthony Merlino (2017-11-xx).
* apps/examples/fb: Fix calculation of a mask value (2017-11-22).
* NxWidgets: Move from apps/NxWidgts to apps/graphics/NxWidgets
(2017-11-24).
* apps/examples/pdcurses: Add a very simple example that just shows the
entire character set (7-bit only). It adapts to the size of the
framebuffer and, hence, can be used with very tiny displays. In fact it
looks really dumb on big displays (2017-11-24).
* apps/examples/fb: Add a small delay between updating each rectangular
region (2017-11-25).
* apps/examples: CONFIG_QENCODER was renamed to CONFIG_SENSORS_QENCODER:
update README.txt. From Fabio D'Urso (2017-11-25).
* apps/graphics/pdcurs34: Initial steps to support less than 8-pixel
fonts on less than 8-bit display. Calculation of font buffer stride
must depend on the configured BPP. Add first cut at function to copy a
font into the font buffer; Make better use of macros to reduce code
complexity (2017-11-27).
* apps/examples/nunchuck: Add Nunchuck example application. From Alan
Carvalho de Assis (2017-11-28).
* 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
of a character) (2017-11-30).
7.24 2018-03-02 Gregory Nutt <gnutt@nuttx.org>
* i8shark: Fixes special XBee compensation by purposely chopping off the
FCS. From Anthony Merlino (2017-12-08).
* nxplayer: Add support for http streaming in nxplayer. From Masayuki
Ishikawa (2017-12-19).
* Adds 'setlogmask' application that allows you to set the syslog
priority via a simple command. From Anthony Merlino (2017-12-19).
* apps/netutils/ftpc: Fix some cornercases that could cause FTP to
access past the end of valid data. From Gregory Nutt (2017-12-21).
* examples/userfs: Add truncate() support for userfs. From Gregory Nutt
(2018-01-03).
* apps/nshlib: Add support for a truncate command. This will be used
to test the new ftruncate file system support. From Gregory Nutt
(2018-01-04).
* nshlib/nsh_telnetd.c: Add support for telnet character mode. From
Masayuki Ishikawa (2018-01-10).
* apps/nshlib: Add support for '-n' option to the echo command. From
Masayuki Ishikawa (2018-01-10).
* apps/nshlib: Add irqinfo command. From Gregory Nutt (2018-01-12).
* apps/system/usbmsc: Added Kconfig options to configure write
protection for each LUN. From Fabio D'Urso (2018-01-14).
* apps/examples/lvgldemo: Add lvgldemo example. From Alan Carvalho
de Assis (2018-01-16).
* apps/graphics/littlevgl: Add littlevgl library. From Alan Carvalho
de Assis (2018-01-16).
* apps/examples/touchscreen: Eliminate BOARDIOC_TSCTEST_SETUP. From
Gregory Nutt (2018-01-17).
* apps/examples/lvgldemo: Can no longer call boardctl() to initialize
graphics hardware if needed. From Gregory Nutt (2018-01-18).
* apps/netutils/netlib: Add default route in netlib_set_dripv4addr().
From Masayuki Ishikawa (2018-01-19).
* system/stackmonitor: Re-design the stack monitor so that it does not
make forbidden calls directly into the OS, breaking the portable POSIX
OS interface. It now properly uses the PROCFS file system to glean
information about stack usage. From Gregory Nutt (2018-01-20).
* apps/nshlib: Fix compile error when CONFIG_NSH_DISABLESCRIPT is not
defined. The field np_flags does not exist if scripting is disabled.
From Gregory Nutt (2018-01-22).
* apps/examples/veml6070: Add VEML6070 Application Example. From Alan
Carvalho de Assis (2018-01-28).
* 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
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
commands From Gregory Nutt (2018-02-18).
* apps/graphics/ft80x and apps/examples/ft80x: Fix a few compile-relate
issues introduced with last merge. From Gregory Nutt (2018-02-19).
* apps/examples/ft80x: Add a few more demos of GPU primitive
operations. From Gregory Nutt (2018-02-19).
* Added ECANCELED condition to DEBUGASSERT-s checking sem_wait result.
From Dmitriy Linikov (2018-02-20).
7.25 2018-06-03 Gregory Nutt <gnutt@nuttx.org>
* apps/netutils/tftpc: This commit modifies the TFTP client functions to
use a data read/write callback instead of a file. This allows TFTP to
write to arbitrary destination (in my case, a MTD device - for firmware
update). Two new functions are introduced for this, named tftpget_cb and
tftpput_cb. They are just made of most of the existing code. The
previously existing tftpget/tftpput functions are now wrappers on the new
ones, with callbacks that read/write from files, so my modifications are
backwards compatible with existing applications, eg the associated nsh
commands dont need to be changed. From Sebastien Lorquet (2018-03-09).
* apps/examples/ft80x: Fix some size calculations. Add option to disable
primitive tests... just too boring to have to watch over and over again.
Fix a typo in backlight fade logic; Fix error in formatted display light
debug dump output. From Gregory Nutt (2018-03-09).
* apps/examples/ft80x: Text is handled by the coprocessor and, hence, must
use RAM_CMD, not RAM_DL. From Gregory Nutt (2018-03-09).
* apps/examples/ft80x: Fix some errors in co-processor demos. Correct an
error in the spinner demo. From Gregory Nutt (2018-03-10).
* apps/examples/netloop: Update network loopback example so that it can be
used to test TCP KeepAlive. From Gregory Nutt (2018-03-12).
* apps/system/stackmonitor: Fix comparison between pointer and zero
character constant. From Juha Niskanen (2018-03-13).
* apps/system and wireless: Applications should use the standard clock()
interface, not the internal NuttX clock_systimer() interface. From
Gregory Nutt (2018-03-14).
* 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
stack. From Gregory Nutt (2018-03-15).
* apps/examples/lzf: unlzf and lzcat are not supported. From Gregory Nutt
(2018-03-15).
* apps/examples/lzf: Fix name composition and set defaults early in main.
From Boris Astardzhiev (2018-03-15).
* apps/examples/nsh and posix_spawn: Must not call exec_setsymtab()
directly. That is a non-POSIX internal OS interface. From Gregory Nutt
(2018-03-16).
* apps/system/lzf: Move the LZF tool from apps/examples/ to apps/system.
From Gregory Nutt (2018-03-16).
* apps/system/lzf: Don't build the LZF tool if the LZF library is not
enabled. From Gregory Nutt (2018-03-16).
* apps/system/lzf: Refactor so that the user is no longer required to
generate the LZF header From Boris Astardzhiev (2018-03-16).
* apps/system/lzf: (1) The maximum block size is now configuration setting
in order to give finer control over memory usage. (2) The
compression/decompression buffers have been moved out the stack and are
now global variables. This eliminates the need to set large stack sizes
to use this utility. (3) Added semaphore protection of all global
variables for the case of the FLAT or PROTECTED builds. Unlike the
KERNEL build, the same global variables will be used by each instance of
the LZF utility. If you want thread safety, then you must either (a)
serialize all access to the global variables, or (b) pack the global
variables into a structure and allocate that structure on each execution
of lzf_main(). From Gregory Nutt (2018-03-17).
* apps/examples/cromfs: Add an example of how to build a CROMFS file
system image. From Gregory Nutt (2018-03-20).
* Remove canutils/libuavcan and examples/uavcan. libuavcan has not built
for a year or so. The basic problem is that as NuttX advances, the old
frozen version of libuavcan has become absolute because it violates the
portable POSIX OS interface. No one is maintaining the port so there is
no alternative but to remove it. From Gregory Nutt (2018-03-23).
* apps/examples/elf: Extend the ELF program module demo so that you can
use compressed ELF programs with CROMFS. From Gregory Nutt (2018-03-24).
* apps/examples/elf: Use strip command to make ELF binaries MUCH smaller.
Add an option to strip debug symbols even if the debug symbols are
enabled in the base code. From Gregory Nutt (2018-03-25).
* apps/wireless/bluetooth/btsak: Add a Bluetooth debugt tool. From
Gregory Nutt (2018-04-02).
* apps/netutils/netlib: Various fixes needed to get a clean netlib build
with Bluetooth only. From Gregory Nutt (2018-04-03).
* apps/examples/cc3000: Remove the CC3000 example. From Alan Carvalho de
Assis (2018-04-04).
* apps/examples/smps: Fix typos in Kconfig. All power, voltage, current
values were strings with no default. I assume they should be 'int' with
what default? From Gregory Nutt (2018-04-04).
* examples/powerled: Add arch initialization; examples/smps: fixes in some
printf and in Kconfig From Mateusz Szafoni (2018-04-07).
* apps/examples/adxl372_test and lxm330spi_test: Add ADXL372 and LSM330
tests. From Bob Feretich (2018-04-09).
* apps/examples/max31855: Add an example to read multiple max31855 sensors
From Tiago Almeida (2018-04-09).
* apps/examples/ostest: Do not call AIO test without
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
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
Boris Astardzhiev (2018-05-11).
* apps/system/zmodem: Add an option to enable hardware flow control via
termios. Fix Makefile.host. It was broken when zmodem.h was moved to
apps/include/system. Fix an incompatibility with the way that CRCs are
calculated. Allow stack size and priority to be configured. From
Gregory Nutt (2018-05-27).
* apps/system/zmodem: Call tcflush() before closing the serial port. This
is necessary because that close operation may hang if hardware flow
control is enabled. Consider this scenario: After the host sz runs on
the host, it exits and leaves CTS high. The target rz completes, and
tries to close the serial port. But if there is buffered Tx data, then
the close will hang when it tries to drain the buffered Tx data since
there is no where it can go. tcflush() discards the buffered data and
permits the close to continue. There is additional logic in
nuttx/drivers/serial needed to work with this. From Gregory Nutt
(2018-05-27).
* apps/, Various Makefiles: Fix mixed references to nuttx/lib. These need
to be changed to nuttx/staging. From Gregory Nutt (2018-05-30).
* Various fixes necessary to build the simulator under MSYS1. From Gregory
Nutt (2018-05-31).
* apps/Makefile and platform/Makefile: At clean_context targets that are
now invoked from the main nuttx/Makefile. From Gregory Nutt (2018-05-31).
7.26 2018-09-08 Gregory Nutt <gnutt@nuttx.org>
* apps/netutils/ftpc: Fix handling of url-encoded strings From
Dmitriy Linikov (2018-06-04).
* apps/examples/i2sloop: Add i2sloop application. This application
can be used to test I2S loopback like: nsh> i2sloop &
From Masayuki Ishikawa (2018-06-06).
* nsh_parse.c: fix 'while' and 'until' loop condition
The loop condition logic was inverted: while true; do echo "test";
done
would exit immediately, while using 'until' would stay in the loop.
This is the opposite of how it is supposed to work.
The reason is that 'state' was set wrong because 'whilematch' is a
bool. From Beat K<>ng (2018-06-06).
* examples: Adds example to test framebuffer overlay From Marco Krahl
(2018-06-06).
* apps/examples/ostest: Signal handling tests should use the same
configurable stack size as used in other tests, not
PTHREAD_STACK_DEFAULT. From Gregory Nutt (2018-06-07).
* apps/system/taskset: Add taskset command for SMP systems. This
command can be used to retrieve or set a process's CPU affinity.
For example,
nsh> taskset -p 4
pid 4's current affinity mask: 2
nsh> taskset -p 3 4
pid 4's current affinity mask: 3
nsh> taskset -p 1 busyloop &
From Masayuki Ishikawa (2018-06-08).
* apps/gpsutils/minmea: Include wchar.h in minmea.c file to fix wint_t
error From Alan Carvalho de Assis (2018-06-09).
* apps/examples/gps: Add GPS example using MINMEA lib From Alan
Carvalho de Assis (2018-06-09).
* apps/Make.defs: Fix an error introduced with recent chagne.
MKKCONFIG may not be defined resulting in failure to create
apps/Kconfig. From Gregory Nutt (2018-06-11).
* examples/powerled: add arch initialization; examples/smps: fixes in
some printf and in Kconfig
testing: add Unity - unit testing library from ThrowTheSwitch.org
From Mateusz Szafoni (2018-06-15).
* apps/wireless/wapi: Remove dependency on CONFIG_EXPERIMENTAL from
Kconfig From Gregory Nutt (2018-06-17).
* Remove apps/interpreters/micropthon. There are several reasons for
this. (1) the current version 1.3.8 is very old and no one is
supporting it. (2) the port only includes the core micropython logic
and none of the Python libraries. As such it is useless in any real
application. (3) There have recently been compile failures
reported. It looks like this is due to changes in newlib based
toolchains that now bring in incompatible newlib header files. See
issue 104 at
https://bitbucket.org/nuttx/nuttx/issues/104/build-micropython-138-error.
With no one dedicated to the support of micropython, it can no longer
be carried in the NuttX apps/ repository. From Gregory Nutt
(2018-06-18).
* apps/nshlib/README.txt: Clarify arguments to the mkrd command. From
Gregory Nutt (2018-06-22).
* testing/unity: add configuration options for exclude setjmp and
output color From Mateusz Szafoni (2018-06-23).
* apps/netutils/dhcpc: Activates BINDTODEVICE if available, and break
up some long lines From Gregory Nutt (2018-06-25).
* apps/examples/tcpblaster: Add TCP performance measurement test.
From Gregory Nutt (2018-07-05).
* apps/examples/dsptest: Add unit test for Nuttx DSP library From
Mateusz Szafoni (2018-07-07).
* apps/examples/helloxx: Add main() for CONFIG_BUILD_KERNEL From
Masayuki Ishikawa (2018-07-13).
* apps/examples/nsh: Add logic to automatically register an
application symbol table as part of NSH initialization. From
Masayuki Ishikawa (2018-07-13).
* There many occurrences of the global variable g_exports and the
opportunity for collisions. Make the global variable names unique.
From Gregory Nutt (2018-07-14).
* apps/examples/nsh: The symbol table name and size variable names can
now be configured. From Gregory Nutt (2018-07-14).
* import/: Add Makefile.symtab which can be used to compile the
dynamically created symbol table C file. Add tools/mksymtab.sh.
From Gregory Nutt (2018-07-15).
* apps/tools: Add +x to mksymtab.sh.
apps/examples/nsh: Fix compile errors with
CONFIG_EXAMPLES_NSH_SYMTAB=y From Masayuki Ishikawa (2018-07-17).
* apps Makesystem: Fix an error when building apps/ without nuttx/,
using only the NuttX export package and assuming that the nuttx/
directory in not even present. In this case, the problem fixed where
the apps/Make.defs file was selecting tools from the /tools directory
which does not exist because TOPDIR=apps/import. Instead, for this
build case, I have not thought of any option but to duplicate scripts
as necessary in the apps/tools directory. Also added a top-level
target to compile the symbol table. Misc fixes: quoting in scripts,
some errors in script syntax. From Gregory Nutt (2018-07-17).
* apps/tools: Fix an error in mksymtab.sh From Masayuki Ishikawa
(2018-07-19).
* examples/lvgldemo/ and graphics/littlevgl/: Update LVGL to version
5.1.1 From Alan Carvalho de Assis (2018-07-19).
* fs/fat: Clean up some name BS_ and MBR_ refer to the same record and
should use the same naming (MBR_). From Gregory Nutt (2018-07-22).
* Add definitions for the FAT boot record (FBR). From Gregory Nutt
(2018-07-22).
* nxplayer: Refactor nxplayer.c. Apply netlib_parsehttpurl() and
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).
* 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.
apps/Make.defs: Override COMPILE and COMPILEXX macros to compile
loadable apps. To make loadable apps, -DLOADABLE_APP is added to the
flags. Also, introduce ELFLD to link a lodable app.
apps/Application.mk: Add .build target in case of 'LOADABLE=y' which
is used to link a final loadable application and install the app to
apps/bin.
apps/Makefile: Add SYMTABSRC and SYMTABOBJ variables for loadable
apps which will be generated under the apps directory. Add
make_symbols target which will be called when all applications are
installed to generate symtab_app.c which is used for nsh to inform
symbol information to the NuttX kernel. If the application is
specified to 'm', the variable 'LOADABLE' must be defined here. Also
note that other variables (PRIORITY and STACKSIZE) can only be used
for built-in apps.
apps/nshlib/Kconfig: Add 'option modules' to NSH_FILE_APPS so that a
user can change an application configuration to tristate (y/n/m)
apps/examples/hello and helloxx: Apply changes to support a loadable
app. Makefile: Change the condition to build. By default, the
application is not selected (i.e. 'n'), so if other states (i.e. y/m)
are selected, the application will be compiled. Please note that
the variable 'LOADABLE' must be defined in each application Makefile
if you want to make a loadable app. Change the application state
from bool to tristate in the Kconfig file. Add LOADABLE_APP
condition to main(). From Gregory Nutt (2018-08-03).
* apps/examples/elf: CROMFS and ROMFS configuration currently only
usable in FLAT build. Add configuration to use ELF objects on
external media like SD card or USB drive instead. From Gregory Nutt
(2018-08-04).
* apps/examples/elf: If the test ELF files are on media in removable
media such as SD or USB FLASH, the wait until the media has been
installed and initialized before starting the test. From Gregory
Nutt (2018-08-04).
* apps/examples/module: Add support for CROMFS and for stripping
symbols from ELF module binaries. From Gregory Nutt (2018-08-05).
* examples/module: Add support for automounting removable media. This
involves a wait for the block driver to become available before
performing the mount. From Gregory Nutt (2018-08-05).
* apps/system/cle: Usage improvements including command line history
(taken from readline) and support for addition control characters.
From mst (2018-08-05).
* apps/nshlib: Add parsing support for back-slash quoted characters.
Currently only implemented properly if CONFIG_NSH_ARGCAT is also
selected. This commit is in response to Bitbucket Issue 11 opened by
Maciej W<>jcik From Gregory Nutt (2018-08-06).
* apps/examples/module: When built in the PROTECTED or KERNEL modes,
the symbol table is not built by the application. That is because
the build will fail since the kernel module depends on internal OS
symbols thar are not available to the application build. With this
change the examples does not attempt to build the kernel symbol table
in these modes. Instead it just copies the kernel module symbol
table into the nuttx/pass1 directory where it can be build directly
into the OS during pass2 of the build. From Gregory Nutt (2018-08-07).
* nsh: add inverted logic support in the form of 'if ! <cmd>' From
Beat K<>ng (2018-08-11).
* apps/nshlib: I was able to cause an assertion with some typos in
testing the 'fi' command. Not an important thing, but this will
protect against the assertion. From Gregory Nutt (2018-08-11).
* examples/calib_udelay: Add tool for calibrating
CONFIG_BOARD_LOOPSPERMSEC From Juha Niskanen (2018-08-14).
* apps/builtin/Makefile. This commit changes apps/builtin to search
the registry recursively. By supporting directories, external
projects can install the hooks into the registry and easily clean
them up and reinstall if something needs to be updated. Based on an
idea from Anthony Merlino. From Gregory Nutt (2018-08-15).
* apps/system/popen: Add an implementation of the standard popen() and
pclose() OS interfaces. These are implemented as applications vs.
part of the OS because they depend on NSH. Untested on initial
commit. From Gregory Nutt (2018-08-17).
* apps/examples/popen: Add a test of popen/pclose.
apps/system/popen: Fix some errors found using the new popen/pclose
test. From Gregory Nutt (2018-08-17).
* apps/Application.mk: If a loadable module is generated the we need
to add logic to remove the loadable module in the 'make clean'
logic. From Gregory Nutt (2018-08-17).
* apps/system/system and popen: Adapt so that these can be used in the
KERNEL build mode. In this case, simply replace task_spawn() with
posix_spawn(). This depends on the existence of some environment
where /bin/sh exists and can be used to execute one NSH command. For
the case of system(), this change was more complete because it
previously used task_create(). Now it uses either task_spawn() or
posix_spawn(), depending upon the configuration. From Gregory Nutt
(2018-08-18).
* apps/system/nsh: Move apps/examples/nsh to apps/system/nsh. It has
become so entrenched that it is hardly an example these days. May as
well formalized it as a system task. From Gregory Nutt (2018-08-18).
* i8sak: i8sak daemon now gets shutdown if not in use. Previously, once
the i8sak daemon was started, by running any command, it would stay
running. This means that if you want to use i8sak to setup your
network, but then want exclusive access to the char device, or
network device, you have to manually shutdown the i8sak daemon. Now
the daemon stays active as long as required to finish any commands,
or stays open if a new command keeps it on, but when all work is
finished, it shuts down. From Anthony Merlino (2018-08-19).
* Remove illegal calls into OS to initialize BINFMT support. This must
be moved to the board initialization logic within the OS. From
anchao (2018-08-22).
* Move a copy of define.bat and sh from nuttx/tools to apps/tools so
that they will be available for the import build. From Gregory Nutt
(2018-08-22).
* apps/nshlib: Expand reboot and poweroff commands to include a
second, optional mode argument From ligd (2018-08-22).
* apps/system/zmodem:
fix error "sz_main.o: No such file or directory"
support -p <path> for rz to change the folder for the received file
switch debug output from printf to syslog
send the next packet for ZME_ACK in ZMS_SENDING to avoid rz on the
host side stuck
make send work reliable even without hardware flow control From
Xiang Xiao (2018-08-23).
* apps/system/system/system.c: Add 'const' to make function signature
compatible with OpenGroup.org From Xiang Xiao (2018-08-23).
* apps/system/ping and ping6: Send ID and seqno in network byte
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.
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
ligd (2018-08-23).
* apps/fsutils/mksmartfs: Add a check to see if the SmartFS is already
formatted. apps/nshlib: Add a force flag (-f) to mksmartfs. SmartFS
will be formatted only if (1) the FLASH does not already hold
a SmartFS, or (2) the force flag is set From Xiang Xiao (2018-08-23).
* apps/nshlib: (1) NSH prompt string is now configurable. nsh> is still
the default. (2) Increase the default configuration for the maximum
number of command line arguments to 7 (CONFIG_NSH_MAXARGUMENTS).
This is needed for 'mount' with the -o option. From Xiang Xiao
(2018-08-23).
* apps/examples/module/Makefile: Correct module example build. Change
to LDLIBs were causing a failure due to a non-existent (any
unnecessary) library in this case. From Gregory Nutt (2018-08-23).
* apps/, most main() function: Correct CONFIG_BUILD_LOADABLE usage
Loadable apps/: Correct loadable symbol table generate
apps/system/ubloxmodem: Fix build break
apps/examples/ostest: start restart/waitpid/user test from main loop
apps/nshlib: Expand reboot and poweroff commands to include a
second, optional mode argument
An attempt to fix build issues. Does not work.
apps/examples/ostest: Fix some inappropriate renaming of static
functions introduced with recent patches.
apps/builtin/exec_builtin.c: Fix a error introduced by recent
comments. Found in build testing.
apps/builtin/exec_builtin.c: Try posix_spawn if builtin apps do not
have have an entry point.
apps/Application.mk: introduce MODULE config to simplify tristate(m)
apps/nsh: Change the nuttx shell module type to tristate
apps: Add loadable application support
script/mksymtab: Generate symbol table name by default
apps/builtin: Allow loadable applications can register with
apps/builtin. From anchao (2018-08-23).
* Replace all ASSERT calls to DEBUGASSERT From Xiang Xiao (2018-08-24).
* apps/examples/sotest and modules: With recent changes, LDLIBS is
initialized to bad value, at least in certain contexts. From Gregory
Nutt (2018-08-24).
* apps/nshlib: Add control-C support for terminating built-in and
exec'ed file tasks. From ligd (2018-08-26).
* apps/nshlib/Kconfig: Move 'option modules' from NSH_FILE_APPS to
BUILD_LOADABLE From anchao (2018-08-27).
* apps/system/nxplayer: Release buffer before session and release
semaphore in nxplayer_setvolume
system/nxplayer/nxplayer.c: Remove & for apb->samp reference. It is
already a pointer. From Xiang Xiao (2018-08-27).
* system/nxplayer/nxplayer.c: Add playraw command From ZhongAn
(2018-08-27).
* apps/system/nxrecorder: Add nxrecorder application From ZhongAn
(2018-08-27).
* nettest: fix typo: NET_LOOPBACK -> CONFIG_NET_LOOPBACK
nettest: fix compilation error. Should enable NET_SETSOCKOPT for
preventing compilation error. From EunBong Song (2018-08-28).
* apps/system/cu: SIGKILL is more appropriate that SIGINT in this
circustance. From Gregory Nutt (2018-08-28).
* apps/: Call BOARDIOC_FINALINIT after start-up script (or immediately
after BOARIOC_INIT is there is no start-up script). From ligd
(2018-08-28).
* apps/system/cu: Fix undefined SIGKILL if CONFIG_SIG_DEFUALT is not
defined. From Gregory Nutt (2018-08-29).
* apps/nshlib/nsh_console.c: Do not dereference NULL 'pstate' From
Juha Niskanen (2018-08-29).
* apps/system/i2c: Allow registers besides 0x00 in the dev command.
From akob Haufe (2018-08-30).
* system/i2c/i2c_main.c: Fix a backward comparison. Noted by Jakob
Haufe. From Gregory Nutt (2018-08-30).
* apps/ostest/suspend.c: Add a small test for SIGSTOP, SIGCONT, and
SIGKILL actions. From Gregory Nutt (2018-08-30).
* examples/ostest/signest.c: Attempt to make the nested signal test
compatible with the suspend/resume test. Some signals cannot be
caught when the suspend/resume configuration is in place. From
Gregory Nutt (2018-08-30).
* apps/ examples/dhtxx: Example for the DHTxx sensor. From Ouss4
(2018-09-01).
* apps/nshlib: When using waitpid() to wait for a built-in application
or a file application to exit. Add the WUNTRACED options to so the
the waitpid() call will also be awakened if the waited-for task is
stopped as well. From Gregory Nutt (2018-09-02).
* apps/: Modification to build system: Unified application compilation
rules From anchao (2018-09-03).
* apps/: Resolve some make dependency failures. From anchao
(2018-09-03).
* apps/platform/Makefile: Fix missing dependency path in Makefile.
From Gregory Nutt (2018-09-03).
* apps/: Fix build break in case sama5d4-ek/elf configuration. Also
fix a patch problem in mkromfsimg.h. From anchao (2018-09-04).
* Application.mk: Even on Cygwin, GNU make insists that targets use
Unix style paths. System/progmem: Rename the install application to
progmem. This generates a target install: which collides with the
install:: target in Application.mk. From Gregory Nutt (2018-09-04).
* Makefile: platform/Makefile must have BIN_DIR defined on command
line even though it is not used. This is because in the Cygwin
build, the value of 'BIN_DIR' is passed to 'cygpath'. 'cygpath will
fail if BIN_DIR is not defined. From Gregory Nutt (2018-09-04).
* Makefile: Fix more places where attempts to use Unix-style paths
with native Windows toolchain. tools/mksymtab.sh: Add a check just
to prevent 'cat' of an empty file list from failing. Right not the
root problem is that the are not executables being built or installed
in the exe/ directory. That needs to be done by 'make import' but is
not happening. From Gregory Nutt (2018-09-04).
* Makefile: In the make import target for kernel build, we must make
all objects and populate libapps.a. Application.mk: the PROGIST
must be executed unconditionally to support the kernel build. From
Gregory Nutt (2018-09-04).
* Application.mk: Fix some issues when building directories such as
fsutils/mkfatfs that have no mainobj. In this case, the MAINSRC is
undefined and it would generate a bad linker command line. From
Gregory Nutt (2018-09-04).
* Application.mk: Add module install logic. Possibly only needed in
KERNEL build mode? Makefile: Simplify import target for KERNEL
build. A symbol table is not needed because the KERNEL-mode programs
are completely linked. Also fix missing deletion in clean and
distclean targets. tools/mksymtab.sh: Fix a typo introduced in
previous commit. From Gregory Nutt (2018-09-04).
* Makefile: 'make distclean' should remove the exe subdirectory That
target must return the directory back to the state is was in when
freshly cloned. Application.mk: Add logic to strip unnecessary
symbols after installing a module. But then I commented it out.
Wouldn't we want to keep the symbols if we planned to debug the
module? In apps/examples/elf, there is configuration option to
determine if the symbols should be stripped or not. Perhaps that is
needed here too? From Gregory Nutt (2018-09-04).
* Application.mk: Generate temporary name for linker object From
anchao (2018-09-05).
* netutils/ping: remove unsupported ping. netutils/ping is not
supported anymore. It's better to remove this folder for preventing
confusing. ping is supported by system/ping. From EunBong Song (2018-09-05).
* Application.mk: Fix to not register a builtin app when BUILD_MODULE=y
apps/tools: Fix to generate CONFIG_SYSTEM_NSH_SYMTAB_COUNTNAME in
mksymtab.sh. From Masayuki Ishikawa (2018-09-07)
7.27 2018-11-14 Gregory Nutt <gnutt@nuttx.org>
* Directory.mk: Fix distclean targets of directory makefiles was not
removing generated Kconfig files. There is then no way to remove this
Kconfig files without manually deleting them one at a time. From Gregory
Nutt (2018-09-08).
* apps/examples/tcpblaster: Add an option to use poll() to pace input or
output. From Gregory Nutt (2018-09-10).
* apps/examples/tcpblaster: Select CONFIG_LIBC_FLOATINGPOINT
automatically. Units in output are wrong: Not Kbps bus Kb/Sec. From
Gregory Nutt (2018-09-10).
* apps/Application.mk: Fix some build issues. (1) Unable to found target
'context' when CONFIG_NSH_BUILTIN_APPS disabled. (2) Unable to generate
multiple programs. From Chao An (2018-09-12).
* Fixes i8sak name. Accidentally renamed to i8ask in recent changes From
Anthony Merlino (2018-09-12).
* apps/examples/udpblaster: Add option to use poll() on output (only).
Also picks up some fixes to various typographical errors. From Gregory
Nutt (2018-09-14).
* Correct some network-related configuration variable names. All *_MTU
defines were changes to *_PKTSIZE gut that was not reflected in apps/
From Gregory Nutt (2018-09-14).
* Combine the NxWidgets repository into the apps/ repository:
- Remove old NxWidgets directory
- Merge remote-tracking branch 'NxWidgets/master'
- Move NxWidgets files into graphics/NxWidgets
- Integrate configuration/build system
- Fix file paths in file headers. Remove some duplicate tools.
- Add new NxWidgets Unit Test configuration and build logic.
From Gregory Nutt (2018-09-15).
* Directory.mk: If the current directory contains a Kconfig file and
MENUDESC is not defined, then Directory.mk must not trash the Kconfig in
the current directory. From Gregory Nutt (2018-09-16).
* This commit moves the NxWidgets include directories into the correct
position in the apps/ source tree.
- Clean-up some include path problems introduced with the previous set of
changes.
- app/include/graphics, apps/NxWidgets/UnitTests: Update include paths
for file in new location.
- apps/NxWidgets/nxwidgets and nxwm: Update include paths for file in new
location.
- apps/graphics/NxWidgets: Move nxwidgets and nxwm include/ directories
to apps/include/graphics
From Gregory Nutt (2018-09-16).
* apps/nshlib: Correct maximum number of arguments that can be provided to
the mksmartfs command. From Eunbong Song (2018-09-18).
* apps/examples/adc/Kconfig: CONFIG_BOARDCTL_ADCTEST does not exist anymore
and should removed as a dependency. From Eunbong Song (2018-09-18).
* nshlib/, examples/: Update to show newer file system object types
returned by stat(). From Gregory Nutt (2018-09-22).
* Adapt the existing fstest example for SPIFFS:
- examples/fstest: For SPIFFS, add garbage collection and file system
integrity IOCTL calls. This was to avoid running out of FLASH space
while running the fstest (ENOSPC=28). However, it does not work.. still
runs out of memory.
- apps/examples/fstest: Call statfs() and show state of file system on
each loop.
- apps/examples/fstest: Fix a situation where a file system under test
could cause the fstest to get stuck in an infinit loop. From Gregory
Nutt (2018-09-27).
* - apps/examples/fstest: Add logic to dump logic content of SPIFFS
- apps/examples/fstest/Kconfig: SPIFFS GC and integrity check option
interferes SPIFFS. Appears to corrupt the file system. Now marked
EXPERIMENTAL. From Gregory Nutt (2018-09-28).
* - apps/examples/fstest: Ignore EINTR errors while reading or writing.
- apps/examples/fstest: Add configuration option to customize stack
size. Detect when the media is full and stop writing files. Report
total file size. From Gregory Nutt (2018-09-29).
* apps/netutils/netlib/netlib_parsehttpurl.c: Correct handling of long URLs
as noted in Bitbucket issue #119 (in the nuttx/ repository, not the apps/
repository). From Gregory Nutt (2018-09-30).
* apps/nshlib: Add support for the 'env' command. From Gregory Nutt
(2018-09-30).
* apps/nshlib: Add support for NSH local variables if CONFIG_NSH_VARS are
set. These are like environment variables but are local to NSH. The
importance of this is that these variables are *not* inherited when NSH
creates a new task. The new command 'export' was added. In this case,
the NSH variable will be promoted to an environment variable and will then
be inherited by any tasks executed by NSH. From Gregory Nutt (2018-10-01).
* apps/nshlib: If CONFIG_NSH_VARS=y, the NSH 'set' command with no argument
will list all of the local NSH variables. From Gregory Nutt (2018-10-02).
* i8sak: Properly shuts down event thread. From Anthony Merlino (2018-10-06).
* "dst" overflow protection when base64 string ends with "=" From Aleksandr
Vyhovanec (2018-10-19).
* apps/system/progmem: Remove this utility. It makes illegal direct calls
into the OS. From Gregory Nutt (2018-10-19).
* apps/examples/mlx90614: Add mlx90614 test example From Alan Carvalho de
Assis (2018-10-28).
* apps/netutils/netlib and apps/examples/igmp: Adapt to use the corrected,
semi-standard version of struct ip_msfilter. From Gregory Nutt
(2018-10-29).
* wireless/ieee802154/i8sak: Adds support for getting/setting transmit
power. From Anthony Merlino (2018-11-01).
* examples/mlx90614/mlx90614_main.c: Include support to change device
address on mlx90614 From Alan Carvalho de Assis (2018-11-02).
* apps/include/netutils/ipmsfilter.h: Eliminate error generated by bad
pre-processor logic. From Gregory Nutt (2018-11-02).
* apps/examples/mld: Add a test of MLD. Provides a mechanism for some
low-level bring-up of MLD. From Gregory Nutt (2018-11-04).
* apps/Makefile: Fix Windows native build patch extension. From Anatol
Ivanov (2018-11-05).
* apps/examples/ina226: Added INA226 example From Daniel P. Carvalho
(2018-11-05).
* apps/examples/mld/mld_main.c: Improve test by periodically dumping the
content of /proc/net/mld (if available). From Gregory Nutt (2018-11-06).
* apps/examples/mld: Add logic to set up the routing table before
attempting to send the multicast packet. From Gregory Nutt (2018-11-07).
* nshlib/nsh_console.c: Add fflush to nsh_consolewrite(). This resolves
this problem:
> cat /dev/ttyCP &
> echo ls >/dev/ttyCP
Can't get the 'ls' result immediately, because 'cat' cmd uses
nsh_consolewrite() and that uses fwrite with no fflush. We can get the
'ls' result after type '\n', because nsh will fflush output when get
'\n'. From ligd (2018-11-07).
* nshlib/nsh_fsutils.c: nsh_catfile() should not append '\n' if the last
char in file is already '\n' From Xiang Xiao (2018-11-07).
* nshlib/nsh_netinit.c: Move call netlib_icmpv6_autoconfiguration() into
nsh_net_bringup() like DHCP From Xiang Xiao (2018-11-07).
* nshlib/nsh_envcmds.c: Fix warning g_oldpwd defined but not used
[-Wunused-const-variable] From Xiang Xiao (2018-11-07).
* apps/system/hexed/src/bfile.c: Fix memory leak From zhuyanlin
(2018-11-07).
* apps/system/i2c/i2c_get.c: Fix i2c_msg freq initialization problem. Typo
prevent I2C frequency initialization in a struct i2c_msg. From From:
dongjiuzhu (2018-11-07).
* apps/system/system.c: Fix warning when passing argument 6 of 'task_spawn'
from incompatible pointer type [-Wincompatible-pointer-types] From Xiang
Xiao (2018-11-07).
* apps/system/vi/vi.c: Do not print error if the file does not exist. From
anchao (2018-11-07).
* apps/netutils/chat and apps/examples/chat: 'constify' chat variables and
parameters From Xiang Xiao (2018-11-07).
* apps/netutils/pppd: Refine and fix pppd code. From Xiang Xiao
(2018-11-07).
* apps/examples/mld: Fix incorrect format of IPv6 Multicast address. This
resolves the UDP sendto() problem. From Gregory Nutt (2018-11-07).
* apps/: Rename BINFMT_EXEPATH to LIB_ENVPATH. From anchao (2018-11-08).
* apps/examples/gpio: Align with GPIO driver update From wangyanjiong
(2018-11-08).
* - system/ping/ping.c and system/ping6/ping6.c: Set optind to zero in the
error case
- system/ping/ping.c and system/ping6/ping6.c: Move all ping preparation
work into icmp_ping
- system/ping/ping.c and system/ping6/ping6.c: Support -W <timeout> and
-s <size> option
- system/ping/ping.c and system/ping6/ping6.c: Decouple the output from
ping logic
From Xiang Xiao (2018-11-08).
* apps/system/ping and pings and apps/netutils/ping: Extract icmp ping and
icmpv6 ping6 logic from system/ to C-callable library in netutils/. From
ligd (2018-11-08).
* apps/examples/webserver/Kconfig: The webserver "app" allows for DHCP
client to be enabled. However, the Kconfig infrastructure does not contain
EXAMPLES_WEBSERVER_DHCPC config.
Based on patch from "Anonymous" attached to Bitbucket Issue #130 From
Gregory Nutt (2018-11-08).
* NxWidgets improvements
- NxWidgets: fix garbage returned when CCycleButton::getValue() is called
after removeAllOptions().
It's a bit questionable whether returning 0 here is reasonable or
if it would be better to assert(). But either is better than reading
into random memory and returning a garbage value.
- NXWidgets CScrollingPanel: Don't draw outside the widget area.
The port->move() function doesn't support clipping the
copied area to the client area, so we have to manually
calculate the part that can be moved without going outside
the widget.
- CNxString: Add string + operator and ::format() function
- CNumericEdit: Add option to include unit name after the value
- NxWidgets: CNxWidget: Make useWidgetStyle() public
Makes it easier to update styles when multiple controls are nested.
- NxWidgets: Add CLabelGrid control for displaying text in grid format.
From Petteri Aimonen (2018-11-09).
* apps/system/ping6: Remove NET_USRSOCK from Kconfig dependence list From
Xiang Xiao (2018-11-09).
* graphics/NxWidgets/nxwidgets/src/clabelgrid.cxx: Change old-style dbg()
to current ginfo(). From Gregory Nutt (2018-11-09).
7.28 2019-01-19 Gregory Nutt <gnutt@nuttx.org>
* netutils/webserver: The webserver/httpd app is currently broken when script
support is enabled (CONFIG_NETUTILS_HTTPD_SCRIPT_DISABLE). The root cause
has been tracked down to the "Content-length" not being available ahead of
time in this case (length of -1 passed to send_headers() ). On the other
hand, the server closing the socket does not result in FIN being sent
to the browser either (FIN not supported by NuttX yet).
Simple solution: Add support for HTTP Chunked Encoding to
webserver/httpd (attached patch).
The attached patch is simple. It adds a configuration option to enable
chunked encoding. When enabled, the implementation will auto-detect the
cases where content length is not available ahead of time, and will
automatically engage chunked encoding transfers.
Without this patch, the browser/client hangs forever, as it is
expecting more data. With this patch, the browser displays the
content. From Vlado Vidovic (2018-11-23).
* From patch attached to nuttx/ Bitbucket Issue #136 from Vlado Vidovic:
The patch provided in issue 135, which adds support for HTTP Chunked
Encoding, covers all paths in the webserver app except CGI callbacks.
As a result, if a page being served happens to use CGI, it could
generate stream content that does not comply with HTTP Chunked Encoding.
The patch attached amends the webserver app's CGI callbacks to use the
HTTP Chunked Encoding sender function instead of using send()
directly. From Gregory Nutt (2018-11-23).
* apps/system/critmon: Add a daemon to monitor critical section usage.
From Gregory Nutt (2018-11-24).
* apps/wireless/bluetooth/btsak: 'bt bnep0 info' outputs a reversed addr.
It should print BDAddr: aa:bb:cc:dd:ee:ff instead of BDAddr:
ff:ee:dd:cc:bb:aa From Lwazi (2018-11-25).
* Various initialization functions in configs/: Change /dev/slcd to
/dev/slcd0 for consistency From Alan Carvalho de Assis (2018-11-25).
* wireless/bluetooth/btsak: Fix some errors in btsak From Lwazi Dube
(2018-11-27).
* system: Fixes build error; There is no result variable, use errcode
instead. From Anthony Merlino (2018-11-28).
* apps/system/critmon/Makefile: Stack size and priority reversed. From
Daniel Pereira Carvalho (2018-11-29).
* apps/nshlib: Add support to use SLCD as NSH Console From Alan Carvalho
de Assis (2018-11-29).
* wireless/bluetooth/btsak/btsak_main.c: Fix address parsing From Lwazi
Dube (2018-11-30).
* apps/wireless/bluetooth/btsak: Add connect and disconnect commands to
btsak From Lwazi Dube (2018-12-02).
* apps/nshlib/nsh_romfsetc.c: Add support for CROMFS start-up script.
From David Sidrane (2018-12-06).
* apps/wireless/bluetooth/btsak: Remove unnecessary gatt get commands.
From Lwazi Dube (2018-12-08).
* apps/testing: Move apps/examples/ostest to apps/testing/ostest. From
Gregory Nutt (2018-12-12).
* apps/wireless/bluetooth/btsak/btsak_scan.c: Fix reversed address From
Lwazi Dube (2018-12-17).
* apps/system/nsh/nsh_main.c: Set NSH priorirty if the NSH task was
scheduled at a different priority than the configured priority. From
Gregory Nutt (2018-12-20).
* apps/system/configdata: Adds an "cfgdata" command which allows
manipulation of the /dev/config items via the command line. One such
use for this utility would be to set a "macaddr" configdata item, etc.
The utility is sort-of like a u-boot env variable edit function:
For instance, to set a "macaddr" when the new CONFIG_MTD_CONFIG_NAMED
option is selected, you would do:
nsh> cfgdata set macaddr [0xfc 0x01 0x0b 0x45 0xa1 0x12]
(The brackets denotes an array of bytes)
nsh> cfgdata set hostname myboard
or using the old ID,INSTANCE numeric method:
nsh> cfgdata set 0,0 [0xfc 0x01 0x0b 0x45 0xa1 0x12]
(The brackets denotes an array of bytes)
nsh> cfgdata set 1,0 myboard
You can also display all config items:
nsh> cfgdata print all
Name Len Data
macaddr 6 0xFC 0x01 0x0B 0x45 0xA1 0x12
hostname 8 myboard
From Ken Pettit (2018-12-20).
* apps/examples/smp: Add dependency on SMP in Kconfig From Masayuki
Ishikawa (2018-12-25).
* apps/testing/ostest: Add test for pthread-specific data. From Gregory
Nutt (2018-12-28).
* apps/examples/battery: Add Battery Charger Monitor Example From Alan
Carvalho de Assis (2019-01-04).
* apps/system/termcurses: Addition of termcurses libraries in
apps/system/termcurses From Ken Pettit (2019-01-05).
* apps/graphics/pdcurs34: Integration of termcurses into pdcurses, plus
pdcurses updates for multi-thread support From Ken Pettit (2019-01-05).
* [WIP] nshlib add var expansion in nsh parse From Daniel Agar
(2019-01-06).
* apps/system/nxplayer: Introduce CONFIG_NXPLAYER_MAINTHREAD_STACKSIZE
From Masayuki Ishikawa (2019-01-07).
* apps/graphics/pdcurs34/nuttx and system/termcurses: This commit fixes
two issues:
1. A memory corruption issue that occurs from a paste operation that
would overflow the fixed buffer size for keyboard processing.
2. A stall in getch() processing when there are cached keycodes in the
termcurses emulation (tcurses_vt100.c)
From Ken Pettit (2019-01-08).
* graphics/pdcurs34: This commit adds a configuration option to pdcurses
to enable line-drawing character (ALTCHARSET) when using the short
16-bit chtype. This is done by limiting the characters to 7-bit ASCII
values and using the 8-th bit as the A_ALTCHARSET bit. This allows a
significant RAM savings 4K - 20K depending on terminal size) while
still allowing the nicer line-graphic characters for border drawing.
From Ken Pettit (2019-01-08).
* apps/nshlib/nsh_command.c: display built-in apps using multi-column
mode like the nsh commands From Ken Pettit (2019-01-11).
* apps/system/termcurses/tcurses_vt100.c: Fix an issue where the first
curses 'getch()' call sometimes (usually) hangs waiting for a keypress.
This bug was introduced when I fixed the keyboard 'paste' overflow
error. From Ken Pettit (2019-01-11).
* apps/nshlib/nsh_command.c: In all multi-column help output, calculate
an optimal column width rather than using a hard-coded width that may
or may not be appropriate. Also make the number of rows presented
dependent upon the maximum width of the widest column. From Gregory
Nutt (2019-01-11).
* apps/nshlib/nsh_parse.c: Fixes an error in the NSH parser. There was
a bug when executing an nsh shell script which contains a redirection.
When the command in the script is executed, it sets the
vtbl->np.np_redirect flag (as it should), but then doesn't restore it,
leaving it set at the end of the script execution. Then the
vtbl->np.np_redirect flag is set when the 'sh' command completes,
causing a restore from un-initialized variables, thus leading to a
crash. See the code snippet below for an example test case.
Test case:
NuttShell (NSH)
nsh> mkrd -s 1024 40
nsh> mkfatfs /dev/ram0
nsh> mount -t vfat /dev/ram0 /tmp
nsh> echo "echo 1 > /dev/null" > /tmp/test.sh
nsh> cat /tmp/test.sh
echo 1 > /dev/null
nsh> sh /tmp/test.sh
...
The nsh prompt doesn't get printed. You can type a couple of commands,
but then the system will crash because of bad pointers. From Ken
Pettit (2019-01-12).
* wireless/ieee802154/i8sak: Fixes issues related to re-running daemon.
Releases lock when releasing daemon. Re-sets daemon_shutdown so that a
subsequent daemon launch does not immediately return. From Anthony
Merlino (2019-01-13).
* NSH addroute: Adds command for setting default gateway. addroute
default <ipaddr> <interface> From Anthony Merlino (2019-01-13).
* apps/system/termcurses: Perform a bounds check to fix a random
Termcurses crash that I haven't been able to track down. The result of
of the subtraction for priv->keycount should never be negative, but I
think sometimes it is, so better to catch it and avoid a crash until I
can track it down. From Ken Pettit ? (2019-01-16).
* apps/system/vi:
Bug fixes and changes to existing functionality
1. Deletion of last line in file using 'dd' caused infinite loop
searching for 'nextline'. Fixed.
2. Insertion of line above 1st line using 'O' caused line to be
inserted on 2nd line. Fixed.
3. Paste buffer from 'dd' was being free'd after the 'p'aste operation,
preventing multiple paste opportunity. Fixed.
4. The cursor was not being bound to the line end and was allowed to
'hover' over the '\n' EOL character. This caused wierd (relative to
standard vi) insertion locations and cursor movement with 'a'ppend
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.
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 funciton was not copying the deleted line to the
paste buffer as part of the delete operation. Fixed.
8. The bottom line of the screen was sometimes being used for document
text and other times for command / find entry. Fixed by reserving
the bottom the bottom line for status / command only.
9. When scrolling up / down through a file, the cursor position was not
preserved and moved further and further to the left column based on
the line lengths of the lines visited. Fixed.
10. The display was being COMPLETELY redrawn with each keystroke,
causing the responsiveness to be unbearable. Fixed. Added logic
to dynamicall indicated which portions of the screen need to be
updated (full display, current line to end of screen, current line
only, none).
11. The individual display line updates were being performed a
character at a time by calling the vi_putch() function, causing slow
performance, especially in telnet or USBCDC sessions where there is
a lot of overhead per packet. Fixed by calling vi_write() instead
with a block of characters with breaks as needed for TAB exansion.
12. The forward delete 'x' operation allowed deletion through '\n'
characters causing lines to be joined. This is different from
standard vi where 'x' at the end of a line performs a delete
backward operation. Fixed.
13. When in 'ex' or find sub-modes (':' or '/' bottom line modes),
hitting backspace with empty text did not return the operation to
command mode like it does in standard vi. Fixed.
14. Performing a 'find' opertation would only search from the current
cursor position to the end of the file and did not wrap like in
standard vi. Fixed.
15. Loading a file that was larger than the initial text allocation
would force a call to 'vi_extendtext', marking the file as modified
when in fact it hadn't even been loaded yet. Fixed.
16. Combined vi_insert_mode and vi_replace_mode into a single function
to save code space since they are nearly identical routines.
17. In command mode, backspace was deleting characters which is different
from standard vi. Backspace in command mode normally simply moves
the cursor left / to the previous line. Fixed.
18. Added code to handle boundry conditions when the file is new and
commands are applied to an empty file.
19. Fixed vi_shrinktext so it doesn't allocate a zero-length buffer when
the last character in the file is deleted.
20. The 'x' command was not copying to the paste buffer. Fixed.
21. Fixed parsecolon routine to properly deal with ":wq" command
sequence.
New feature additions
1. Vi startup feature to prepend the current working directory to the
supplied filename if it does not start with '/' absolute path
specifier. This allows editing files in the current directory
without needing to fully qualify the filename.
2. Standard '~' empty screen line characters for proper identification
of empty '\n' only lines at the end of the file.
3. Moving into insert or append mode now prints '--INSERT--' in the
status line and clears it upon exit.
4. Integration with termcurses to detect special keystrokes and to
handle terminal type differences. Haven't yet converted all vt100
print codes to termcurses equivalents.
5. Support for up, down, left, right arrows, page-up, page-down keys
in command mode.
6. Added 'b' command to move cursor 'b'ack to previous word. Honors
the command repeat value for multiple word moves.
7. Added 'w' command to move cursor to next 'w'ord. Honors the command
repeat value for multiple word moves.
8. Added 'f' and 't' commands to find characters on the current line.
Honors the command repeat value.
9. Added the find 'n'ext command to repeat the previous find operation.
10. Added the 'H', 'M', and 'L' commands to move the cursor to top,
middle and bottom of the display.
11. Extended yank/paste to manage a paste buffer with character mode in
addition to line mode. Character mode allows cut / paste of
individual characters or groups of characters vs. full lines.
12. Added support in the 'd'elete and 'y'ank commands for character mode
deletions such as 'dw', 'dfa', '2yw', etc.
13. Added support in paste routine for multiple paste using command value
argument.
14. Added support for the 'D' and 'C' delete and change to end of line
commands.
15. Added support for 's'ubstitute key ('x' followed by insert mode).
16. Modified yank / paste allocation scheme to avoid repeated alloc
and free of paste buffer. Uses a minimum allocation size scheme and
only does free / realloc when paste does not fit. If the paste is
smaller than the current allocation and the current allocation is
larger than the threshold, then the buffer is freed and a smaller
buffer allocated. Otherwise the existing buffer is used.
17. Support for 'P'aste before current cursor position.
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.
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
is saved.
23. Added 'X' delete previous command.
24. Added "gg" go to top of document command sequence.
25. Added "ZZ" save and quit command (equivalent to :wq).
26. Implemented '^' goto first non-whitespace on current line, along
with '+' and '-' goto first non-whitespace on next / previous line.
27. Added CR / LF goto first non-whitespace on next line in command
mode. From Ken Pettit (2019-01-16).
* apps/nshlib: Fix buffer overrun when redirected to a file. SAVE_SIZE must
be the same as sizeof(struct serialsave_s). From Masayuki Ishikawa
(2019-01-19).
7.29 2019-03-25 Gregory Nutt <gnutt@nuttx.org>
* apps/system/vi/vi.c: Fix an infinite loop bug that can show up in some
cases (plus a couple of other items). From Ken Pettit (2019-01-22).
* apps/system/cfgdata: Make builtin task stack size and priority
configurable. Set default to 2048 (from 1024) per recommendation of
Ken Pettit. From Gregory Nutt (2019-01-22).
* apps/testing/smp: Move apps/examples/smp to apps/testing/smp From
Gregory Nutt (2019-01-23).
* nshlib/nsh_console.h: Fix copy paste errors. Some Kconfig
configuration names needed CONFIG_ prefix. From David Sidrane
(2019-01-24).
* testing/: Move all file system tests from examples/ to testing/
(fstest, nxffs, smart, smart_test). From Gregory Nutt (2019-01-24).
* testing/cxxtest: Move examples/cxxtest to testing. From Gregory Nutt
(2019-01-24).
* apps/system/zmodem: Switch to the raw mode before transfer and restore
to the original setting after finishing the transfer. From Xiang Xiao
(2019-01-27).
* apps/netutils/codecs/base64.c: Remove the big stack array From Xiang
Xiao (2019-01-27).
* netutils/codecs/base64.c: Add base64_[de|en]code_length() API From
ligd (2019-01-27).
* system/nxplayer/nxplayer.c: Fix build error when only enable
CONFIG_AUDIO_EXCLUDE_VOLUME is enabled. From ZhongAn (2019-01-27).
* apps/system/system/system.c: Correct a path name. From anchao
(2019-01-27).
* apps/testing/cxxtest: Add a README file. From Gregory Nutt
(2019-01-27).
* apps/tools/mksymtab.sh: 'export LC_ALL=C' to get the traditional sort
order From anchao (2019-01-27).
* Follow up the kernel signal-related change in:
- examples/oneshot/oneshot_main.c:
- examples/alarm/alarm_main.c:
- examples/ajoystick/ajoy_main.c
- examples/djoystick/djoy_main.c
- examples/buttons/buttons_main.c
- examples/zerocross/zerocross_main.c
- graphics/traveler/src/trv_input.c
- graphics/ft80x/
From Xiang Xiao (2019-01-27).
* apps/nshlib/nsh_netinit.c: Update for changes to signal notification
structures. From Gregory Nutt (2019-01-27).
* graphics/NxWidgets/nxwm/src/ccalibration.cxx: Correct and error in the
type of the return value. From Gregory Nutt (2019-01-27).
* apps/modbus/Kconfig: Fix modbus master Kconfig. Modbus Master ASCII
compiles correctly From Alan Carvalho de Assis (2019-01-28).
* 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
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
Alan Carvalho de Assis (2019-02-02).
* Update for corrected name of standard header file. Should be dlfcn.h,
not dllfcn.h. I am surprised no one ever noticed before now. From
Gregory Nutt (2019-02-09).
* The file system can no longer be disabled. Remove all conditional
logic based on CONFIG_NFILE_DESCRIPTORS==0 From Gregory Nutt
(2019-02-11).
* apps/: Remove/replace all conditional logic based on
CONFIG_NSOCKET_DESCRIPTORS == 0. That value is always greater than
zero now. In places just replace with #ifdef CONFIG_NET. From Gregory
Nutt (2019-02-11).
* apps/testing/scanftest: Port of Greg King's scanf test
(https://github.com/cc65). From Johannes (2019-02-14).
* apps/testing/scanftest/scanftest_main.c: Test improvements. From
Gregory Nutt (2019-02-14).
* testing/scanftest/scanftest_main.c: Initialized s3, changed Ok to
PASSED for Back to Back test. From Johannes (2019-02-15).
* configs/system/embedlog: Update to version 0.4.0. From Michal Lyszczek
(2019-02-15).
* app/examples/embedlog: This example program presents most useful
features of embedlog library and how to use them. From Michal Lyszczek
(2019-02-15).
* system/nxplayer and nxrecorder: Change 'int prio' to 'unsigned int prio'.
Required by changes to MQ function prototypes. From Michal Lyszczek
(2019-02-15).
* system/nxplayer and nxrecorder: Fix some coding standard violatins
that are just to in-yer-face to ignore: No CamelCase variable names.
This was not an extensive check for use of CamelCase. Just some I
stumbled across. From Gregory Nutt (2019-02-15).
* tools/check-hash.sh: Add a tool check hash on downloaded packages.
From Michal Lyszczek (2019-02-18).
* apps/fsutils/inih: New package. inih (INI Not Invented Here) is a
simple .INI file parser written in C. https://github.com/benhoyt/inih
From Michal Lyszczek (2019-02-18).
* apps/examples/ini_dumper: New example program. ini_dumper is example
program that dumps content of ini file in pretty ascii table. It is
using inih ini library in fsutils/inih. From Michal Lyszczek
(2019-02-18).
* Some updates due to NuttX renaming: CONFIG_BOARD_INITIALIZE is not
CONFIG_BOARD_LATE_INITIALIZE; board_initialize() is now
board_late_initialize(). From Gregory Nutt (2019-02-18).
* apps/system/psmq: New package. psmq is publish subscribe message
queue. It's a set of programs and libraries to implement
publish/subscribe way of inter-process communication on top of POSIX
message queue. From Michal Lyszczek (2019-02-18).
* apps/system/psmq/README.txt: Add a README.txt file. This is just a
copy of the description accompanying that patch that added
system/psmq. From Gregory Nutt (2019-02-18).
* pps/system/psmq/Kconfig: Fix recursive dependency. SYSTEM_PSMQ both
depended on and selected SYSTEM_EMBEDLOG From Michal Lyszczek
(2019-02-19).
* system/vi: Condition KEY_CMDMODE_REPEAT with
CONFIG_SYSTEM_VI_INCLUDE_COMMAND_REPEAT to avoid build error when
option is not selected. From Anthony Merlino (2019-02-23).
* apps//netutils/webclient/Kconfig: NET_SOCKOPTS is needed to get
webclient compiled. From Alan Carvalho de Assis (2019-02-24).
* apps/testing/ostest: Add test of pthread_mutex_timedlock() From
Gregory Nutt (2019-02-24).
* examples: Add sx127x demo From Mateuz Szafoni (2019-02-25).
* apps/system/taskset: Fix command arguments are not passed From
Masayuki Ishikawa (2019-02-25).
* testing/ostest/timedmutex.c: pthread_mutex_timedlock() returns
EDTIMEDOUT on a timedout, not eagain. From Gregory Nutt (2019-02-25).
* testing/ostest/setvbuf.c: Fix several errors in the setvbuf() test.
From Gregory Nutt (2019-02-25).
* apps/system/cu/Kconfig: CU term depends on TERMIOS and should select
it. From Alan Carvalho de Assis (2019-03-05).
* apps/examples/nxterm and graphics/NxWidgets/nxwm: Replace direct calls
to nxtk_register with legal, indirect calls via
boardctrl(BOARDIOC_NXTERM). Replace calls to (deleted)
nxterm_unregister(). The correc way to delete a driver is by
unlink'ing it. From Gregory Nutt (2019-03-06).
* apps/examples/nxterm: Most configuration options were not available in
the Kconfig file. From Gregory Nutt (2019-03-06).
* apps/examples/nxterm, graphics/NxWidgets: Replace illegal direct calls
to nxterm_redraw() and nxterm_kbdin() with new boardctl() calls. From
Gregory Nutt (2019-03-06).
* apps/examples/modbusmaster/mbmaster_main.c: eMBMasterRegHoldingCB
cannot be static. From Alan Carvalho de Assis (2019-03-07).
* apps/examples/sx127x_demo/Kconfig: Fix misplaced 'if' From Gregory
Nutt (2019-03-07).
* apps/examples/nxterm: NxWM passed the size of the NxTK sub-window but
nxterm example passed the size of the complete NxTK window. They must
be made consistent. From Gregory Nutt (2019-03-09).
* Missing semicolon at the end of function call. From Kejun ZHOU
(2019-03-11).
* graphics: nx_openwindow() and nxtk_openwindow() now accepts an
addtional 'flag' parameter. This argument is not used at present but
will, eventually enable a RAM backed, per-window framebuffer. From
Gregory Nutt (2019-03-13).
* This commit adds a test example at apps/examples/pwfb that will be used
for testing the per-window framebuffer feature. The test does not work
correctly yet. From Gregory Nutt (2019-03-16).
* apps/examples/pwfb: Change b32_t's to b16_t's; don't need so much
precision. Some improvements to motion. Add VERBOSE debug output.
Still lots of bugs. From Gregory Nutt (2019-03-16).
* apps/examples/pwfb/pwfb_main.c: Temporarily work around a race
condition by adding a delay. From Gregory Nutt (2019-03-16).
* - apps/examples/pwfb: Solve a race condition by changing some relative
priorities. Also removes a delay kludge that used as a workaround.
- apps/examples/pwfb: Add rate control. Examples becomes unstable at
high update rates.
From Gregory Nutt (2019-03-17).
* nshlib/nsh_timcmds.c: Uninitialized struct tm caused 'date -s' to
fail. From Valmantas Palik<69>a (2019-03-18).
* apps/examples/pwfb: Add a toolbar to the example windows. From
Gregory Nutt (2019-03-18).
* This commit adds apps/examples/pwlines, another test of the pw-window
framebuffer lgoic. From Gregory Nutt (2019-03-20).
7.30 2019-05-19 Gregory Nutt <gnutt@nuttx.org>
* Add some awareness of overlays to apps/examples/fb From Matthew Koch
(2019-03-25).
* examples/, graphics/NxWidgets: Update NX window clients so that they
use the new 'event' callback (vs. the obsoleted 'blocked' callback).
From Gregory Nutt (2019-03-25).
* graphics/NxWidgets/nxwidgets/src/ccallback.cxx and
include/graphics/nxwidgets/: Add a synchronize method to every window.
This is a wrapper arounc nx[tk]_sync and permits C++ applications to
synchronize with the NX server. From Gregory Nutt (2019-03-27).
* Various graphics apps: If CONFIG_VNCSERVER=y, don't call
vnc_default_fbinitialize() directly. That is a violation of the portable
POSIX interface. Instead, call boardctl(BOARDIOC_VNC_START);. From
Gregory Nutt (2019-04-02).
* apps/system/nxplayer: Fix some logical errors from recent commits. They
broke the build of the nxplayer as a library vs. a task.
apps/graphics/nxglyphs: Fix yet more namespace problems. From Gregory
Nutt (2019-04-04).
* Separate nxwidgets and nxwm into separate directories. Remove old,
common NxWidgets directory. From Gregory Nutt (2019-04-04).
* apps/graphics/nxglyphs: Put all NxWidgets and NxWM glyphs into a common
directory where they can eventually be shared. Decouple (mostly) from
nxwidgets and nxwm so that they can be used elsewhere. Creates
include/graphics/nxglyphs.h From Gregory Nutt (2019-04-04).
* graphics/nxwm/src/nxwm_main.cxx: Move from
graphics/nxwidgets/UnitTests/nxwm/nxwm_main.cxx. It is no longer a unit
test, but the main startup entry point for NxWM. From Gregory Nutt
(2019-04-04).
* graphics/nxwidgets and inclu/graphics/nxwidgets: Add support for modal
windows. From Gregory Nutt (2019-04-05).
* apps/graphics/nxglyphs: Add some new cursor bitmap images. From Gregory
Nutt (2019-04-07).
* apps/nxglyphs/include: Add mkcursor.c. Will auto-generate cursor image
header file from Gimp C output. From Gregory Nutt (2019-04-07).
* apps/graphics/littlevgl. Update to Littlevgl 5.3.
apps/examples/lvgldemo. Update to Littlevgl 5.3 From Matthew Koch
(2019-04-08).
* apps/examples/pwfb: Extend example to verify software cursors. From
Gregory Nutt (2019-04-10).
* app/examples/pwfb: Add options to reduce the number of windows. This is
helpful during debug to reduce the complexity. From Gregory Nutt
(2019-04-10).
* graphics/nxglyphs: Update cursor images. Better to have clean, if
ragged cursor edges that weird color effects from anti-aliasing
attempts. From Gregory Nutt (2019-04-13).
* include/graphics/nxwidgets/cnxserver.hxx: Add Cursor methods to the
CNxServer class. From Gregory Nutt (2019-04-13).
* /apps/graphics/nxglyphs: Add 16x16 cursor images. 30x30 are kind of
large. From Gregory Nutt (2019-04-14).
* apps/system/nxplayer: Fix compile problems when audio debug is enabled.
From Gregory Nutt (2019-04-23).
* Twm4Nx is a port of twm, Tab Window Manager (or Tom's Window Manager)
version 1.0.10 to NuttX NX windows server. No, a port is not the right
word. It is a re-design of TWM from the inside out to work with the NuttX
NX server. The name Twm4Nx reflects this legacy. But Twm4Nx is more a
homage to TWM than a port of TWM.
The original TWM was based on X11 which provides a rich set of features.
TWM provided titlebars, shaped windows, several forms of icon management,
user-defined macro functions, click-to-type and pointer-driven keyboard
focus, graphic contexts, and user-specified key and pointer button
bindings, etc.
Twm4Nx, on the other hand is based on the NuttX NX server which provides
comparatively minimal support. Additional drawing support comes from
the NuttX NxWidgets library (which necessitated the change to C++).
Twm4Nx is greatly stripped down and targeted on small embedded systems
with minimal resources. For example, no assumption is made about the
availability of a file system; no .twmrc file is used. Bitmaps are not
used (other than for fonts).
The TWM license is, I believe compatible with the BSD license used by
NuttX. The origin TWM license required notice of copyrights within each
file and a full copy of the original license which you can find in the
COPYING file within this directory.
STATUS:
This port was brutal. Much TWM logic was removed because it depending on
X11 features (or just because I could not understand how to use it). The
logic is partial. A lot more needs to be done to have a complete system
(hence, it is marked EXPERIMENTAL). The kinds of things that need to
done are:
1. Update some logic that is only fragmentary for how like resizing, and
menus.
2. Integrate NxWidgets into the windows: The resize menu needs a CLabel,
the menus are CListBox'es, but not completely integrated, the Icon
Manager needs to be a button array.
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
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
management. Use CNXWidgets::CButtonArry for Icon manager. Implement
button event handling. From Gregory Nutt (2019-04-26).
* graphics/nxwidgets/src/cbuttonarray.cxx: Add a method to CButtonArray
that will allow us to dynamically resize the array (at the cost of losing
all button labels). From Gregory Nutt (2019-04-26).
* netutils/netlib/netlib_parseurl.c: Add a more flexible version of
netlib_parsehttpurl. This one can parse any URL, and is extensible so
future improvements keep the same API. From Sebastien Lorquet
(2019-04-26).
* apps/graphics/twm4nx: In order for widgets to draw the correct window or
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
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
the pull events needed to do the resize. From Gregory Nutt (2019-04-27).
* apps/graphics/twm4nx: Add compound widget CIconWidget. This will
eventually replace the icon Windows with widgets that can be drawn on the
Background. From Gregory Nutt (2019-04-27).
* apps/examples/pca9635/pca9635_main.c: fix compilation From Mateusz
Szafoni (2019-04-28).
* apps/netutils: Support for the current version of cJSON From Mateusz
Szafoni (2019-04-28).
* apps/graphics/twm4nx: Remove Icon Windows; replace with IconWidgets that
are draw on the background. Add CIconWidget event generation. Add event
handling logic to CIconWidget. From Gregory Nutt (2019-04-28).
* apps/graphics/twm4nx: Suppress input thread if using the VNC server. We
don't need to catch input from keyboard or mouse devices in that case;
those inputs will be injected into NX directly by the VNC server.
Includes a couple of fixes from initial bring-up attempts. From Gregory
Nutt (2019-04-28).
* apps/netutils/netinit. This commit removes the private network
initialization logic from NSH and puts in a common location at
apps/netutils/netinit. Now that netork initialization logic can be used
by applications that do not include NSH. From Gregory Nutt (2019-04-29).
* apps/graphics/twm4nx: Add options to initialize the system via
boardctl() and to bring up the network using the new
apps/netutils/netinit. This latter is only necessary because VNC is
being used to provide graphics. From Gregory Nutt (2019-04-29).
* Many locations: Remove references to CONFIG_DISABLE_SIGNALS. Signals
can no longer be disabled. From Gregory Nutt (2019-04-29).
* apps/graphics/NxWidgets: Fix a possible deadlock condition when waiting
for window geometry data that will never come. Fixed by re-requesting
geometry data if we don't already have it. From Gregory Nutt (2019-05-01).
* apps/graphics/twm4nx: Revamp how background events are handled. From
Gregory Nutt (2019-05-01).
* include/graphics/nxwidgets/cwidgetcontrol.hxx: Add handshake to
getWindowHandle() to avoid returning a NULL handle. But now Twm4Nx hangs
waiting for the non-NULL handle, From Gregory Nutt (2019-05-01).
* apps/graphics/twm4nx: Fix various bugs found in bringup: Re-order
object instantiation to account for inter-object dependencies. Correct
mq_receive() buffer size. Fix a backward comparison.
apps/graphics/twm4nx: Twm4Nx debug can now be separately enabled so that
it does not get overwhelmed by other graphics debug output. From Gregory
Nutt (2019-05-02).
* apps/graphic/twm4nx: Fix junk variable that was shadowing variable of
the same name in the base CNxWidget class. Resolves all start up crash
issues. Now I need to figure out why the host VNC client drops the
connection. From Gregory Nutt (2019-05-02).
* apps/netutils/libcurl4nx: This is an initial commit libcurl4nx. It is
not complete yet, but I still wish to commit the unfinished bits to
describe the roadmap, and because it is already usable. It will be
updated and fixed in the future weeks and months, certainly including
POST support and later, SSL.
Some improvements could be made by anyone. For example, I know the main
routine in perform() shall be split into several parts for readability. I
apologize in advance for this kind of spaghetti code, but I was short on
time to refactor it. Also chunked HTTP transfer encoding would be a nice
contribution from anyone interested. It is detected but not yet
supported. From Sebastien Lorquet (2019-05-03).
* graphics/twm4nx/src/cbackground.cxx: Should set the initial background
color immediately without waiting for a redraw. From Gregory Nutt
(2019-05-04).
* graphics/twm4nx/Kconfig: Add configuration to disable keyboard/mouse
input for testing purposes.
graphics/twm4nx/src/ciconmgr.cxx: Correct initial window size and
position in the upper right hand corner; Need to fill draw the button
array immediately on window creation.
graphics/twm4nx/src/cwindow.cxx: Need to fill the toolbar initially
with the widget background color.
From Gregory Nutt (2019-05-04).
* apps/graphics/NxWidgets: CNxTkWindow, CNxWindow, CNxServer: Add support
to create RAM backed windows. From Gregory Nutt (2019-05-04).
* apps/graphics/twm4nx: IconMgr window now comes up correctly. Need to
revisit window width setup. All windows are now created as RAM backed
windows. From Gregory Nutt (2019-05-04).
* apps/graphics/twm4nx: Add option to use touchscreen instead of mouse
input. Add option to use the touchscreen with no keyboard. From Gregory
Nutt (2019-05-04).
* graphics/twm4nx/src/cbackground.cxx: Add logic to handle polling for
background icon events.
graphics/twm4nx/src/window.cxx: Add flags to CWindow initializer to
support customization of toolbar buttons and other window properties.
Add framework to handle toolbar button presses. Window minimization
(aka, iconification) does not work.
graphics/twm4nx/src/input.cxx: Add support to scaling touchscreen. Not
needed for the current testing because the touchscreen naturally matches
the display size. But will be needed, along with calibration screen, in
the future. From Gregory Nutt (2019-05-05).
* apps/graphics/twm4nx: Add logic to hide the window when it is iconified
and restore the window when it is de-iconfied. Iconification works,
de-iconification does not. From Gregory Nutt (2019-05-05).
* apps/graphics/twm4nx: Try to improve icon text spacing. Not noticeably
better, however. Split long icon title on two lines below the icon
image. Both iconification and de-iconification now work. From Gregory
Nutt (2019-05-06).
* apps/graphics/twm4nx: Add initial support for the main menu. The main
menu will come up when a left click is performed on the background. The
main menu is used for starting applications. The adds the CMainMenu
class that implements the main menu and an IApplication interface class
the provides th template for how any external C++ application can add
itself to the Main Menu. Still missing is the logic that responds to the
menu item selection and sends the event to the Main Menu as well as the
logic in the Main Menu that handles the event and either brings up a
sub-menu or starts and application. From Gregory Nutt (2019-05-06).
* apps/graphics/twm4nx: Replace most usage of NUL-terminated C strings
with NXWidgets::CNxString. From Gregory Nutt (2019-05-06).
* apps/graphics/twm4nx: Exploit the new feature to create hidden windows.
This cleans up some brief window startup anomalies. Also fixes an
initialization error in CMenus. From Gregory Nutt (2019-05-07).
* apps/graphics/twm4nx: First cut at redesigned dragging logic. Window
dragging now sort of works in an unreliable hurky-jerkky way. More to be
done. From Gregory Nutt (2019-05-07).
* apps/graphics/twm4nx: Extend the IEventTaps interfaces and user's
thereof to better handle the cases when dragging where the mouse position
gets ahead of the window updates and the reported mouse position lies not
in the toolbar window, but in the main window or even outside of the
window. From Gregory Nutt (2019-05-07).
* apps/graphics/twm4nx: Add initial files to support an NxTerm
application. On this initial commit, these are just the NxWM NxTerm
files with some renaming. These are not finished and have not yet been
hooked into the build system. From Gregory Nutt (2019-05-08).
* apps/graphics/nxwidgets: CWidgetControl::handleLeftClick now returns a
value to indicate if the click was actually processed or not.
CWidgetControl::pollMouseEvents: Correct return value. From Gregory
Nutt (2019-05-08).
* apps/graphics/twm4nx: CBackground::event(): Implement logic to handle a
left click on the background and to bring up the main Menu.
CWindowEvent: Extend message to distinguish between keyboard and mouse
input. Mouse position and buttons now accompany the mouse input data.
CMenus: Add methods to query and control the visibility of the menu.
With these changes, the main menu appears when any location on the
background not occupied by an icon is clicked. From Gregory Nutt
(2019-05-08).
* apps/graphics/twm4nx: CMenus now uses CWindows, rather that raw NX
windows. This rippled through to many other things due to conflicts
between NUL-terminated C strings and NXWidgets::CNxStrings. From Gregory
Nutt (2019-05-08).
* apps/graphics/twm4nx: CWindow: Add a global function that can be used to
determine the minimum width of a window. If the window is set to a width
smaller than this, then toolbar items will overlap and the toolbar will
be corrupted. This is a global function (rather than a method of
CWindow) because in some cases, this minimum width must be known before
the window is created. From Gregory Nutt (2019-05-08).
* apps/graphics/nxwidgets: Add methods to all windows to query if a window
is visible or hidden. From Gregory Nutt (2019-05-09).
* apps/graphics/twm4nx: Better integrate menus and iconification: Bring-up
up a menu is like de-iconifcation, except there is no icon to be erases;
taking down a menu is like iconification except that there is no icon to
present.
apps/graphics/twm4nx: Use NxWidgets methods which work in all contexts
instead of trying to come up with a way to know if a window is displayed
through complex flags.
apps/graphics/twm4nx: Add logic so that the main menu is placed at (or
near) the position where the background was clicked.
apps/graphics/twm4nx: In resize operation, don't let window get narrower
than the minimum toolbar width.
apps/graphics/twm4nx: The Icon Manager now adds a Main Menu entry that
will de-iconify the Icon Manager or raise to the top of the hierarchy if
not iconfified. This is useful when there are many open windows.
From Gregory Nutt (2019-05-09).
* apps/graphics/twm4nx: Use button array vs list box for menus.
apps/graphics/twm4nx: Correct an error in how menu windows are created.
From Gregory Nutt (2019-05-10).
* apps/graphics/twm4nx: Add a 'Desktop' item to the main menu that will
iconify all windows and menus and just show the open desktop.
apps/graphics/twm4nx: Add more controls for the events that will be
generated on basic window redraw, mouse/keyboard input, and keyboard input.
apps/graphics/twm4nx: Add logic to support distribution of gnereric
application window events.
apps/graphics/twm4nx: Window events are now communicated properly to the
application-specific event handler. Menus now seem to be receiving
events and working well.
From Gregory Nutt (2019-05-10).
* apps/system/spi: I needed a small test tool for spi in the style of the
I2C tool, but I didn't see one so I've hacked one out of the I2C tool
source. From Dave Marples (2019-05-10).
* apps/graphics/twm4nx: Add new logic to place an icon at a reasonable
spot on the background. From Gregory Nutt (2019-05-11).
* apps/graphics/twm4nx: Modify how applications register with the main
menu. Add logic to support all possible menu selection notification
methods: By putting up a sub-menu, by starting an application, or be
sending an event. From Gregory Nutt (2019-05-11).
* apps/graphics/twm4nx: Add an IApplicationFactory interface. From
Gregory Nutt (2019-05-11).
* apps/graphics/twm4nx: This commit incorporates the NxTerm window hosting
NSH. This is just code complete and just compiles with no errors. The
NxTerm item does not appear in the Main Menu, however, selecting the menu
item does not yet bring up the NxTerm window.
apps/graphics/twm4nx: Clean up some logic associated with use of
multiple Icon Managers. From Gregory Nutt (2019-05-12).
* apps/graphics/twm4nx: Add missing event generation logic when a window is
closed.
apps/graphics/twm4nx: Fix a couple of errors in the unused resize
logic: It was not hiding the resize menu tso it appeared as a artifact
in the upplr left hand corner. Was calling setSize() on the window
instead of getSize(). That was causing errors because the size being set
was uninitialized. From Gregory Nutt (2019-05-12).
* apps/graphics/NXWidgets/: NXWidgets::CNxWidgets: Fix some issues with
returned values. On setting the widget size or position, it was
returning false if there was no change in size or position. Many places
in the code were treating the false return value as an error. From
Gregory Nutt (2019-05-12).
* apps/graphics/twm4nx: Simpify application startup.
apps/graphics/twm4nx: Various fixes to get the NxTerm window to come
up properly. It does now come up okay, but the system basically loses
its mind thereafter. Looks good until some buttons are pressed.
From Gregory Nutt (2019-05-12).
* apps/graphics/twm4nx: Fix several errors associated with the NxTerm
buttons. Most changes involved fixing crashes with the exit button is
pressed. Now the NxTerm windows behave well. However, they are not
receiving console input so there is still more to be done.
apps/graphics/twm4nx: Fix error in placement of icons on the desktop
From Gregory Nutt (2019-05-13).
* apps/graphics/twm4nx: Icons can now be moved, but there are artifacts:
Need to erase the old icon region on the background before drawing the
new icon image during the move. From Gregory Nutt (2019-05-13).
* apps/graphics/twm4nx: When moving icons, erase the old icon image before
drawing the new one.
apps/graphics/twm4nx: Add logic to detect collisions with reserved
regions in the background or with other icons when moving an icon on
the desktop.
From Gregory Nutt (2019-05-14).
* apps/graphics/twm4nx: Correct logic in Icon Manager for the case where
the number of windows causes the Icon Manager to increase in size by one
row.
apps/graphics/twm4nx: Fix an error in event notification sent by the
Icon Manager when a window is selected.
apps/graphics/twm4nx: In the Icon Manager, do not use the window name to
identify which button press corresponds to which Window. Window names
are not unique. Instead, it now keeps track of which row x column was
assigned to the window name. That row x column uniquely associates a
window with a button and does not depend on the window name in any way.
From Gregory Nutt (2019-05-14).
* apps/graphics/nxwidgets/src/cbuttonarray.cxx: Correct an error
CButtonArray. Was not correctly resizing the widget when the dimensions
of the button array changed. From Gregory Nutt (2019-05-15).
* apps/graphics/twm4nx: This is a complete redesign of the CResize class.
Only partially functional on initial commit. Initial testing is mixed.
The resize window appears, but nothing else good happens. No hardfaults
though.
apps/graphics/twm4nx: Forgot to install the IEventTap instance. Now
resizing kind of works, but I can't get out of it! There is a basic
problem in the window needs to be updated for the new size and there is
no mechanism in place to do that (at least not with RAM backed windows).
apps/graphics/twm4nx: Fix a bad width calculation.
From Gregory Nutt (2019-05-15).
* apps/graphics/twm4nx: Fix routing of redraw events.
apps/graphics/twm4nx: Other toolbar buttons need to be disabled while
resizing. Lots of problems if you decide to iconify or exit while
resizing. CResize now disables all buttons except for the RESIZE button
while resizing.
apps/graphics/twm4nx: Add an event and logic to support notification of
changes in the size of a window to NxTerm.
apps/graphics/twm4nx: Correct the maximum size of a message. Recent
changes caused message send failures because a message exceed that
previous maximum size. From Gregory Nutt (2019-05-16).
* Various updates to adapt to change in boardctl() interface. From Gregory
Nutt (2019-05-16).
* apps/graphics/twm4nx: During resizing, when the tool bar is drawn, the
toolbar background must be redraw before the buttons and title are
redrawn. From Gregory Nutt (2019-05-16).
* apps/graphics/nxglyphs: Add a new resize cursor image.
apps/graphics/twm4nx: Use new resize cursor image. From Gregory Nutt
(2019-05-17).
* apps/graphics/twm4ndx: Compile out cursor support if we are using a
mouse From Gregory Nutt (2019-05-17).
7.31 2019-07-21 Gregory Nutt <gnutt@nuttx.org>
* Remove some cases in Kconfig files of 'comment' with 'depends on'. That
is probably a good practice. I removed these because (1) is not done
elsewhere so it is just an inconsistency, and (2) the HTML generation
tool at nuttx/tools/kconfig2html.c would need to be extended to parse
that case. I don't have time to do that now. From Gregory Nutt
(2019-05-19).
* This change adds a calibration screen to Twm4Nx. In addition to the
Calibration screen port from NxWM, this required extensions to the event
handling logic to support (1) receiving raw, uncalibrated touchscreen
inputs, (2) shutting down of externally controlled windows. From Gregory
Nutt (2019-05-20).
* apps/graphics/twm4nx: Move application-related files into different
directories to separate them from the core Twm4Nx files. From Gregory
Nutt (2019-05-20).
* apps/graphics/twm4ndx: Compile out cursor support if we are using a
mouse. From Gregory Nutt (2019-05-20).
* apps/graphics/twm4nx: Fix an uninitialized variable that was causing
toolbar buttons to randomly come up enabled or disabled. Remove some
unused event definitions. From Gregory Nutt (2019-05-20).
* apps/graphics/twm4nx: Fix a calibration screen startup issue. Make an
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
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).
* apps/graphics/twm4nx: Use custom CWidgetStyle to force Icon background
to match selected desktop background. From Gregory Nutt (2019-05-21).
* apps/graphics/nxglyphs: Add more modern looking button images for the
Twm4Nx CONTEMPORARY theme. From Gregory Nutt (2019-05-21).
* apps/graphics/twm4nx: Add some definitions to support Themes.
Background image is now optional. From Gregory Nutt (2019-05-21).
* apps/graphics/twm4nx: Add a configuration option to control the number of
buttons in one column of the Icon Manager. The Icon Manager no longer
relies the default window width; now it determines a preferred window
width based primarily on the font size. From Gregory Nutt (2019-05-21).
* apps/: Removed all references to CONFIG_DISABLE_POLL. The standard
POSIX poll() can not longer be disabled. From Gregory Nutt (2019-05-21).
* apps/graphics/twm4nx: Revise logic to detect clicks on the background
image. The original implementation had some side effects. From Gregory
Nutt (2019-05-23).
* apps/graphics/twm4nx: Remove some remaining, unused stuff from TWM that
was never used. Menus need to close after the 'terminal' selection is
made. Otherwise, the menu can become buried under a newly open menu and
not easily recovered. From Gregory Nutt (2019-05-23).
* apps/graphics/twm4ndx: Add a 'critical' bit to the eventID. While
resizing, all events will be ignore except those marked critical.
* apps/graphics/twm4nx: CBackground now brings up the main menu if the
background image is clicked. This makes the behavior the same across all
of the background except when an icon is clicked. From Gregory Nutt
(2019-05-23).
* apps/graphics/twm4nx: Fix a bug in placement of icons on the desktop.
When many windows are displayed, a bug in the looping logic could cause
an infinite loop. From Gregory Nutt (2019-05-26).
* apps/graphics/twm4nx: Fix some errors found when enabling NX keyboard
support. The most important being that the mouse and keyboard drivers
need to be opened non-blocking. From Gregory Nutt (2019-05-26).
* apps/graphics/twm4nx/README.txt: Add an overview of how to create Twm4Nx
applications. From Gregory Nutt (2019-05-28).
* apps/graphics/slcd: Adds a CSLcd class that will generate graphic
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).
* 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
the ez80 build to fail. From Gregory Nutt (2019-06-03).
* nshlib/nsh_parse.c: Fix a warning about an uninitialized variable from
the ZDS-II compiler. From Gregory Nutt (2019-06-03).
* apps/netutils/netinit: MAC address configuration was represented by type
long long. That is a problem for architectures that do not support type
long long. Replaces by two long configuration items. From Gregory Nutt
(2019-06-03).
* apps/nshlib/nsh_ddcmd.c: Seemingly nonsense change but somehow works
around a compilation error using the ZDS-II toolchain. It was claiming
that vtbl was undefined indd_outfopen(). From Gregory Nutt (2019-06-03).
* apps/netutils/json: Removed. Replaced with apps/netutils/cjson. From
Gregory Nutt (2019-06-03).
* industry/abnt_codi, include/industry/abnt_code.h, examples.abntcodi:
Adds support for ABNT CODI library. This is an energy meter protocol
used in Brazil. From Alan Carvalho de Assis (2019-06-15).
* apps/wireless/gs2200m: Add usrsock daemon for Tilt GS2200M Wi-Fi module
From Masayuki Ishikawa (2019-06-18).
* apps/industry: Add .gitignore for Kconfig From Masayuki Ishikawa
(2019-06-28).
* apps/examples/webserver: Fix to compile with
CONFIG_NETUTILS_HTTPD_SENDFILE=y. Also some configs such as
CONFIG_NETUTILS_HTTPDFILESTATS can be selected by menuconfig. From
Masayuki Ishikawa (2019-07-03).
* netutils/webserver: Add mp3 mime type to httpd.c From Masayuki Ishikawa
(2019-07-04).
* netutils/webserver: Add directory listing to httpd From Masayuki
Ishikawa (2019-07-05).
* netutils/webserver: Add web server info based on uname() From Masayuki
Ishikawa (2019-07-05).
* netutils/webserver: Fix directory listing containing period in name From
Masayuki Ishikawa (2019-07-06).
* apps/netutils/cjson/Kconfig: stdio floating point support required.
cJSON requires floating point support in printf (specifically the 'g'
conversion specifier). Thus, select LIBC_FLOATINGPOINT when
NETUTILS_CJSON is selected. From Michael Jung (2019-07-07).
* neutils/webserver: Fix file corruption in httpd_dirlist.c From Masayuki
Ishikawa (2019-07-10).
* wireless/gs2200m: Add channel parameter for AP mode From Masayuki
Ishikawa (2019-07-10).
* apps/examples/chrono: Add chronometer apps example. From Alan Carvalho
de Assis (2019-07-17).
8.1 2019-09-14 Gregory Nutt <gnutt@nuttx.org>
* wireless/gs2200m: Add udp support to gs2200m_main.c. From Masayuki
Ishikawa (2019-07-25).
* netutils/dhcpd: Fixes bug where hwaddr was being used instead of
ipaddr in the ARP update. This bug seems to have been introduced 3
years ago during a rewrite to remove a direct OS call to arp. I'm not
sure how others have not run into issues with this. The behavior I
was observing was that the DHCPD would go to offer an IP address, but
then send a ARP request for the IP instead because it didn't know
where to send the data. From Anthony Merlino (2019-07-26).
* I8sak improvements:
- wireless/ieee802154: Adds support for getting/setting maxretries and
promsicuous mode from i8sak
- wireless/ieee802154/i8sak: Fixes a build warning and handles a few
cases where a fault can occur due to not catching missing
arguments. From Anthony Merlino (2019-07-26).
* apps/netutils/netinit/netinit.c: Improve cleanup, removing 1 of 2
warnings. Unhook PHY notification signal handler when cleaning up, if
an error occurs after the signal handler is put into place. From
Nathan Hartman (2019-07-26).
* apps/examples/webserver/webserver_main.c: Init network & run forever
only if not builtin app. Infer from CONFIG_NSH_BUILTIN_APPS if we are
a NSH built-in app or not. If built-in app (CONFIG_NSH_BUILTIN_APPS
defined) then we assume network is initialized prior to webserver
starting and we exit on webserver failure. If running standalone
(CONFIG_NSH_BUILTIN_APPS is undefined) then behavior is unchanged:
webserver initializes network and runs forever. From Nathan Hartman
(2019-07-26).
* apps/nshlib/nsh_fsutils.c: As noted by David S. Alessio, 'cat' should
not output any additional newline at the end of the cat'ed file
content. This was done to assure that the NSH prompt was presented on
a new line. However, that is not the correct behavior of 'cat' per
the IEEE std: "The standard output shall contain the sequence of
bytes read from the input files. Nothing else shall be written to the
standard output." Reference:
https://pubs.opengroup.org/onlinepubs/009695399/utilities/cat.html.
This commit changes the function nsh_catfile() which underlies the
'cat' command and well as other NSH commands. Although this is the
correct behavior for 'cat' it may not be the correct behavior for
other commands implemented via nsh_catfile(). That remains to be
determined. From Gregory Nutt (2019-07-29).
* wireless/gs2200m: Add DHCP client handling in ioctl_request() From
Masayuki Ishikawa (2019-07-30).
* apps/system/cle/cle.c: ASCII DEL should be treated by Delete-Left.
From Dave Marples (2019-08-01).
* apps/fsutils/passwd: Handle the improved the format of the
/etc/passwd file. It is now a little more similar to other systems.
From Gregory Nutt (2019-08-03).
* apps/examples/uid: Demo used to verify PASSWD and GROUP interfaces.
From Gregory Nutt (2019-08-04).
* Change name configs/ to boards/ in comments, Documentation, Tools,
etc. From Gregory Nutt (2019-08-05).
* Fix paths in README.txt files which have changed due to the
restructuring of nuttx/boards directory. From Gregory Nutt
(2019-08-05).
* Update configurations instructions in README.txt files to show ':'
delimiter vs '/' delimiter. From Gregory Nutt (2019-08-05).
* Update comments, README's, etc. to reflect changes to nuttx/boards
directory reorganization. From Gregory Nutt (2019-08-09).
* Change all occurrences of /bin/(ba)sh to /usr/bin/env bash which
appears more portable From Manuel St<53>hn (2019-08-10).
* wireless/ieee802154/i8sak: Fixes naming caused by naming change in
nuttx. From Anthony Merlino (2019-08-10).
* wireless/ieee802154/libmac: Adds support for getting/setting the FCS
length From Anthony Merlino (2019-08-10).
* i8sak: Allow setting the endpoint PAN ID. From Anthony Merlino
(2019-08-10).
* i8shark: Adds support for intentionally suppressing passing the FCS
so that Wireshark doesn't try to validate it. From Anthony Merlino
(2019-08-10).
* wireless/ieee802154/i8sak: Adds support for energy scan result
printout. From Anthony Merlino (2019-08-13).
* i8sak: Fixes conversion from extended address to IPv6 address. From
Anthony Merlino (2019-08-13).
* netutils/dhcpc: Add host name support to dhcp client From Masayuki
Ishikawa (2019-08-14).
* Bugfix/i2ctool dev clobbers slave config
- friendlier I2C "knock-knock" uses only read request. While many I2C
slave devices have multiple indexed registers, some have only one
register and it's not indexed. For example, the I2C bus switch
TCA9548A has only a Control Register, attempting to index to
"Reg[0]" alters its contents to 0x00 disabling all subordinate
buses. This patch fixes that problem by simply trying to read
something/anything from the slave. This also helps coax out 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 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
movement of builtin.h from nuttx/include/nuttx/binfmt/built.h to
nuttx/include/lib/builtin.h. From Gregory Nutt (2019-08-23).
* Makefile: Added support for application-specific export target. Used
by nuttx/tools/mkexport.sh. From Pavel Pisa (2019-08-30).
* wireless/gs2200m/gs2200m_main.c: ioctl_request() supports
SIOCGIFHWADDR. From Masayuki Ishikawa (2019-09-02).
* examples/pwm/pwm_main.c: Update the pwm header path. From Augusto
Fraga Giachero (2019-09-02).
8.2 2019-11-16 Gregory Nutt <gnutt@nuttx.org>
* netutils/netlib/netlib_autoconfig.c: Correct ICMPv6 socket create
error. From ligd (2019-09-15).
* Revert netutils/netlib: correct ICMPv6 socket create error. This
reverts a previous change. From Xiang Xiao (2019-09-20).
* system/symtab: Remove system/symtab since the same functionality
exist in nuttx now. From Gregory Nutt (2019-09-28).
* Fix minor typos in docs and comments. From Nathan Hartman
(2019-09-29).
* import/Makefile's: Remove symbol table generation from imports/Makefile
to avoid the confusion with the official method. From Xiang Xiao
(2019-10-01).
* examples/romfs: Remove romfs_testdir.h. That file is regenerated
whenever the example is built and so should not be in the repository.
From Gregory Nutt (2019-10-01).
* Remove the duplicated build script files from apps/impor/tools.
These will now be copied from nuttx/tools when the export package is
created. From Xiang Xiao (2019-10-01).
* tools/mksymtab.sh: Include nuttx/symtab.h instead of nuttx/binfmt/symtab.h.
From Xiang Xiao (2019-10-01).
* apps/Makefile: Remove EXE_DIR and put binary into bin folder like
nuttx. From Xiang Xiao (2019-10-01).
* apps/Makefile: Change BIN_DIR to BINDIR to follow nuttx style. From
Xiang Xiao (2019-10-01).
* apps/Makefile: Move APPDIR set to the first and remove APPDIR from
command line but ensure TOPDIR/BINDIR are always set in command line.
From Xiang Xiao (2019-10-01).
* Makefiles: Remove .PRECIOUS if Makefile doesn't touch libapps. From
Xiang Xiao (2019-10-01).
* apps/wireless Makefiles: Utilize Directory.mk for consistency. From
Xiang Xiao (2019-10-01).
* Makefiles: Change ${shell pwd} to $(CURDIR) since pwd doesn't exist on
Windows From Xiang Xiao (2019-10-02).
* Application.mk: Support the ability to change the CFLAGS for the
compilation of a single file. Set special compiler options as follows the rule:
sourcefile + fixed suffix "_[A|C|CPP|CXX]FLAGS"
apps/examples/hello/Makefile:
$(SRCDIR)/hello_main.c_CFLAGS = -DTEST From Xiang Xiao (2019-10-03).
* apps/Makefile: Make libapps overwritable. From Xiang Xiao (2019-10-03).
* CONFIG_BUILD_LOADABLE: Check the kernel function callable by BUILD_KERNEL
instead of BUILD_LOADABLE since BUILD_LOADABLE could be turned on even
with BUILD_FLAT. From Xiang Xiao (2019-10-03).
* Clean up Makefile under apps folder no functional changes. From Xiang
Xiao (2019-10-04).
* fsutils/passwd/passwd_lock.c: Use named semaphore by checking
CONFIG_FS_NAMED_SEMAPHORES instead of CONFIG_KERNEL_BUILD. From Xiang
Xiao (2019-10-04).
* system/lzf/lzf_main.c: Check the protection by CONFIG_SYSTEM_LZF !=
CONFIG_m (not elf binary) instead of CONFIG_KERNEL_BUILD. From Xiang
Xiao (2019-10-04).
* Fix typo error in testing/cxxtest. From Xiang Xiao (2019-10-04).
* Application.mk: Correct an error in PATH usage. Use of toolchain
path causes make errors. From Gregory Nutt (2019-10-04).
* apps/; Change space to tab and help to ---help--- in Kconfig files.
From Xiang Xiao (2019-10-05).
* Some improvements to netutils/cjson and testing/unity
- netutils/cjson/Makefile: fix the error when creating Make.dep
- testing/unity/Makefile: fix the error when creating Make.dep
- include/.gitignore: ignore cJSON headers
- netutils/cjson/Kconfig: update default version to 1.7.12. Previous
releases raise compilation warnings about redefined true/false From
raiden00pl (2019-10-06).
* Application.mk and main.c files: Change builtin's entry point from
main to xxx_main by macro expansion. This change make the entry point
fully compliant with POSIX/ANSI standard. From Xiang Xiao (2019-10-06).
* apps.: Remove the inappropriate NSH_BUILTIN_APPS coupling
1. Check NSH_NETINIT for self network initialization
2. Check NSH_ARCHINIT for sel arch specific initialization
3. Always show help regardless of NSH_BUILTIN_APPS
4. Loop forever regardless of NSH_BUILTIN_APPS, user could:
a.change the default behavior by the command line argument
b.or ctrl+c to break out the loop From Xiang Xiao (2019-10-07).
* apps/system/composite: Remove usb serial loopback test code we can
achieve the same effect by cat or dd command. From Xiang Xiao
(2019-10-07).
* apps/: In Makefiles remove 'INCDIROPT = -w' which is already defined
in apps/Make.defs. From Xiang Xiao (2019-10-07).
* Makefile, Application.mk: Clean up cygpath usage
1.Remove cygpath from the related path since the conversion isn't
necessary
2.Call cygpath inplace for the absolute path to avoid the confusion
From Xiang Xiao (2019-10-07).
* tools/mkromfsimg.sh: Use sed to add const to ROMFS declarations so
that they like in FLASH not RAM. From Bernd Walter (2019-10-07).
* examples/serialblaster, serialrx, udpblaster: Update to serial/UDP
tests. From Anjana (2019-10-11).
* nshlib/ and system/cle: Add basic color support to the CLE editor.
From Dave Marples (2019-10-12).
* Feature/i2c dump:
- friendlier I2C "knock-knock" uses only read request. While many I2C slave
devices have multiple indexed registers, some have only one register and it's
not indexed. For example, the I2C bus switch TCA9548A has only a Control
Register, attempting to index to "Reg[0]" alters its contents to 0x00
disabling all subordinate buses. This change fixes that problem by simply
trying to read something/anything from the slave. This also helps coax out
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
- add 'dump' command to issue a single transaction to retrieve multiple bytes
from an I2C slave and register/offset.
- use NuttX' isprint()
- refactor to reduce coupling, hexdump only needs outstream From David Alessio
(2019-10-14).
* apps/system/i2c: Fix up some complaints from nxstyle. From Gregory Nutt
(2019-10-15).
* Makefiles: This reverts part of a previous change. This restores 'conditional'
inclusion of TOPDIR/Make.defs. Otherwise all make targets fail if the board has
not been configured. That is okay most of the time, but not for things like
clean and distclean which should not depend on being configured. From Gregory
Nutt (2019-10-15).
* Bugfix/spitool exch parse txdata
* apps/system/cle/cle.c: Fix warning, re-order to follow coding standard. From
Xiang Xiao (2019-10-17).
* apps/: In all Make.def files, append to CONFIGURED_APPS with the absolute
path. From Xiang Xiao (2019-10-17).
* apps/: Move the common variable definitions from other build-related files into
apps/Make.defs. From Xiang Xiao (2019-10-17).
* In all Make.defs files, append CONFIGURED_APPS with the consistent ifeq/ifneq.
From Xiang Xiao (2019-10-17).
* graphics/twm4nx/Makefile: Fix a recently introduced error that broke all Twm4Nx
configurations. From Gregory Nutt (2019-10-17).
* apps/examples/nxterm/Makefile: PROGNAME, PRIORITY, STACKSIZE varialble names
did not match declarations in Kconfig file. From Gregory Nutt (2019-10-17).
* apps/system/spi: Add options to spec devtype, id for chip select. From David
S. Alessio (2019-10-18).
* examples: RTTL player example. A simple RTTL player demo that is able to play
tunes according to an RTTL song.
References
https://en.wikipedia.org/wiki/Ring_Tone_Transfer_Language
https://cs.nyu.edu/courses/fall03/V22.0201-003/notes.htm From Alin Jerpelea
(2019-10-18).
* apps/examples/udp, nettest, flowc, tcpblaster, and udpblaster: Back out parts
of a previous change that broke the build of these examples. From Gregory Nutt
(2019-10-18).
* apps/Application.mk: Fix main redefine warning by using per file
CFLAGS/CXXFLAGS. From Xiang Xiao (2019-10-19).
* examples/nxlines/Kconfig: Correct nxlines example program name. From Gregory
Nutt (2019-10-19).
* apps/nshlib/nsh_fscmds.c: The NSH mkrd command was in violation of the NuttX
portable POSIX interface. it was calling the internal OS function
ramdisk_register() directly. No only is this a violation of the interface
specification, but also prevents use of mkrd in PROTECTED or KERNEL buils.
With this change, the NSH mkrd command now used the BOARDIOC_MKRD boardctl()
command. This command is availabe in all build modes. The effect of this
change is to move the hear of the NSH mkrd command into to OS and provide
user-space access via boardctl(). From Gregory Nutt (2019-10-26).
* apps/examples/mount: Replace illegal call to ramdisk_register() with a call to
boardctl(BOARDIOC_MKRD). From Gregory Nutt (2019-10-26).
* apps/nshlib/Kconfig and examples/mount/Kconfig: Automatically select
CONFIG_DRVR_MKRD is it is needed by the configuration. From Gregory Nutt
(2019-10-26).
* apps/nshlib: Tighten up some of the conditional logic for mkrd. From Gregory
Nutt (2019-10-26).
* nshlib/nsh_romfsetc.c and graphics/traveler/trv_romfs.c: Replace direct calls
to romdisk_register() with indirect calls via boardioctl(BOARDIOC_ROMDISK).
This not only fixes the violation of the portable POSIX OS interface, but also
permits use of ROM disks in PROTECTED and KERNEL modes. There are still
multiple illegal calls to romdisk_register() from code under apps/examples.
These all must also be converted to use boardioctl(BOARDIOC_ROMDISK) someday.
From Gregory Nutt (2019-10-26).
* Makefile: Fix warning: jobserver unavailable: using -j1. Add '+' to parent make
rule. From Xiang Xiao (2019-10-29).
* apps/nshlib/nsh.h: nsh: Remove the redundant check for netcmd. Checking
FS_PROCFS and FS_PROCFS_EXCLUDE_NET is enough and make the type of network
device could be shown by ifconfig. From Xiang Xiao (2019-11-03).
* apps/nshlib: Add rptun cmd for boot remote core. From ligd (2019-11-03).
* apps/nshlib/README.txt: Update to include the new rptun command. From Gregory
Nutt (2019-11-03).
* apps/nshlib/README.txt: Update to include the new rptun command. From Gregory
Nutt (2019-11-03).
* netutils/netlib/netlib_getarptab.c: Add a function to read the entire ARP
table using NETLINK_ROUTE protocol. From Gregory Nutt (2019-11-03).
* nshlib/nsh_netcmds.c: Add a -t option to the arp command which will enable
printing the entire ARP table. From Gregory Nutt (2019-11-03).
* netutils/netlib/netlib_getarptab.c: Misc fixes from initial testing with the
'arp -t' commeand. From Gregory Nutt (2019-11-03).
* apps/nshlib/nsh_netcmds.c: Fix some alignment in output of 'arp -t' command.
From Gregory Nutt (2019-11-03).
* apps/examples/bmi160: Add bmi160 example app. This app will read the BM160
data and list it on the NSH console. From Alin Jerpelea (2019-11-04).
* apps/examples/charger: Simple charger example that will display on the console
voltage and current values. From Alin Jerpelea (2019-11-04).
* apps/nshlib: Add new NSH command, 'pmconfig'. From ligd (2019-11-04).
* 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
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
interface more consistently and has removed the observed race conditions. It
was previously a mix of streams and fileio. It also simplifies the VT100 cursor
position handling. From Dave Marples (2019-11-04).
* apps/netutils/netlib/netlib_getarptab.c: Fix typos in comments. From Gregory
Nutt (2019-11-04).
* 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).
* 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
(2019-11-07).
* nshlib/Kconfig: Add missing NSH_DISABLE_DMESG, typos. From Juha Niskanen
(2019-11-08).
* apps/system/usrsock_rpmsg: Add rpmsg based usrsock implementation. From Jianli
Dong (2019-11-08).
* netutils/netlib/netlib_getnbtab.c: Add support for retrieving a snapshot of the
IPv6 neighbor table using Netlink sockets. From Gregory Nutt (2019-11-08).
* apps/system/usrsock_rpmsg/Make.defs: Correct configured application name. From
chao.an (2019-11-09).
* apps/netutils/netlib/netlib_getnbtab.c: Add a utility function that will return
a list of all network devices in the UP state. From Gregory Nutt (2019-11-09).
* netutils/netlib/netlib_getroute.c: Add function to retrieve routing tables
using netlink. From Gregory Nutt (2019-11-10).
* Make.defs: Fix nuttxtoolsunlink.sh: Command not found. From Xiang Xiao
(2019-11-11).
* apps/system/usrsock_rpmsg/usrsock_rpmsg_server.c: Fix
usrsock_rpmsg_server.c:554:7: warning: 'i' may be used uninitialized in this
function [-Wmaybe-uninitialized]. From Xiang Xiao (2019-11-11).
* apps/examples/netlink_route: Add test/example of NETLINK_ROUTE 'get'
operations. apps/netutils/netlib: Fixes to NETLINK_ROUTE helpers found by
testing with apps/examples/netlink_route. From Gregory Nutt (2019-11-11).
* examples/netlink_route/netlink_route_main.c: Use options to disable individual
NETLINK_ROUTE commands. From Gregory Nutt (2019-11-12).
* netutils/netlib/netlib_getdevs.c: Add comments and a placeholder for the
RTM_NEWROUTE response. From Gregory Nutt (2019-11-12).
8.3 2020-xx-xx Gregory Nutt <gnutt@nuttx.org>