Commit Graph

3286 Commits

Author SHA1 Message Date
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
6fab5c5fa9 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-09 10:22:29 -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
fe27a873ab Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-07 17:06:36 -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
520610c27f Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-06 10:04:40 -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
c122cbab78 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-03 15:34:20 -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
992694d2c2 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-03 09:28:38 -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
Gregory Nutt
e9e16c98cb Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-01 09:10:22 -06:00
Gregory Nutt
6c28268d67 Revert "Add Unity test framework with usrsock test-cases"
Causes build problems and does not follow the coding style.

This reverts commit 87fe31f87a.
2017-03-31 15:47:13 -06:00
Jussi Kivilinna
87fe31f87a Add Unity test framework with usrsock test-cases 2017-03-31 09:10:56 -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
Masayuki Ishikawa
70ee9c7b1c Merged nuttx/apps/master into master 2017-03-31 11:06:00 +09:00
Anthony Merlino
a82ac83463 Merged in merlin17/apps/ieee802154 (pull request #73)
ieee802154: Removes ieee802154.h references

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-29 16:49:12 +00:00
Anthony Merlino
5c82b00b42 ieee802154: Removes ieee802154.h references 2017-03-29 12:45:49 -04:00
Anthony Merlino
42abeafb5c Merged in merlin17/apps/ieee802154 (pull request #72)
ieee802154/coord: Updates logic to reflect changes in nuttx 802154 code

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-28 21:19:31 +00:00
Anthony Merlino
31886b5ba4 ieee802154/coord: Updates logic to reflect changes in nuttx 802154 code 2017-03-28 17:12:32 -04:00
David Sidrane
da2d782931 Merged in david_s5/apps-1/david_s5/appsmm-removed-extraneous-comment-from-m-1490711722259 (pull request #71)
apps/mm removed extraneous comment from Makefile

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-28 15:11:42 +00:00
David Sidrane
2168119b73 apps/mm removed extraneous comment from Makefile 2017-03-28 14:36:03 +00:00
Gregory Nutt
c12348ad38 examples/mm: Fix Makefile. Built-in was not being registered. 2017-03-28 07:31:49 -06:00
Gregory Nutt
9a14efc167 Fix a typo I introduces. 2017-03-27 10:50:05 -06:00
Gregory Nutt
9397552ef8 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-27 09:22:44 -06:00
Gregory Nutt
2c7dff70ec Rename CONFIG_MUTEX_TYPES to CONFIG_PTHREAD_MUTEX_TYPES 2017-03-27 09:08:00 -06:00
Gregory Nutt
c91b20d596 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-27 09:00:27 -06:00
Gregory Nutt
531f5e1419 examples/ostest: Fix an error in last commit. 2017-03-27 08:58:23 -06:00
Gregory Nutt
a3fd7fdec0 examples/ostest: Robust mutex test needs to call pthread_mutexattr_setrobust(). 2017-03-27 06:55:51 -06:00
Gregory Nutt
f013da812a Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-26 15:48:02 -06:00
Gregory Nutt
879d269f41 examples/ostest: Add a test of robust mutexes. 2017-03-26 14:45:48 -06:00
Gregory Nutt
57a4628dcf ieee802154: Costmetic changes to get closer to the coding standard. 2017-03-24 14:51:12 -06:00
Gregory Nutt
7cfb6e40e8 apps/ieee802154/coord: Fix compile issues and adjust to get closer to the coding style. 2017-03-24 14:22:46 -06:00