mirror of
https://github.com/apache/nuttx.git
synced 2026-09-22 06:04:28 +08:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user