Add wchar_t type; Add LPC17xx CAN driver from Lzyy; Fix serial bug reported by Lzyy

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3775 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2011-07-12 16:36:45 +00:00
parent 2ad95a1d10
commit 62d94bb3d6
8 changed files with 341 additions and 9 deletions
+11
View File
@@ -103,6 +103,9 @@
****************************************************************************/
#ifndef __ASSEMBLY__
/* Floating point types */
typedef float float32;
#ifndef CONFIG_HAVE_DOUBLE
typedef float double_t;
@@ -158,6 +161,14 @@ typedef int pid_t;
typedef unsigned int id_t;
/* Signed integral type of the result of subtracting two pointers */
typedef intptr_t ptrdiff_t;
/* Wide, 16-bit character types */
typedef uint16_t wchar_t;
/* blkcnt_t and off_t are signed integer types.
*
* blkcnt_t is used for file block counts.