diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-05-09 22:30:19 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-05-09 22:30:19 +0000 |
commit | 5df98379f4a9b539a740d32e73f6f20acbc918da (patch) | |
tree | 8ffa46c052f35e2c47106b80ecd1a2a9f1cc75be /nuttx | |
parent | c0b0c73b9908f9515b562e72dd0a13daa2118aa5 (diff) | |
download | px4-firmware-5df98379f4a9b539a740d32e73f6f20acbc918da.tar.gz px4-firmware-5df98379f4a9b539a740d32e73f6f20acbc918da.tar.bz2 px4-firmware-5df98379f4a9b539a740d32e73f6f20acbc918da.zip |
Adding beginning of NxWM touchscreen support
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4718 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/ChangeLog | 1 | ||||
-rw-r--r--[-rwxr-xr-x] | nuttx/include/cxx/cassert | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | nuttx/include/cxx/cctype | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | nuttx/include/cxx/cerrno | 0 | ||||
-rw-r--r-- | nuttx/include/cxx/cfcntl | 57 | ||||
-rw-r--r--[-rwxr-xr-x] | nuttx/include/cxx/climits | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | nuttx/include/cxx/cmath | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | nuttx/include/cxx/csignal | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | nuttx/include/cxx/cstdarg | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | nuttx/include/cxx/cstdbool | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | nuttx/include/cxx/cstddef | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | nuttx/include/cxx/cstdint | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | nuttx/include/cxx/cstdio | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | nuttx/include/cxx/cstdlib | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | nuttx/include/cxx/cstring | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | nuttx/include/cxx/ctime | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | nuttx/include/cxx/cunistd | 0 |
17 files changed, 58 insertions, 0 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index ff02f1c2c..4f2e737a5 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -2723,5 +2723,6 @@ * configs/stm3240g-eval/src/up_stmpe11.c: Add board-specific support for the the STMPE11 I/O expander on the STM3240G-EVAL board. Verfied that the STM3240G-EVAL touchscreen is now fully functional. + * include/cxx/cfcntl: Added std:: header file. diff --git a/nuttx/include/cxx/cassert b/nuttx/include/cxx/cassert index f44b6cd79..f44b6cd79 100755..100644 --- a/nuttx/include/cxx/cassert +++ b/nuttx/include/cxx/cassert diff --git a/nuttx/include/cxx/cctype b/nuttx/include/cxx/cctype index 043adad68..043adad68 100755..100644 --- a/nuttx/include/cxx/cctype +++ b/nuttx/include/cxx/cctype diff --git a/nuttx/include/cxx/cerrno b/nuttx/include/cxx/cerrno index ba23e33ea..ba23e33ea 100755..100644 --- a/nuttx/include/cxx/cerrno +++ b/nuttx/include/cxx/cerrno diff --git a/nuttx/include/cxx/cfcntl b/nuttx/include/cxx/cfcntl new file mode 100644 index 000000000..6907a5348 --- /dev/null +++ b/nuttx/include/cxx/cfcntl @@ -0,0 +1,57 @@ +//*************************************************************************** +// include/cxx/cfcntl +// +// Copyright (C) 2012 Gregory Nutt. All rights reserved. +// Author: Gregory Nutt <gnutt@nuttx.org> +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions +// are met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in +// the documentation and/or other materials provided with the +// distribution. +// 3. Neither the name NuttX nor the names of its contributors may be +// used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +// COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS +// OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED +// AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +// ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// +//*************************************************************************** + +#ifndef __INCLUDE_CXX_CFCNTL +#define __INCLUDE_CXX_CFCNTL + +//*************************************************************************** +// Included Files +//*************************************************************************** + +#include <fcntl.h> + +//*************************************************************************** +// Namespace +//*************************************************************************** + +namespace std +{ + using ::flock; + using ::creat; + using ::open; + using ::fcntl; +} + +#endif // __INCLUDE_CXX_CFCNTL diff --git a/nuttx/include/cxx/climits b/nuttx/include/cxx/climits index 73f565273..73f565273 100755..100644 --- a/nuttx/include/cxx/climits +++ b/nuttx/include/cxx/climits diff --git a/nuttx/include/cxx/cmath b/nuttx/include/cxx/cmath index 3d348f2e9..3d348f2e9 100755..100644 --- a/nuttx/include/cxx/cmath +++ b/nuttx/include/cxx/cmath diff --git a/nuttx/include/cxx/csignal b/nuttx/include/cxx/csignal index aaf385d9c..aaf385d9c 100755..100644 --- a/nuttx/include/cxx/csignal +++ b/nuttx/include/cxx/csignal diff --git a/nuttx/include/cxx/cstdarg b/nuttx/include/cxx/cstdarg index cbef3edf8..cbef3edf8 100755..100644 --- a/nuttx/include/cxx/cstdarg +++ b/nuttx/include/cxx/cstdarg diff --git a/nuttx/include/cxx/cstdbool b/nuttx/include/cxx/cstdbool index 9c1d5a55b..9c1d5a55b 100755..100644 --- a/nuttx/include/cxx/cstdbool +++ b/nuttx/include/cxx/cstdbool diff --git a/nuttx/include/cxx/cstddef b/nuttx/include/cxx/cstddef index 440b680f4..440b680f4 100755..100644 --- a/nuttx/include/cxx/cstddef +++ b/nuttx/include/cxx/cstddef diff --git a/nuttx/include/cxx/cstdint b/nuttx/include/cxx/cstdint index d47613771..d47613771 100755..100644 --- a/nuttx/include/cxx/cstdint +++ b/nuttx/include/cxx/cstdint diff --git a/nuttx/include/cxx/cstdio b/nuttx/include/cxx/cstdio index aeab44792..aeab44792 100755..100644 --- a/nuttx/include/cxx/cstdio +++ b/nuttx/include/cxx/cstdio diff --git a/nuttx/include/cxx/cstdlib b/nuttx/include/cxx/cstdlib index 522f3fdb1..522f3fdb1 100755..100644 --- a/nuttx/include/cxx/cstdlib +++ b/nuttx/include/cxx/cstdlib diff --git a/nuttx/include/cxx/cstring b/nuttx/include/cxx/cstring index 29a3bb043..29a3bb043 100755..100644 --- a/nuttx/include/cxx/cstring +++ b/nuttx/include/cxx/cstring diff --git a/nuttx/include/cxx/ctime b/nuttx/include/cxx/ctime index f1915a452..f1915a452 100755..100644 --- a/nuttx/include/cxx/ctime +++ b/nuttx/include/cxx/ctime diff --git a/nuttx/include/cxx/cunistd b/nuttx/include/cxx/cunistd index 2f0b71270..2f0b71270 100755..100644 --- a/nuttx/include/cxx/cunistd +++ b/nuttx/include/cxx/cunistd |