TI's CC3100 websocket camera demo with Arducam mini ov5642 and freertos. Should work with other M3's. Work in progress test demo.
datatypes.h
00001 //***************************************************************************** 00002 // Copyright (C) 2014 Texas Instruments Incorporated 00003 // 00004 // All rights reserved. Property of Texas Instruments Incorporated. 00005 // Restricted rights to use, duplicate or disclose this code are 00006 // granted through contract. 00007 // The program may not be used without the written permission of 00008 // Texas Instruments Incorporated or against the terms and conditions 00009 // stipulated in the agreement under which this program has been supplied, 00010 // and under no circumstances can it be used with non-TI connectivity device. 00011 // 00012 //***************************************************************************** 00013 00014 /** 00015 * @defgroup datatypes 00016 * 00017 * @{ 00018 */ 00019 00020 00021 #ifndef __HTTP_TYPES__ 00022 #define __HTTP_TYPES__ 00023 00024 00025 #ifdef __cplusplus 00026 extern "C" { 00027 #endif 00028 00029 00030 #ifndef NULL 00031 #define NULL (0) 00032 #endif 00033 00034 #ifndef FALSE 00035 #define FALSE (0) 00036 #endif 00037 00038 #ifndef TRUE 00039 #define TRUE (!FALSE) 00040 #endif 00041 00042 #ifndef OK 00043 #define OK (0) 00044 #endif 00045 00046 #ifndef _INT8 00047 #define _INT8 00048 typedef signed char INT8; 00049 #endif 00050 00051 #ifndef _UINT8 00052 #define _UINT8 00053 typedef unsigned char UINT8; 00054 #endif 00055 00056 #ifndef _INT16 00057 #define _INT16 00058 typedef signed short INT16; 00059 #endif 00060 00061 #ifndef _UINT16 00062 #define _UINT16 00063 typedef unsigned short UINT16; 00064 #endif 00065 00066 #ifndef _BOOLEAN 00067 #define _BOOLEAN 00068 typedef unsigned char BOOLEAN; 00069 #endif 00070 00071 #ifdef _WIN32 00072 typedef unsigned int UINT32, *PUINT32; 00073 typedef signed int INT32, *PINT32; 00074 #else 00075 00076 #ifndef _INT32 00077 #define _INT32 00078 typedef signed long INT32; 00079 #endif 00080 00081 #ifndef _UINT32 00082 #define _UINT32 00083 typedef unsigned long UINT32; 00084 #endif 00085 00086 #ifndef _UINT64 00087 #define _UINT64 00088 typedef unsigned long long UINT64; 00089 #endif 00090 00091 #endif /* _WIN32 */ 00092 00093 typedef int INT; 00094 typedef char CHAR; 00095 00096 typedef float FLOAT; 00097 typedef double DOUBLE; 00098 00099 00100 #ifdef __cplusplus 00101 } 00102 #endif /* __cplusplus */ 00103 00104 #endif /* __HTTP_TYPES__ */ 00105
Generated on Wed Jul 13 2022 15:58:45 by 1.7.2