Commit Graph

2067 Commits

Author SHA1 Message Date
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
Gregory Nutt
ee7df4a0ab Remove carriage returns from a new file 2015-11-27 13:05:02 -06:00
Gregory Nutt
32b992971b apps/nshlib: The 'ifconfig' command now uses /proc/net/stat to show network statistics. A consequence of this is that you cannot view network statistics if the procfs is not enabled and mounted at /proc 2015-11-27 13:04:11 -06:00
Gregory Nutt
0c03c1e840 NSH ls command should strip any trailing '/' characters from paths 2015-11-27 12:28:46 -06:00
Gregory Nutt
f48d95e941 Use lower case labels in ifconfig driver statistics to better match other labels 2015-11-27 07:36:49 -06:00
Gregory Nutt
981e74b810 If CONFIG_NETDEV_STATISTICS=y, then ifconfig will now print network driver statistics 2015-11-26 14:43:34 -06:00
Gregory Nutt
d3e08fa378 Eliminate some warnings in certain tiny configurations 2015-11-26 12:33:16 -06:00
Gregory Nutt
1150be4a7c Update README 2015-11-25 18:35:23 -06:00
Gregory Nutt
a62bf6727f NSH no long calls losetup() and loteardown() directly. Now it uses /dev/loop and performs these operations using ioctl() calls 2015-11-25 17:55:16 -06:00
Gregory Nutt
882ae41aee If CONFIG_LIBC_LOCALTIME or CONFIG_TIME_EXTENDED are defined, then the NSH date command should also show the day ofo the week 2015-11-25 12:52:36 -06:00
Gregory Nutt
e910671474 Merged in paulpatience/nuttx-apps/serialrx (pull request #26)
examples/serialrx: Don't print 'Received:\n' before printing bytes received
2015-11-25 10:14:06 -06:00
Paul A. Patience
32ae747c7b examples/serialrx: Don't print 'Received:\n' before printing bytes received 2015-11-25 10:32:20 -05:00
Ken Pettit
b34bfb02e1 NSH: Extend mount command to include mount options argument. From Ken Petit 2015-11-25 08:49:29 -06:00
Gregory Nutt
c195b5415e Merged in paulpatience/nuttx-apps/serialrx (pull request #25)
examples/serialrx: Add configuration options to print the bytes received
2015-11-24 16:09:53 -06:00
Paul A. Patience
e6137fc615 examples/serialrx: Add configuration options to print the bytes received 2015-11-24 16:36:00 -05:00
Gregory Nutt
7e43708e9c Remove unnecessary inclusion of nxtk.h 2015-11-24 07:56:20 -06:00
Gregory Nutt
c3b09d5d8b NSH: By default, basename and dirname should be disabled if scripting is disabled 2015-11-23 17:22:37 -06:00
Gregory Nutt
f2ea88fc9e NSH: Like bash, NSH set command should strip off any leading or trailing whitespace 2015-11-23 11:18:32 -06:00
Gregory Nutt
178c9780a8 NSH: Add support for basename and dirname commands 2015-11-23 10:21:15 -06:00
Gregory Nutt
ea7aab8afa Upate ChangeLog 2015-11-23 07:02:27 -06:00
Ken Pettit
ad48d89fe2 mksmartfs: Move into apps/fsutils from kernel, now uses only open and ioctl. Add configuration option to supported multiple root directories. From Ken Petit 2015-11-23 06:59:56 -06:00
Ken Pettit
efbbd7bac0 examples/smart-test: Adds a circular log type test for SMARTFS wear level code testing. From Ken Petit 2015-11-22 17:22:05 -06:00
Gregory Nutt
c0fa1d0970 hexed: Remove write-only variable 2015-11-22 13:33:43 -06:00
Gregory Nutt
37401b9889 hexed: Minor improvements 2015-11-22 12:56:19 -06:00
Gregory Nutt
b1ef1169b9 hexed: Fix some misc. issues 2015-11-22 12:00:20 -06:00
Gregory Nutt
3e10f0084b debugging system/hexed. Still does not work 2015-11-22 09:55:29 -06:00
Gregory Nutt
1a6100f1ec Remove some dangling whitespace 2015-11-21 18:33:26 -06:00
Gregory Nutt
2ff6775ac9 Add the hexed command line hex editor. See http://apps.venomdev.net/hexed/ 2015-11-21 18:32:04 -06:00
Gregory Nutt
146f126ead nshlib: Now that NuttX automatically converts block to character devices, the implemention of the DD command no longer has to muck with block to character conversion 2015-11-21 11:57:41 -06:00
Ken Pettit
cbe1b3a415 drivers/mtd/smart.c Fixed SmartFS wear level error that occurs when the logical sector size is too small to save all wear level status bytes in a single sector. Logical sectors 1 and 2 were simply not being allocated and then the read_sector and write_sector routines were failing. From Ken Petit 2015-11-18 18:20:42 -06:00
Gregory Nutt
cfc38a45fa Remove inclusion of removed header file 2015-11-17 16:30:57 -06:00