Gregory Nutt
1e23b30afe
more issues with last change: netmask must be in network order.
2017-08-10 16:08:09 -06:00
Gregory Nutt
654d526a69
NSH addroute/delroute: Fix an indexing problem introduced with previous commit.
2017-08-10 11:40:12 -06:00
Gregory Nutt
52e4da1e41
NSH addroute and delroute: All 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 10:30:20 -06:00
Gregory Nutt
f58768db3d
NSH library: Update addroute and delroute command. The would support either IPv4 or IPv6, but not both.
2017-08-10 09:15:44 -06:00
Gregory Nutt
3b8c97747d
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 14:30:34 -06:00
Gregory Nutt
d6050d70a2
NSH library: Extend ifconfig command so that it can set variable length packet radio addresss.
2017-08-02 13:13:19 -06:00
Gregory Nutt
c343fc618e
apps/netutils/netlib: Add support for PktRadio IOCTL commands.
2017-08-02 12:40:50 -06:00
Gregory Nutt
7d0037b08a
NSH: Misc changes needed for PktRadio support.
2017-07-30 16:03:56 -06:00
Gregory Nutt
7441c5422f
Socket I/F: Cleanup for good CONFIG_NET_PKT build.
2017-07-14 13:43:04 -06:00
Masayuki Ishikawa
ef04aeaead
NSH library: Fix build break in nsh_command.c with IPv4/IPv6 dual stack.
2017-07-04 10:13:26 +09:00
Gregory Nutt
d81d9c419b
Eliminat a warning when both Ethernet and 6LoWPAN are enabled; improve some naming.
2017-07-02 11:28:12 -06:00
Gregory Nutt
28415d662b
netutils/telnetd and users of telnetd: Add support for IPv6.
2017-06-27 09:14:13 -06:00
Gregory Nutt
98204bad94
system/telnet: POLL must not be disabled in configuration. Telnet client port argument is no optional.
2017-06-27 07:46:16 -06:00
Gregory Nutt
9091716419
revise some of the state handling in the previous commit.
2017-06-26 18:16:05 -06:00
Gregory Nutt
342de81641
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 18:00:13 -06:00
Gregory Nutt
d5a897fa1b
Merge branch 'master' of bitbucket.org:nuttx/apps into ieee802154
2017-06-19 13:35:34 -06:00
Gregory Nutt
2f975e8f06
nshlib: fix size of 6LoWPAN extended address.
2017-06-19 09:47:17 -06:00
Oleg Evseev
f13d4125a4
Merged in lukegluke/apps (pull request #91 )
...
fix copy-paste typo in nsh_usbconsole.c
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-06-19 15:29:09 +00:00
Oleg Evseev
8ee1e79d03
fix copy-paste typo in nsh_usbconsole.c
2017-06-19 15:05:06 +00:00
Gregory Nutt
2bb14d854d
L should be capitalized in 6LoWPAN
2017-06-18 16:02:11 -06:00
Gregory Nutt
2e4740e6bb
i8sak: Missing newline in fprintf output
2017-06-18 11:28:36 -06:00
Gregory Nutt
9485744265
NSH network initialization: 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 11:31:04 -06:00
Gregory Nutt
22d9c69d87
NSH network configuration: Re-factor a function that has gotten too big and too complex.
2017-06-17 10:37:31 -06:00
Gregory Nutt
033b42789b
NSH: 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.
2017-06-17 10:04:18 -06:00
Masayuki Ishikawa
41dee001ad
Merge branch 'master' into bug_fix_by_sony
2017-05-22 09:13:02 +09:00
Gregory Nutt
4e7b17d783
Fix some typos in comments.
2017-05-21 12:05:07 -06:00
Gregory Nutt
8c1446671c
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 12:00:55 -06:00
Simon Piriou
523d7645c4
wapi: add basic wapi_event_stream_extract implementation
2017-05-21 16:24:49 +02:00
Nobutaka Toyoshima
3a8cfb6c04
nshlib: Fix a resource leak in cmd_hexdump()
...
Jira: PDFW15IS-265
Coverity-ID: 10786
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2017-05-20 17:57:03 +09:00
Sebastien Lorquet
ea1025ead2
DHCPC: Remove hard-coded interface device. Now passed as a parameter to dhcpc_open().
2017-05-19 15:31:22 -06:00
Sebastien Lorquet
297844b1ce
Fix comments formatting
2017-05-19 17:50:26 +02:00
Sebastien Lorquet
aefddc3648
Second batch of changes (no problems)
2017-05-19 17:37:17 +02:00
Gregory Nutt
13911d9b17
Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they.
2017-05-11 13:40:03 -06:00
Gregory Nutt
1bad025c81
Cosmetic changes to comments
2017-05-11 07:46:08 -06:00
Gregory Nutt
5fbf2fd8d1
NSH wireless setup: Move call to nsh_associate(). It should be possible to associate with an AP when DHCPC is disabled.
2017-05-09 06:39:08 -06:00
Gregory Nutt
8380447e1a
Merge remote-tracking branch 'origin/master' into ieee802154
2017-05-08 14:31:54 -06:00
Gregory Nutt
0376019c35
WPA associate: NSH was not setting the algorithm parameter.
2017-05-08 13:28:08 -06:00
Gregory Nutt
6ec8e56f89
Merge remote-tracking branch 'origin/master' into ieee802154
2017-05-06 11:30:48 -06:00
Gregory Nutt
40a1fbf498
Forgot to add a file in the last commit.
2017-05-06 11:28:56 -06:00
Gregory Nutt
a0915850b9
wireless/wapi: wpa_driver_wext_associate() now accepts a configuration parameter that can be used to specify the wireless properties. 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 setwork the network as configured.
2017-05-06 11:28:11 -06:00
Gregory Nutt
44ace8e1cc
6loWPAN: Replace some Rime address naming with more consistent short/exended address terminology
2017-05-04 08:21:12 -06:00
Simon Piriou
33027bd66e
wireless/wext: Add drivers_wext from the WPA supplicant; Integrate into NSH
2017-05-02 09:43:48 -06:00
Gregory Nutt
a5c439777d
nshlib/nsh_netinit.c: If IEEE802.11 selected use wlan0 instead of eth0 for network device name.
2017-05-02 08:26:21 -06:00
Gregory Nutt
5b7f2b0ce2
Eliminate a warning
2017-04-29 08:52:10 -06:00
Gregory Nutt
08b2fee0fb
NSH: Needs to include tftp.h if TFTP no disabled
2017-04-29 08:42:26 -06:00
Ian McAfee
8007332ab1
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.
2017-04-26 17:54:56 -06:00
Gregory Nutt
ad608c705c
nshlib: nsh_netcmds.c should include netlib.h even if neither TCP nor UDP are enabled
2017-04-25 08:25:23 -06:00
Gregory Nutt
c2bdd49421
netlib and NSH: Add logic to set the IEEE802.15.4 PAN ID.
2017-04-19 18:10:39 -06:00
Masayuki Ishikawa
6b75120352
NSH library: Fix open flags in nsh_codeccmd.c
...
Jira: PDFW15IS-2824
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2017-04-19 16:12:44 +09:00
Gregory Nutt
775d1052a5
NSH set command: Eliminate useless argc check of SCRIPTS are enabled but ENVIRONMENT is disabled
2017-04-09 12:03:18 -06:00
Gregory Nutt
169bcab331
NSH: Eliminate warning about unused variable.
2017-04-09 11:54:59 -06:00
Gregory Nutt
8369052a22
NSH library: Extend ifconfig to support 6loWPAN. Adapt to some changes in configuration variable usage.
2017-04-08 12:21:40 -06:00
Gregory Nutt
194c2d86a8
6loWPAN: Add network IOCTL support to set the node address
2017-04-06 16:00:41 -06:00
David Sidrane
35cf98d4df
Print expanded variables if -x
2017-04-05 18:31:47 -06:00
David Sidrane
d03aa9112e
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.
2017-04-05 18:25:59 -06:00
Gregory Nutt
eef0161dd4
examples/nettest: Trying to adapt to use for testing 6loWPAN.
2017-04-03 15:33:39 -06:00
Gregory Nutt
efa2de16a4
NSH: Fix some warnings about integer/pointer casts of different sizes (probably only effects 64-bit simulation)
2017-04-03 09:26:10 -06:00
Jussi Kivilinna
3e2743e826
nshlib: fix building when CONFIG_NET_USRSOCK enabled with other link-layer
2017-03-31 09:10:55 -06:00
Tomasz Wozniak
71b45ed2c2
built-in libc defect workaround: replace '%6.6u' format with an equivalent '%06u'
2017-03-21 09:39:51 +01:00
Gregory Nutt
2ef46ce4ba
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 08:07:22 -06:00
Alan Carvalho de Assis
8e7ed15cce
NSHLIB uname command: Eliminate 'defined but not used' warning in some configurations
2017-03-07 15:36:18 -06:00
Alan Carvalho de Assis
d506939b59
NSHLIB ps command: Eliminate 'defined but not used' warning in some configurations
2017-03-07 15:10:17 -06:00
Gregory Nutt
a7e34f3b97
Make use of FAR storage class consistent
2017-02-27 07:54:21 -06:00
Gregory Nutt
fa4b047d35
Fix typo in last commit
2017-02-27 07:49:49 -06:00
Gregory Nutt
590791e12d
NSH: Eliminate a warning when all memory inspection commands are disabled.
2017-02-27 07:30:52 -06:00
Gregory Nutt
bab5df0966
Eliminate a warning about an unused variable.
2017-02-27 07:30:52 -06:00
Gregory Nutt
81645fe18f
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 15:58:15 -06:00
Gregory Nutt
740b528199
apps/examples/stat: Add a simple test for stat(), fstat(), and statfs().
2017-02-13 14:08:19 -06:00
Gregory Nutt
bf9ca8868e
NSH: Both arguments of 'ln' command may be relative paths
2017-02-07 07:56:54 -06:00
Gregory Nutt
1a696b0367
Fix a memory leak in the 'ln' command when a failure occurs.
2017-02-06 10:20:29 -06:00
Gregory Nutt
7a0e08c37b
NSH: Add readlink command.
2017-02-05 10:35:11 -06:00
Gregory Nutt
bb81a3d11d
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 14:13:25 -06:00
Gregory Nutt
9fbca32710
Soft links: Fixed logic in RTOS. Remove NSH kludge of last commit.
2017-02-03 13:23:27 -06:00
Gregory Nutt
51f71304d1
NSH: Extend ls command to show type of symbolic link.
2017-02-03 11:21:37 -06:00
Gregory Nutt
2ac55ec4e7
NSH: Add support for the 'ln' command.
2017-02-02 19:40:59 -06:00
Gregory Nutt
d195751a90
Update NSH and examples/modules for changes in kernel module interface.
2017-01-22 15:11:49 -06:00
Masayuki Ishikawa
4bf85f7c7b
NSH: dd command will show statistics
2016-12-19 18:33:34 -06:00
Gregory Nutt
9b951b4dd8
apps/nshlib: nsh_getdirpath(), use snprint instead of sprintf to avoid possibility of buffer overrun. Noted by Chung Hwan Kim.
2016-10-11 17:35:31 -06:00
Gregory Nutt
2c8ac4440a
apps/nshlib: Don't try to flush output streams if stdio buffered I/O is not supported.
2016-10-06 08:36:15 -06:00
Alan Carvalho de Assis
cdedb412ed
apps/nshlib: Add printf command to NSH, e.g., controlling /dev/userleds from command line: nsh> printf \x01 > /dev/userleds
2016-10-01 07:44:15 -06:00
Neil Hancock
7fc401d3c1
Correct an assertion
2016-09-12 07:26:37 -06:00
Aleksandr Vyhovanec
e832e73b99
nshlib/: Fix missing semicolon; include string.h.
2016-09-05 07:05:17 -06:00
Gregory Nutt
8cfa1dbd3b
The previous commit was reverted. My concern was misplaced: There is a guard boolean to prevent running the init script more than once. This comment just restores some of the good cosmetic changes that were included in the reverted commit.
2016-08-25 14:28:25 -06:00
Gregory Nutt
4eda22b4db
Revert "This commit adds nsh_consolechild(). I noticed that there are several examples that call nsh_consolemain.c to create to create a new NSH session. That will not always work because nsh_consolemain() performs the one-time initialization needed by the NSH library: Mounting, reading, and running the start-up script, configuring USB tracing. Some of those actions will cause failures if attempted twice."
...
This reverts commit 4d364d836a
.
2016-08-25 14:19:36 -06:00
Gregory Nutt
4d364d836a
This commit adds nsh_consolechild(). I noticed that there are several examples that call nsh_consolemain.c to create to create a new NSH session. That will not always work because nsh_consolemain() performs the one-time initialization needed by the NSH library: Mounting, reading, and running the start-up script, configuring USB tracing. Some of those actions will cause failures if attempted twice.
...
Here are some offenders: examples/cc3000/shell.c, examples/nsh/nsh_main.c, examples/nxterm/nxterm_main.c, and examples/pty_test/pty_test.c. It is possible that for some of those, that represents the first call to nsh_consolemain(). But probably not.
To give other initialization options, I added nsh_consolechild() which is identical to nsh_consolemain() other than it omits all of the one-time initialization. Of course, you would not get the result that you wanted if nsh_consolechild() were called without nsh_consolemain().
2016-08-25 14:14:23 -06:00
Gregory Nutt
e39cfc97c7
Add logic to support an NSH-specific system command
2016-08-25 11:34:36 -06:00
Mateusz Szafoni
6ff8074532
apps/nshlib/nsh_syscmds.c: missing semicolon
2016-08-25 14:26:33 +02:00
Gregory Nutt
c9378ef87e
Fix hex representation of IP address. Also noted by Michał Łyszczek
2016-08-19 06:35:29 -06:00
Gregory Nutt
b9d56991f3
Update some comments. Remove trailing whitespace noted by Michał Łyszczek
2016-08-19 06:25:42 -06:00
Gregory Nutt
823b8c3981
FIFO_SIZE vs PIPE_SIZE
2016-08-04 16:25:47 -06:00
Gregory Nutt
fff8a91e52
Oops, wrong kind of comments
2016-08-04 13:32:19 -06:00
Gregory Nutt
e4914622b3
NSH: cmd_mkfifo depend son CONFIG_DEV_PIPE_SIZE > 0
2016-08-04 12:57:02 -06:00
Gregory Nutt
d5b7268d95
ramdisk.h moved from include/fs/nuttx/ to include/nuttx/drivers.
2016-07-20 14:02:41 -06:00
Gregory Nutt
7d517413cb
Things that use mkfifo() and pipe() depend on CONFIG_PIPES
2016-07-20 10:46:05 -06:00
Gregory Nutt
b1230ce87a
NSH: Eliminate a warning about discarding const
2016-07-15 08:31:47 -06:00
David Alessio
f48b3c73b0
When Priority Inheritance is enabled, the format of /proc/<PID>/status changes to show both the current priority and the thread’s base priority. This messes up the format of cmd_ps.
...
The attached patch fixes cmd_ps to ignore the base priority.
2016-07-15 07:01:02 -06:00
Gregory Nutt
dd7c4c9493
NSH library: Don't show stack usage is CONFIG_STACK_COLORATION is not enabled.
2016-07-13 07:06:32 -06:00
David Alessio
1d8ef23b88
Use fixed point math for cmd_ps removing dependency on floating point libs.
2016-07-12 06:48:30 -06:00
Sebastien Lorquet
2cbad44f1d
This is the Pokemon patch to change all includes fronm <apps/bla/bla.h> to "bla/bla.h"
2016-07-11 10:11:18 -06:00
David Alessio
63ff107419
Fix a typo a a preceding change.
2016-07-11 06:56:34 -06:00
David Alessio
f553fd1316
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 attached patch file is the first that comes to mind. Note, I added the float qualifier ‘F’ after a few constants to prevent the compiler from promoting the multiplication and division to double (expensive on M4F) then demoting to single float for the store. (sorry, it’s one of my many pet peeves ;)
...
`
2016-07-10 17:49:58 -06:00
David Sidrane
6eab2b7811
Take 2
2016-07-01 09:45:00 -10:00
Gregory Nutt
97e41cdcc5
Add a missing blank line
2016-07-01 13:27:15 -06:00
Gregory Nutt
57a0f88728
Revert "Review of last PR"
...
This reverts commit 0e4c247e1d
.
2016-07-01 13:26:34 -06:00
Gregory Nutt
0e4c247e1d
Review of last PR
2016-07-01 13:22:36 -06:00
David Sidrane
cbe1d33786
Allow stack usage to be disabled on contrained systems
2016-07-01 08:59:46 -10:00
Gregory Nutt
f48a813e0e
Move apps/include/builtin.h to apps/include/builtin/builtin.h
2016-07-01 07:08:03 -06:00
Gregory Nutt
0e76ca7474
Move apps/include/nsh.h to apps/include/nshlib/nshlib.h
2016-07-01 06:59:23 -06:00
Gregory Nutt
cd741c82cf
apps/include: Move all header files associated with modules in apps/system to apps/include/system
2016-07-01 06:48:22 -06:00
Gregory Nutt
8a03660c72
Remove apps/system/usbmonitor. It has been moved to nuttx/drivers/usbmonitor.
2016-06-30 13:13:05 -06:00
Frank Benkert
65e050dbfb
NSH: PS-Command: print out the stack usage if stack coloration is enabled.
2016-06-30 07:28:42 -06:00
Gregory Nutt
0559581b91
Trivial changes after review of PR
2016-06-27 11:36:34 -06:00
Mateusz Szafoni
d93e8e5c17
Remove references to CONFIG_SYSLOG
2016-06-27 18:39:55 +02:00
Gregory Nutt
a2a9e20c65
Move NSH stuff out of nuttx/configs/Kconfig to here. Why was it in the NuttX tree.
2016-06-24 07:47:03 -06:00
Gregory Nutt
fa4cd10d33
Trivial modification of debug statement
2016-06-23 08:05:06 -06:00
Gregory Nutt
bb06f7368f
Without lowsyslog() *llinfo() is not useful. Eliminate and replace with *info().
2016-06-20 11:48:15 -06:00
Gregory Nutt
5098539063
Add _ to front of remaining debug macros
2016-06-16 12:12:34 -06:00
Gregory Nutt
cc03ecefc8
Rename err() to _err()
2016-06-16 11:44:22 -06:00
Gregory Nutt
65899c99e6
apps/nshlib: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition.
2016-06-14 14:18:07 -06:00
Gregory Nutt
586b0aa7e0
Change names of *dbg() * *err()
2016-06-11 15:51:27 -06:00
Gregory Nutt
f4bae25e32
Rename *lldbg to *llerr
2016-06-11 14:55:13 -06:00
Gregory Nutt
468bdcf8e6
Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES
2016-06-11 14:13:39 -06:00
Gregory Nutt
344c92e2a4
Replace all occurrences of vdbg with vinfo
2016-06-11 11:55:38 -06:00
Gregory Nutt
56e75e9db8
Rename CONFIG_DEBUG_VERBOSE to CONFIG_DEBUG_INFO
2016-06-11 11:50:38 -06:00
Sebastien Lorquet
d2aa24ad88
Make sure that APPNAME is defined in all Makefiles that generate applications
2016-06-09 10:51:04 -06:00
Gregory Nutt
a9d57ca022
Merged in marten_svanfeldt/nuttx-apps-public/for_upstream/nsh_netinit (pull request #43 )
...
Make NSH net-initialization be a configuration option
2016-06-09 09:25:27 -06:00
David S. Alessio
bfd5ca7cd2
NTP Client: All retries; Add initialization in NSH network startup logic.
2016-06-09 08:18:49 -06:00
Gregory Nutt
7a5ceb244e
Fix error in comment
2016-06-09 08:13:42 -06:00
Marten Svanfeldt
33c6a6bb75
Make NSH net-initialization be a configuration option
...
Signed-off-by: Marten Svanfeldt <marten@intuitiveaerial.com>
2016-06-09 05:29:01 +02:00
Sebastien Lorquet
bfff5e7179
Add empty preconfig rules to 'leaf' makefiles
2016-06-02 16:24:30 +02:00
Gregory Nutt
0943afd2f9
Kconfig files: All USB-related options depend on CONFIG_LIB_BOARDCTRL and now set CONFIG_BOARDCTL_USBDEVCTL=y
2016-03-26 07:13:57 -06:00
Gregory Nutt
6951366eca
Replace all calls to the OS internal usbdev_serialinitialize with proper calls to boardctl()
2016-03-25 16:00:28 -06:00
Gregory Nutt
a31300cb05
Replace calls to OS internal cdcacm_*, usbmsc_*, and composite_* with boardctl() calls
2016-03-25 13:26:00 -06:00
Gregory Nutt
c6ac4d2581
NSH: ps command will show CPU if SMP is enabled
2016-02-19 15:33:32 -06:00
Gregory Nutt
d5c3bae6cd
apps/: Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section()
2016-02-14 15:15:37 -06:00
Gregory Nutt
5642e02f77
Fix some incorrect usage of INADDR_ANY
2016-02-09 11:24:30 -06:00
Gregory Nutt
b54aa2b081
NSH: Improve an error message
2016-02-08 16:29:54 -06:00
Gregory Nutt
3df8b716dc
Remove some redundant logic
2016-02-08 16:19:21 -06:00
Gregory Nutt
1482732f18
NetLib: Move functions in netlib.c to separate files; improve some naming
2016-02-08 16:09:24 -06:00
Gregory Nutt
b8c8bea22c
Add an 'arp' command to NSH to support access to the OS ARP table
2016-02-08 14:49:05 -06:00
Gregory Nutt
c8e21ddcd6
Costmetic changes to comments and spacing.
2016-02-06 11:34:39 -06:00
Gregory Nutt
0720f9a357
NSH: Add option to use platform-specific logic to verify login credentials; Add option to add a delay after each failed login attempt
2016-01-22 10:46:19 -06:00
Gregory Nutt
6febdc60c1
Update to use 64-bit timer when available
2016-01-21 12:03:04 -06:00
Gregory Nutt
07cf99130c
nsh_stdsession() cannot use the same login logic as nsh_session(); Also put telnet login in a separate file for symmetry
2016-01-20 15:22:02 -06:00
Gregory Nutt
93d9d5e4ca
apps/nshlib: All NSH sessions may now be protected with passwords stored in the encrypted /etc/passwd file
2016-01-20 14:42:39 -06:00
Gregory Nutt
681bfa2605
NSH: Add logic for the case where the passwd file is read-only. ROMFS image needs to be marked as const, or it will end up in RAM.
2016-01-20 13:05:25 -06:00
Gregory Nutt
3dad8a29a2
NSH now supports an MOTD string that will be presented after the greeting
2016-01-20 11:18:08 -06:00
Gregory Nutt
fe05a8444f
apps/nshlib: Add useradd, userdel, and passwd commends
2016-01-20 09:37:25 -06:00
Gregory Nutt
7f5a7a07a5
Costmetic alignment
2016-01-17 08:12:51 -06:00
Gregory Nutt
b5c5055c41
NSH: Remove partial implementation of the use of IOBJ/IPTR in NSH. There are some complications
2016-01-17 07:53:52 -06:00
Gregory Nutt
16ed293417
Revert "Revert "NSH: All nsh_output strings tagged with IOBJ so that they may be stored in FLASH on AVR""
...
This reverts commit fd083ee981
.
2016-01-17 07:41:51 -06:00
Gregory Nutt
a5fbb4cd24
Revert "NSHL: Format strings for nsh_output should all have IOBJ qualifier"
...
This reverts commit 186a101d2c
.
2016-01-17 07:39:33 -06:00
Gregory Nutt
fd083ee981
Revert "NSH: All nsh_output strings tagged with IOBJ so that they may be stored in FLASH on AVR"
...
This reverts commit cb6a914d08
.
2016-01-17 07:39:17 -06:00
Gregory Nutt
691bd07f2e
NSH library: Costmetic change
2016-01-17 07:29:50 -06:00
Stefan Kolb
3b820bbc78
NSH: Correct an error in conditional compilation
2016-01-13 06:53:33 -06:00
Gregory Nutt
c13b9e6a51
Fix compile error in time command when certain features are disabled
2016-01-08 11:23:45 -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
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
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
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
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
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
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
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
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
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
Gregory Nutt
646febbe86
Merged in nghiaho12/apps/nghia/improve_tab_completion (pull request #18 )
...
better TAB completion
2015-11-02 06:53:30 -06:00
Nghia Ho
211f8bf76d
bug fix:: Never reach readline_prompt() in nsh_initialize, moved it up to the top. Works now.
...
enhancement: TAB completion now works like Unix, it will autocomplete as much as possible for
multiple matches.
2015-11-01 01:41:01 -07:00
Gregory Nutt
5f4060ce1e
NSH mount command: Add support for TMPFS
2015-10-12 09:36:42 -06:00
Gregory Nutt
aacfce081e
Fix several cosmetic, C coding style issues
2015-10-03 11:03:42 -06:00
Gregory Nutt
e9447c6058
Standardize nameing of the pre-processor definitiongs group header
2015-10-02 14:06:11 -06:00
OrbitalFox
93876b5af3
Kconfig: Improved comments
2015-09-24 08:28:50 -06:00
Gregory Nutt
6b1d61c759
More references to avsprintf that need to be changed vasprintf
2015-09-07 17:09:11 -06:00
Gregory Nutt
7084ce0e02
Cosmetic: Move # of pre-processior command to column 1
2015-09-05 09:12:20 -06:00
Paul A. Patience
266cc147c4
Correct #if to #ifdef when the macro can be undefined
2015-09-01 13:44:06 -04:00
Gregory Nutt
69f578d442
Correct last change to NSH file
2015-08-30 18:57:32 -06:00
Bruno Herrera
4555282571
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-30 18:28:04 -06:00
Bruno Herrera
321924c0a5
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-30 18:23:25 -06:00
Gregory Nutt
b7b943067a
NSH: Fix formatting of ifconfig Local Loopback output
2015-08-26 07:59:12 -06:00
Gregory Nutt
ce3a2dc0d4
NSH changes to work with the network local loopback device
2015-08-24 13:59:52 -06:00
Pavel Pisa
64fb2c63b6
Correct numerous places where NETUTILS_DNSCLIENT was instead of NETDB_DNSCLIENT
2015-08-20 16:08:45 -06:00
Gregory Nutt
74801cf38e
apps/tools/mkkconfig.sh: The top-level Kconfig file is not auto-generated. The autogenerated Kconfig file will be constructed so that every second level directory that contains a Kconfig file will automatically be sourced
2015-08-11 17:49:10 -06:00
Gregory Nutt
820c5c42dd
readline/NSH: Extend the tab-completion logic so that NSH commands can also be completed by pressing the tab key
2015-07-30 12:11:58 -06:00
Gregory Nutt
0c85a9f4b3
Eliminates a warning about unused variable
2015-07-29 19:57:31 -06:00
Gregory Nutt
f1b4b4d47a
Fix a few mistakes I made on the last commit
2015-07-28 07:30:05 -06:00
Gregory Nutt
766886310d
readline: Update initial readline commit -- make option configurable. Add an interface to de-couple the readline implementation from NSH. Misc. updates for coding style
2015-07-28 07:17:50 -06:00
Gregory Nutt
3a57f9e2ef
Adjust for increased size of the scheduling policy field from 1 to 2 bits to allow additional, planned scheduling policies
2015-07-23 10:15:57 -06:00
Gregory Nutt
62853218d3
Eliminate a warning detected by nuttx/tools/testbuild.sh
2015-07-22 14:09:29 -06:00
Gregory Nutt
25f144fd55
NSH: Fix compile issue from all of the recent NETDB changes. If NETDB is not enabled, we need to use inet_pton() instead of gethostbyname()
2015-07-17 08:33:22 -06:00
Gregory Nutt
25d45d642f
Add an NSH nslookup command
2015-07-13 11:19:02 -06:00
Gregory Nutt
ba72767d09
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 11:53:23 -06:00
Gregory Nutt
812450ebe6
If NSH or Webclient is selected, make sure that CONFIG_LIBC_NETDB is enabled; reanem dnsclient.h to dns.h
2015-07-12 09:25:39 -06:00
Gregory Nutt
c7bd1f4186
Replaces calls to non-standard dns_hostip() with calls to the standard gethostbyname()
2015-07-11 08:15:29 -06:00
Gregory Nutt
effda16cf5
DNS: Remove some unused, non-functional DNS functions
2015-07-11 07:17:11 -06:00
Gregory Nutt
5e8928d009
Remove bogus references to CONFIG_HAVE_GETHOSTBYNAME
2015-07-10 14:03:28 -06:00
Gregory Nutt
48c36800f5
apps/netuils/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 11:31:13 -06:00
Gregory Nutt
74aa0f21c5
NSH uname command: Uninitialized variable caused failures in some unlucky cases
2015-07-05 09:06:13 -06:00
Gregory Nutt
584284adc3
NSH uname, Use unknown if board name is not known
2015-07-05 08:42:00 -06:00
Gregory Nutt
fa8f6d53e1
Update README
2015-07-05 06:51:39 -06:00
Gregory Nutt
243694308e
NSH uname command will now print the board directory for -i option
2015-07-05 06:47:29 -06:00
Gregory Nutt
d710b7c3b7
Add support for the NSH uname command
2015-07-04 15:13:11 -06:00
Gregory Nutt
f9afefe7e9
Fix a typo in a Kconfig file
2015-07-04 13:17:10 -06:00
Gregory Nutt
95eea325cf
Add poweroff and reboot NSH commands as alternatives to the shutdown command
2015-07-04 12:44:24 -06:00
Gregory Nutt
165637ce27
The NSH shutdown option should be called --reboot, not --reset, for compatibility with the statndard shutdown command
2015-07-04 11:39:44 -06:00
Gregory Nutt
a2a1530694
The NSH shutdown command now supports the --reset option, if available in hardware
2015-07-04 11:11:16 -06:00
Gregory Nutt
fa9e1812f8
Oops.. forgot to add a file before the last commit
2015-07-04 08:44:42 -06:00
Gregory Nutt
a18ed33d99
NSH now supports a shutdown command if CONFIG_BOARDCTL_POWEROFF-y
2015-07-04 08:20:19 -06:00
Gregory Nutt
d5b6949c9f
Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation
2015-06-28 08:14:53 -06:00
Gregory Nutt
90679a633a
NSH mount command now recognizes the Union file system type
2015-06-07 08:18:07 -06:00
Gregory Nutt
fe2c662ee8
Trivial change for consistency.
2015-05-27 08:43:50 -06:00
Gregory Nutt
5f17ec1fa2
Enhanced output to NSH ping command from Max Neklyudov
2015-05-27 08:25:26 -06:00
Gregory Nutt
905f881162
Enhancements to NSH ifconfig for case of multi-link operation, TUN device and local connections. From Max Neklyudov.
2015-05-19 12:26:20 -06:00
Gregory Nutt
c07a5b2775
Local sockets: Add poll support for Unix stream sockets. From Jussi Kivilinna.
2015-05-12 07:41:12 -06:00
Gregory Nutt
49bb0ed48e
time.h: Add localtime prototypes; NSH: Correct test for gmtime_r return value
2015-04-21 09:26:18 -06:00
Gregory Nutt
10fc3ed1ac
configs/sim/src: Add logic to test localtime and TZ database. See apps/system/README.txt for info
2015-04-15 11:00:40 -06:00
Gregory Nutt
23075e0b30
Allow NSH date command with no RTC. This command is useful without an RTC too. Also, this permits testing on the simulator which never has an RTC
2015-04-11 12:13:18 -06:00
Gregory Nutt
4a2000e2ae
Ooops accidentally committed some trash debug code
2015-04-07 12:18:08 -06:00
Gregory Nutt
6ad0579b85
Modbus: Misc cleanup
2015-04-07 12:16:15 -06:00
Gregory Nutt
9fcd34f1c4
NSH initialization now calls boardctl(BOARDIOC_INIT) instead of board_app_initaliaze. Modify all configurations: Make sure that CONFIG_LIB_BOARDCTL=y appears wherever CONFIG_NSH_ARCHINIT=y appears. Remove support for CONFIG_NSH_ARCHMAC. It is not used and there are better ways to do that operation
2015-03-31 12:14:16 -06:00
Gregory Nutt
6bad91308d
Rename arch_nshinitialize() to board_app_initialize()
2015-03-31 10:21:31 -06:00
Gregory Nutt
c9eff799c0
Cortex-M7: Add support for enabled the D-Cache in write only mode.
...
SAMV7 Ethernet: I- and D-Cache are now enabled in the netnsh/ configuration. D-Cache is enabled in write-though mode. This mode is necessary because the DMA descriptors are each 8-bytes in size but the D-Cache cache line is 32-bits in size. So it is impossible make coherency for every 8-byte DMA descriptor without write-through.
2015-03-29 14:42:03 -06:00
Gregory Nutt
d8d4a3486c
SAMV7 USB: Updates to early initialization logic
2015-03-24 10:05:21 -06:00
Gregory Nutt
f81be29c2f
Costmetic changes name while debugging a filename issue
2015-03-15 12:22:12 -06:00
Gregory Nutt
edf876ed1a
Add missing options to NSH Library Kconfig. From Freddie Chopin
2015-03-02 06:16:38 -06:00
Gregory Nutt
f5aac7178e
Fix some time value changes; mostly changing greater than 1000000000 to greater than or equal to 1000000000. From Juha Niskanen
2015-02-20 07:07:36 -06:00
Gregory Nutt
ae142c0605
NSH: The default priority of the network initialization thread should be lower. It is CPU intensive and can interfere with other operations
2015-02-17 13:14:50 -06:00
Gregory Nutt
d32e66b6a2
apps/netutils/netlib: Add utilities to convert to/from prefix lengths from/to 128-bit network masks. Modify the NSH IPv6 ifconfig command to show the network mask in a more standard, human readable way.
2015-02-06 10:23:15 -06:00
Gregory Nutt
dc527f5c9d
Fix errors in range of IPv6 netmask range in Kconfig files
2015-02-05 10:47:42 -06:00
Gregory Nutt
1b9d7c1522
ICMPv6: Some initial bugfix from first tests of the ICMPv6 auto-configuration logic. so far so good but a lot more testing is needed
2015-02-03 16:19:08 -06:00
Gregory Nutt
6273eb0160
ICMPv6: This completes coding of the ICMPv6 auto-configuration feature. It is not yet functional
2015-02-03 15:40:56 -06:00
Gregory Nutt
5499189417
Add netlib and application hooks for ICMPv6 auto-configuration (still incomplete
2015-02-03 08:01:55 -06:00
Gregory Nutt
3b60c71103
NSH: Fix error in conditional compilation in PS command. From Macs N
2015-02-03 07:21:56 -06:00
Gregory Nutt
0724e7ccf3
drivers/ramdisk.c and include/nuttx/fs/ramdisk.h: Add logic to dispose of the drvier and RAM buffer when the RAM disk has been unlinked and all open references to the RAM disk have been closed. Add new parameters to romdisk() to specify what should be done with the RAM/ROM buffer -- Should it be freed or not? Changed all calls to ramdisk() to use these new parameters.
2015-02-01 07:24:16 -06:00
Gregory Nutt
72d3a733a8
Elminate some warnings with TCP and UDP are disabled
2015-01-29 09:33:45 -06:00
Gregory Nutt
b7fa5a3359
Unix domain: A few fixes from early integration
2015-01-27 16:39:30 -06:00
Gregory Nutt
5060e08fcb
Unix domain: With these changes I can build a system with no link layer enabled, only Unix domain sockets
2015-01-27 15:26:03 -06:00
Gregory Nutt
a4e66459d0
Various fixes to get Unix domain sockets to build on the simulator without Ethernet
2015-01-27 14:11:46 -06:00
Gregory Nutt
0c7864ae68
NSH: A few minor improvements/corrections to the network status presentation
2015-01-24 09:11:12 -06:00
Gregory Nutt
6d2ecf8a79
Fix another error in conditional compilation; plus some additional cosmetic changes
2015-01-24 09:04:28 -06:00
Gregory Nutt
d001ccb196
Correct a typo in conditional compilation
2015-01-24 08:38:13 -06:00
Gregory Nutt
beaa7b74a6
Networking: Clean up network status collection and presentation for IPv6
2015-01-24 08:26:12 -06:00
Gregory Nutt
55ac29ac27
Networking: Various bugfixes related to IPv6 ping
2015-01-23 14:40:09 -06:00
Gregory Nutt
b39fb98d86
apps/nshlib: Add the ping6 command to support checking IPv6 networks. NSH logic is complete but still missing some network level support
2015-01-23 12:49:49 -06:00
Gregory Nutt
c96aa9218a
Correct name of fields in struct sockaddr_in6: sin6_port and sin6_family, not sin_port and sin_family
2015-01-20 18:14:09 -06:00
Gregory Nutt
27b3913c92
Fix defaults for IPv6 netmask
2015-01-20 13:48:03 -06:00
Gregory Nutt
71d2ae0fac
NSH library: Disable put and get commends of TFTP client is not enabled; disable wget command if web client is not enabled
2015-01-19 10:32:46 -06:00
Gregory Nutt
8fbc907aa2
apps/nshlib: Add logic to initialize IPv6 addresses, to display IPv6 addresses, and enough IPv6 ifconfig to allocation compilation (logic still not implemented)
2015-01-19 09:59:43 -06:00
Gregory Nutt
9bff050ad0
Update ChangeLog
2015-01-19 09:03:10 -06:00
Gregory Nutt
953c0fb069
Rename IPv4 netlib functions and files to make room in the namespace for corresponding IPv6 functions and files
2015-01-18 14:17:00 -06:00
Gregory Nutt
36118a1b76
Networking: Replace all references to net_ipaddr_t with either in_addr_t on net_ipv6addr_t. The goal is to support both IPv4 and IPv6 simultaneously. This requires that the two types be distinct and not conditionally typedef'ed to net_ipaddr_t.
2015-01-16 12:30:18 -06:00
Gregory Nutt
308818b718
NSH TFTP get command: Wrong file name used for the destination. From Lazlo
2014-12-10 18:37:43 -06:00
Gregory Nutt
fa035373e4
Correct spelling: MOUNTPOINT not MOUNTPOUNT. Numerous places. Some are problems. From Woohan Lee
2014-12-01 06:41:30 -06:00
Gregory Nutt
64b8c1841c
Clarify MTU/BUFSIZE in apps/ README.txt files and Documentation
2014-11-16 08:50:36 -06:00
Gregory Nutt
4542091dac
NSH USB Console: 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 06:48:46 -06:00
Gregory Nutt
f9074a02ad
Network: Various fixes for clean compile with both Ethernet and SLIP
2014-11-15 13:52:39 -06:00
Gregory Nutt
da8ba5dfd5
Remove use of CONFIG_MASK_TASK_ARGS from NSH
2014-11-13 06:27:29 -06:00
Gregory Nutt
eaddb9059f
Emit a warning if number of arguments to builtin or file app can be truncated
2014-11-12 14:23:14 -06:00
Gregory Nutt
131b8c5946
Move CONFIG_NSH_TMPDIR to CONFIG_LIBC_TMPDIR
2014-11-05 07:49:20 -06:00
Gregory Nutt
a7121f98d9
Fix some errors that I introduced into NSH telnet this morning
2014-10-29 15:25:34 -06:00
Gregory Nutt
21d498f695
Fix some typos
2014-10-29 10:48:50 -06:00
Gregory Nutt
5d360c72b9
Fix problem with trailing whitespace (newline) in Telnet username/password. Noted by Lazlo
2014-10-29 10:29:21 -06:00
Gregory Nutt
2719815dd9
Update everything under apps/ to use the corrected syslog interfaces
2014-10-08 11:34:22 -06:00
Gregory Nutt
79169c711f
fix reversed in/out file closing when an error occurs. From Ken Pettit
2014-10-03 11:22:37 -06:00
Gregory Nutt
763519b00a
NSH Fix ls -l output for regular files
2014-09-30 14:41:58 -06:00