Commit Graph

3316 Commits

Author SHA1 Message Date
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
Gregory Nutt
47f1d9221f ieee802154: Fix an include path 2017-03-24 13:50:56 -06:00
Gregory Nutt
452338e14f Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-24 10:18:52 -06:00
Anthony Merlino
1ce6d54fb1 Merged in merlin17/apps/ieee802154 (pull request #70)
ieee802154: Updated to match nuttx ieee802154 changes

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-24 16:17:34 +00:00
Anthony Merlino
4774fe4624 ieee802154: Updated to match nuttx ieee802154 changes 2017-03-24 11:59:30 -04:00
Masayuki Ishikawa
6144d36030 Merged nuttx/apps/master into master 2017-03-23 08:26:14 +09:00
Gregory Nutt
3b959bdf4e Clicker2-STM32: Correct name of platform directory 2017-03-22 11:00:49 -06:00
Gregory Nutt
dff912dc7c Clicker-STM32: Add platform directory w/ C++ support 2017-03-22 10:51:38 -06:00
Masayuki Ishikawa
94e7ef6404 Merged nuttx/apps/master into master 2017-03-22 09:02:48 +09:00
Tomasz Wozniak
b7137bf206 Merged in tomasz_wozniak/nuttx-apps/sprintf_format_workaround_pr (pull request #69)
built-in libc defect workaround: replace '%6.6u' format with an equivalent '%06u'

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-21 13:34:53 +00: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
Masayuki Ishikawa
ea99b2fc5a Merged nuttx/apps/master into master 2017-03-21 14:22:28 +09:00
Brian Webb
3b5302e6ec Merged in webbbn/apps/xbox_one_controller (pull request #68)
Adds a test program for the XBox One controller driver (xbc_test).

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-18 04:02:25 +00:00
Brian Webb
0ad3b3c03b Adds a test program for the XBox One controller driver (xbc_test). 2017-03-17 20:37:45 -07:00
Gregory Nutt
84444e4dcc netutils/nshlib: Add wrapper to get the wireless ESSID. 2017-03-13 14:16:26 -06:00
Gregory Nutt
a968904300 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-13 10:37:28 -06:00
Gregory Nutt
0cb844e790 netutils/netlib: Add one wireless IOCTL wrapper. For now, this is just a test to be sure that the wireless IOCTL definitions are in place. 2017-03-13 10:16:20 -06:00
Sebastien Lorquet
95e206b3b6 Merge branch 'master' of https://bitbucket.org/nuttx/apps 2017-03-13 16:52:19 +01:00
Gregory Nutt
fca6da8248 apps/examples/usbterm: Removed because it is not very useful and because it can be configured to use an illegal call into the OS. 2017-03-09 15:37:16 -06:00
Gregory Nutt
c01db536e9 apps/examples/hidkbd: Remove call to arch_usbhost_initialize(). That is violation of the OS interfacing rules and will no longer be supported. USB host should be initialized as part of the normal board bring-up logic as with any other devices and should not involve illegal calls from applications into the OS. 2017-03-09 15:17:49 -06:00
Anton D. Kachalov
6f3b0615e1 Merged in rnouse/nuttx-apps (pull request #67)
Add missed dependency

Approved-by: Gregory Nutt
2017-03-09 14:10:35 +00:00