Commit Graph

1997 Commits

Author SHA1 Message Date
Gregory Nutt
19efbf8b87 OS test: Mark some constants as long to avoid overflow when used the AVR8. Example, 500*1000 overflows when type int is only 16-bits, but 500*1000L avoids the overflow 2016-01-08 07:48:50 -06:00
Gregory Nutt
50f44f23f2 Fix an error in last commit; eliminate a warning 2016-01-06 10:14:09 -06:00
Gregory Nutt
186a101d2c NSHL: Format strings for nsh_output should all have IOBJ qualifier 2016-01-06 08:31:56 -06:00
Gregory Nutt
96ee336278 apps/examples/hello: Can now select task priority and stacksize 2016-01-06 07:47:08 -06:00
Gregory Nutt
cb6a914d08 NSH: All nsh_output strings tagged with IOBJ so that they may be stored in FLASH on AVR 2016-01-05 16:38:50 -06:00
Gregory Nutt
611bd4684f Update some comments 2016-01-04 12:36:38 -06:00
Gregory Nutt
d5df336821 Trivial update to README 2016-01-01 12:16:19 -06:00
Gregory Nutt
31629ee982 Update README 2016-01-01 09:09:34 -06:00
Gregory Nutt
949b4bd520 Correct a statement in the description of the time command 2015-12-31 10:23:11 -06:00
Gregory Nutt
6c89c01cf5 Fix a scaling error in the new time command 2015-12-31 10:03:04 -06:00
Gregory Nutt
3b3b8faf68 Trivial update to README 2015-12-31 09:19:19 -06:00
Gregory Nutt
f09b7e400f NSH: Add a time command that can be used to time other commands 2015-12-31 09:16:38 -06:00
Gregory Nutt
d5f8008931 OS test: Add a test of POSIX timers using SIGEV_THREAD. Also, clean up many warnings with building on a PC with 64-bit addresses 2015-12-30 16:29:21 -06:00
Alan Carvalho de Assis
1308399564 apps/examples/pca9635: Add a simple test of PCA9635PW PWM LED driver. From Alan Carvalho de Assis. 2015-12-15 14:10:21 -06:00
Gregory Nutt
41c673d95d apps/examples/module: cosmetic update to printf statements 2015-12-14 13:21:39 -06:00
Gregory Nutt
15201642b3 Minor adjustment of spacing 2015-12-13 10:39:13 -06:00
Gregory Nutt
a620f99306 Update README; trivial changes to lsmod output format 2015-12-13 10:30:47 -06:00
Gregory Nutt
f0a21d3d48 NSH: Add module commands: insmod, rmmod, and lsmod 2015-12-13 09:55:52 -06:00
Gregory Nutt
d198f09ae3 Update examples/module and system/symtab to adjust to change in boardctl() and insmod() interfaces 2015-12-13 08:14:44 -06:00
Gregory Nutt
469a7fdf0f examples/module: Update for changes in function prototypes 2015-12-12 17:43:06 -06:00
Gregory Nutt
052392f36c examples/module. Module should not link with libc because it has out-of-range function calls 2015-12-12 14:00:34 -06:00
Gregory Nutt
ad4bcac7a0 apps/examples/module: Some fixes 2015-12-12 11:49:34 -06:00
Gregory Nutt
6c14e176d9 apps/examples/module: Now exercises rmmod as well 2015-12-12 11:40:33 -06:00
Gregory Nutt
d02295d1f2 apps/examples/module: Add a test harness for testing NuttX kernel modules 2015-12-12 09:43:32 -06:00
Gregory Nutt
cfcd396861 apps/netutils/ping: This is an unfinished implementation of ping/ping6 using raw packets. Not yet even hooked into the build and configuration systems 2015-12-11 09:09:38 -06:00
Gregory Nutt
c0d0a0821a netutils/telnetd: No longer calls OS interfade telnet_driver. Now creates Telnet sessions by open a new factory device at /dev/telnet and then using ioctl calls to create the session character drivers at /dev/telnetN. 2015-12-07 13:51:37 -06:00
Gregory Nutt
ba8d44d799 netutils/telnetd: Move the Telnet driver to nuttx/drivers/net 2015-12-07 09:29:29 -06:00
Gregory Nutt
9faf23290c netutils/telnetd: Remove unused parameter from telnetd_driver 2015-12-07 08:15:50 -06:00
Gregory Nutt
449af751a8 Eliminate a warning 2015-12-05 10:36:19 -06:00
Gregory Nutt
652853c7d1 NSH DD command: Use nsh_freefullpath() instead of free(). Actually, these are the so this does not fix bug. It is just needed for symmetry. 2015-12-02 14:10:50 -06:00
Gregory Nutt
aa35ebb6b6 Correct a typo in CONFIG_NSH_IPADDR help text. 2015-12-02 16:17:50 +00:00
Gregory Nutt
eb1360d56e NSH: Add group ID or parent PID to ps command output (if available) 2015-11-30 08:05:34 -06:00
Gregory Nutt
0798b5ff20 Remove more warnings 2015-11-29 15:00:52 -06:00
Gregory Nutt
ee1b1da4be Fix some errors/warnings detected by nuttx/tools/testbuild.sh 2015-11-29 14:41:34 -06:00
Gregory Nutt
997ba578e4 Default value for LOSMART support should be disabled if MTD_SMART is not selected 2015-11-29 07:20:09 -06:00
Gregory Nutt
cee429beac Update NSH README. Update ps examples 2015-11-28 17:52:25 -06:00
Gregory Nutt
793f445f54 Update README 2015-11-28 17:28:54 -06:00
Gregory Nutt
30efc709bc Fix spelling of Ken's last name in ChangeLog 2015-11-28 15:07:14 -06:00
Gregory Nutt
7e7dd916ce 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 15:03:21 -06:00
Gregory Nutt
082b452016 Move string trimming logic in nsh_fsutils.c as nsh_trimspaces() 2015-11-28 15:01:00 -06:00
Gregory Nutt
64c7e31896 nshlib: Correct an error message 2015-11-28 11:57:37 -06:00
Gregory Nutt
88d3ac1c92 apps/nshlib: nsh_readfile() should not be marked as static 2015-11-28 11:39:50 -06:00
Gregory Nutt
631c9cec12 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 # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. 2015-11-28 11:13:47 -06:00
Ken Pettit
d82b8a2e23 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 Ket Petit. 2015-11-28 09:05:05 -06:00
Gregory Nutt
92b1eb36c8 nshlib: Move trim_dir() and foreach_direntry() from nsh_fscmds.c to nsh_fsutils.c as nsh_trimdir() and nsh_foreach_direntry(), respectively 2015-11-28 08:29:27 -06:00
Gregory Nutt
510f325ae4 nshlib: Use CONFIG_NSH_PROC_MOUNTPOINT instead of literal /proc; Move readfile() from nsh_proccmds.c to nsh_fsutils.c as nsh_readfile() 2015-11-28 07:23:08 -06:00
Gregory Nutt
fdb4ee7f48 Update README 2015-11-27 17:54:20 -06:00
Gregory Nutt
0fb32570ff 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 17:47:09 -06:00
Gregory Nutt
bb88ff9b12 nshlib/: ifconfig now uses /proc/net/eth0 to display network configuration. You will need to enable the procfs file system in order to use ifconfig 2015-11-27 16:57:22 -06:00
Gregory Nutt
6c6df5e4ed Remove some ifdef'ed out logic 2015-11-27 13:54:04 -06:00