Commit Graph

2567 Commits

Author SHA1 Message Date
Gregory Nutt
acb6077988 Remove CONFIG_PTHREAD_RWLOCK. Rwlock interfaces built unconditionally. 2017-04-07 07:30:52 -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
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
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
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
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
2c7dff70ec Rename CONFIG_MUTEX_TYPES to CONFIG_PTHREAD_MUTEX_TYPES 2017-03-27 09:08:00 -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
879d269f41 examples/ostest: Add a test of robust mutexes. 2017-03-26 14:45:48 -06: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
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
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
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
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
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
Anton D. Kachalov
7c206fa16d Add missed dependency
Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
2017-03-09 16:52:48 +03:00
Andreas Bihlmaier
ad5784b24a Merged in andreasBihlmaier/apps/feature-more_pwm_channels (pull request #66)
increase number of supported PWM channels from 4 to 6

Approved-by: Gregory Nutt
2017-03-09 12:55:45 +00:00
ahb
d8199fe460 increase number of supported PWM channels from 4 to 6 2017-03-09 11:52:37 +01:00
Alan Carvalho de Assis
602e7fe9b1 Add c++ platform/bambino-200e with C++ initialization 2017-03-08 16:34:39 -06:00
Gregory Nutt
764f1df969 Update ChangeLog in prep for 7.20 release. 2017-03-08 08:35:07 -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
61468ffb13 Upate ChangeLog 2017-03-06 11:43:39 -06:00
Maciej Wójcik
b32efa11dd Merged in w8jcik/apps/w8jcik/the-config_netutils_httpd_path-constant--1488710144755 (pull request #65)
Missing NETUTILS_HTTPD_PATH added to Kconfig

Approved-by: Gregory Nutt
2017-03-05 13:19:49 +00:00
Maciej Wójcik
c58bfb7f84 The CONFIG_NETUTILS_HTTPD_PATH constant is used by httpd_mmap.c and httpd_sendfile.c but It was not present in Kconfig menu. 2017-03-05 10:36:01 +00:00
Gregory Nutt
ca95abd311 examples/button: Clean up confusing parameter passing. 2017-03-04 08:48:49 -06:00
Masayuki Ishikawa
8211101c38 Merged in masayuki2009/nuttx.apps/remove_unused_variable (pull request #64)
Remove unused variable

Approved-by: Gregory Nutt
2017-03-02 12:40:54 +00:00
Masayuki Ishikawa
5382806c5a Remove an unused variable when calling sigwaitinfo() 2017-03-02 13:41:08 +09:00
Masayuki Ishikawa
a05acc1abb Remove an unused variable when calling sigtimedwait() 2017-03-02 13:40:43 +09:00
Masayuki Ishikawa
050c2a3109 Merged nuttx/apps/master into master 2017-03-01 13:21:23 +09:00
Gregory Nutt
a7f9c09a80 nxplayer: Needs to include strings.h for strcasecp() 2017-02-27 09:25:35 -06:00
Gregory Nutt
9eeff9b09a examples/canard: Remove warning for unused label 2017-02-27 09:06:45 -06:00