summaryrefslogtreecommitdiff
path: root/nuttx
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-09 22:30:19 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-09 22:30:19 +0000
commit6b32872462ba7e069df10760d89806a9ae895006 (patch)
tree8ffa46c052f35e2c47106b80ecd1a2a9f1cc75be /nuttx
parentf81b74eab2c36a5bc0a2d5778e5b21daac7702e2 (diff)
downloadpx4-nuttx-6b32872462ba7e069df10760d89806a9ae895006.tar.gz
px4-nuttx-6b32872462ba7e069df10760d89806a9ae895006.tar.bz2
px4-nuttx-6b32872462ba7e069df10760d89806a9ae895006.zip
Adding beginning of NxWM touchscreen support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4718 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx')
-rw-r--r--nuttx/ChangeLog1
-rw-r--r--[-rwxr-xr-x]nuttx/include/cxx/cassert0
-rw-r--r--[-rwxr-xr-x]nuttx/include/cxx/cctype0
-rw-r--r--[-rwxr-xr-x]nuttx/include/cxx/cerrno0
-rw-r--r--nuttx/include/cxx/cfcntl57
-rw-r--r--[-rwxr-xr-x]nuttx/include/cxx/climits0
-rw-r--r--[-rwxr-xr-x]nuttx/include/cxx/cmath0
-rw-r--r--[-rwxr-xr-x]nuttx/include/cxx/csignal0
-rw-r--r--[-rwxr-xr-x]nuttx/include/cxx/cstdarg0
-rw-r--r--[-rwxr-xr-x]nuttx/include/cxx/cstdbool0
-rw-r--r--[-rwxr-xr-x]nuttx/include/cxx/cstddef0
-rw-r--r--[-rwxr-xr-x]nuttx/include/cxx/cstdint0
-rw-r--r--[-rwxr-xr-x]nuttx/include/cxx/cstdio0
-rw-r--r--[-rwxr-xr-x]nuttx/include/cxx/cstdlib0
-rw-r--r--[-rwxr-xr-x]nuttx/include/cxx/cstring0
-rw-r--r--[-rwxr-xr-x]nuttx/include/cxx/ctime0
-rw-r--r--[-rwxr-xr-x]nuttx/include/cxx/cunistd0
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