From 2a8a9f15d218d32a96b7a92e0c7bd93478ae88f3 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 9 May 2012 22:30:19 +0000 Subject: [PATCH] Adding beginning of NxWM touchscreen support git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4718 42af7a65-404d-4744-a932-0658087f49c3 --- ChangeLog | 1 + include/cxx/cassert | 0 include/cxx/cctype | 0 include/cxx/cerrno | 0 include/cxx/cfcntl | 57 ++++++++++++++++++++++++++++++++++++++++++++ include/cxx/climits | 0 include/cxx/cmath | 0 include/cxx/csignal | 0 include/cxx/cstdarg | 0 include/cxx/cstdbool | 0 include/cxx/cstddef | 0 include/cxx/cstdint | 0 include/cxx/cstdio | 0 include/cxx/cstdlib | 0 include/cxx/cstring | 0 include/cxx/ctime | 0 include/cxx/cunistd | 0 17 files changed, 58 insertions(+) mode change 100755 => 100644 include/cxx/cassert mode change 100755 => 100644 include/cxx/cctype mode change 100755 => 100644 include/cxx/cerrno create mode 100644 include/cxx/cfcntl mode change 100755 => 100644 include/cxx/climits mode change 100755 => 100644 include/cxx/cmath mode change 100755 => 100644 include/cxx/csignal mode change 100755 => 100644 include/cxx/cstdarg mode change 100755 => 100644 include/cxx/cstdbool mode change 100755 => 100644 include/cxx/cstddef mode change 100755 => 100644 include/cxx/cstdint mode change 100755 => 100644 include/cxx/cstdio mode change 100755 => 100644 include/cxx/cstdlib mode change 100755 => 100644 include/cxx/cstring mode change 100755 => 100644 include/cxx/ctime mode change 100755 => 100644 include/cxx/cunistd diff --git a/ChangeLog b/ChangeLog index ff02f1c2cd0..4f2e737a5c8 100644 --- a/ChangeLog +++ b/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/include/cxx/cassert b/include/cxx/cassert old mode 100755 new mode 100644 diff --git a/include/cxx/cctype b/include/cxx/cctype old mode 100755 new mode 100644 diff --git a/include/cxx/cerrno b/include/cxx/cerrno old mode 100755 new mode 100644 diff --git a/include/cxx/cfcntl b/include/cxx/cfcntl new file mode 100644 index 00000000000..6907a53481d --- /dev/null +++ b/include/cxx/cfcntl @@ -0,0 +1,57 @@ +//*************************************************************************** +// include/cxx/cfcntl +// +// Copyright (C) 2012 Gregory Nutt. All rights reserved. +// Author: Gregory Nutt +// +// 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 + +//*************************************************************************** +// Namespace +//*************************************************************************** + +namespace std +{ + using ::flock; + using ::creat; + using ::open; + using ::fcntl; +} + +#endif // __INCLUDE_CXX_CFCNTL diff --git a/include/cxx/climits b/include/cxx/climits old mode 100755 new mode 100644 diff --git a/include/cxx/cmath b/include/cxx/cmath old mode 100755 new mode 100644 diff --git a/include/cxx/csignal b/include/cxx/csignal old mode 100755 new mode 100644 diff --git a/include/cxx/cstdarg b/include/cxx/cstdarg old mode 100755 new mode 100644 diff --git a/include/cxx/cstdbool b/include/cxx/cstdbool old mode 100755 new mode 100644 diff --git a/include/cxx/cstddef b/include/cxx/cstddef old mode 100755 new mode 100644 diff --git a/include/cxx/cstdint b/include/cxx/cstdint old mode 100755 new mode 100644 diff --git a/include/cxx/cstdio b/include/cxx/cstdio old mode 100755 new mode 100644 diff --git a/include/cxx/cstdlib b/include/cxx/cstdlib old mode 100755 new mode 100644 diff --git a/include/cxx/cstring b/include/cxx/cstring old mode 100755 new mode 100644 diff --git a/include/cxx/ctime b/include/cxx/ctime old mode 100755 new mode 100644 diff --git a/include/cxx/cunistd b/include/cxx/cunistd old mode 100755 new mode 100644