Commit Graph

2611 Commits

Author SHA1 Message Date
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
b9a552013f wireless/wapi: Improve error reporting IOCTL failures. 2017-04-26 12:34:50 -06:00
Juha Niskanen
4d09ebcaec examples: random: avoid stack overflows 2017-04-26 10:32:20 -06:00
Gregory Nutt
1c05e26ef6 apps/wireless/wapi: Correct an error in dependency generation. 2017-04-25 11:16:51 -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
adc1b27051 Remove the 6loWPAN PANID IOCTLs they are redundant. 2017-04-21 14:12:46 -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
a029316ba7 Merged in masayuki2009/nuttx.apps/bug_fix_by_sony (pull request #74)
NSH library: Fix open flags in nsh_codeccmd.c

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-04-19 11:38:22 +00: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
Masayuki Ishikawa
02f6197c10 Merged nuttx/apps into master 2017-04-19 16:10:55 +09:00
Gregory Nutt
9a49304527 examples/hidkbd: Add some missing configuration settings. 2017-04-18 07:24:15 -06:00
Masayuki Ishikawa
75e149c43d Merged nuttx/apps into master 2017-04-14 14:00:00 +09:00
Gregory Nutt
58da85523d wireless/wapi: Improve some output. 2017-04-12 07:09:37 -06:00
Juha Niskanen
65d59f8458 examples/ostest: clarify when pthread clean-up test mutex need to remain usable 2017-04-12 06:47:07 -06:00
Gregory Nutt
d9a02dd742 apps/wireless/wapi: Consolidate some duplicate logic. 2017-04-11 16:34:50 -06:00
Gregory Nutt
568e932e80 apps/wireless/wapi: Some changes from initial debug. 2017-04-11 12:42:15 -06:00
Gregory Nutt
1a470c6480 wireless/wapi: Re-write of wapi tool UI. 2017-04-11 10:22:47 -06:00
Gregory Nutt
dae395cb8e Beginning real design of wapi application based on Wapi sample code. 2017-04-10 18:50:50 -06:00
Gregory Nutt
2c53872a42 wireless/wapi: Fix a few more compilation problems. 2017-04-10 16:14:49 -06:00
Gregory Nutt
322ffe193b 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 16:02:17 -06:00
Gregory Nutt
2d73f735fe Fix a little kruft left in ported wireless/wapi/Makefile 2017-04-10 15:34:56 -06:00
Gregory Nutt
aeb37c12b2 apps/wireless/wapi: Fix problems in build support. Fix some initial compile isses (still does not compile). 2017-04-10 14:57:33 -06:00
Gregory Nutt
806d2c731a wireless/wapi: Remove logic that depnds on Linux netlink. Add (untested) build support. 2017-04-10 14:00:21 -06:00
Gregory Nutt
eeb143415a 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 13:28:32 -06:00
Gregory Nutt
cfc71db80c pthreads: Backed most of last pthread changes. Found the 'real' root poblem. A one like error in pthread_mutex.c. 2017-04-10 09:51:44 -06:00
Gregory Nutt
523cfffe25 Merge branch 'rwlock' 2017-04-10 08:51:30 -06:00
Gregory Nutt
b580d494e8 examples/ostest: pthread clean-up test must call pthread_consistent, not pthread_mutex_unlock() on cancellation if robust mutexes are enabled. 2017-04-10 08:13:06 -06:00
Juha Niskanen
64ad0684e7 examples/ostest: additional test for rwlock and one for cancel cleanup handlers 2017-04-10 07:20:48 -06: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
ec6ff2791a netutils: Add a helper function to convert a string to a 6loWPAN node address 2017-04-08 12:19:35 -06:00
Gregory Nutt
d29a953915 Merge branch 'rwlock' 2017-04-07 15:47:55 -06:00
Gregory Nutt
f80eb8e873 Merge remote-tracking branch 'origin/master' into rwlock 2017-04-07 15:47:44 -06:00
Mark Schulte
d7932d55df examples/ostest: pthread rwlock additional tests and bugfixes 2017-04-07 15:47:16 -06:00
Gregory Nutt
acb6077988 Remove CONFIG_PTHREAD_RWLOCK. Rwlock interfaces built unconditionally. 2017-04-07 07:30:52 -06:00
Gregory Nutt
4c56a28016 6loWPAN: Fix some conditional compilation 2017-04-07 07:24:09 -06:00
Mark Schulte
1fde89e2d9 examples/ostest: Add tests for pthread_rwlock. Adding tests to be used to verify the pthread_rwlock lock works 2017-04-07 07:23:14 -06:00
Masayuki Ishikawa
e8d87208c2 Merged nuttx/apps into master 2017-04-07 12:38:23 +09:00
Gregory Nutt
194c2d86a8 6loWPAN: Add network IOCTL support to set the node address 2017-04-06 16:00:41 -06:00
Gregory Nutt
07338ff2a9 examples/udpblaster: Add logic to bind the local UDP socket to a well-known address. 2017-04-06 11:58:55 -06:00
Gregory Nutt
14fc6d7575 examples/udpblaster: Several fixes to work with 6loWPAN. 2017-04-06 09:37:52 -06:00
Masayuki Ishikawa
3e53181302 Merged nuttx/apps/master into master 2017-04-06 17:04:16 +09: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
74ae283487 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 15:13:11 -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
cf395b83b8 Add examples/usrsocktest application for USRSOCK testing 2017-04-03 09:25:49 -06:00